	.file	"extr_meson_sm.c_serial_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x\n"
	.text
	.p2align 4
	.type	serial_show, @function
serial_show:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, DWORD PTR SM_CHIP_ID_LENGTH[rip]
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	kmalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	push	0
	.cfi_def_cfa_offset 40
	mov	edx, DWORD PTR SM_GET_CHIP_ID[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	push	0
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR SM_CHIP_ID_LENGTH[rip]
	xor	ecx, ecx
	mov	rdi, rax
	mov	rbp, rax
	call	meson_sm_call_read@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	test	r12d, r12d
	js	.L6
	movsx	rdx, DWORD PTR SM_CHIP_ID_OFFSET[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	add	rdx, 11
	lea	rax, 0[0+rdx*4]
	mov	edx, DWORD PTR 0[rbp+rdx*4]
	mov	r10d, DWORD PTR -44[rbp+rax]
	mov	r9d, DWORD PTR -32[rbp+rax]
	mov	r8d, DWORD PTR -36[rbp+rax]
	mov	ecx, DWORD PTR -40[rbp+rax]
	push	rdx
	.cfi_def_cfa_offset 40
	mov	edx, DWORD PTR -4[rbp+rax]
	push	rdx
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR -8[rbp+rax]
	push	rdx
	.cfi_def_cfa_offset 56
	mov	edx, DWORD PTR -12[rbp+rax]
	push	rdx
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR -16[rbp+rax]
	push	rdx
	.cfi_def_cfa_offset 72
	mov	edx, DWORD PTR -20[rbp+rax]
	push	rdx
	.cfi_def_cfa_offset 80
	mov	edx, DWORD PTR -24[rbp+rax]
	push	rdx
	.cfi_def_cfa_offset 88
	mov	eax, DWORD PTR -28[rbp+rax]
	mov	edx, r10d
	push	rax
	.cfi_def_cfa_offset 96
	call	sprintf@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 32
	mov	r12d, eax
.L6:
	mov	rdi, rbp
	call	kfree@PLT
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	serial_show, .-serial_show
	.comm	SM_GET_CHIP_ID,4,4
	.comm	SM_CHIP_ID_OFFSET,4,4
	.comm	SM_CHIP_ID_LENGTH,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_meson_sm.c_serial_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	serial_show, %function
serial_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L9
	ldr	r4, .L9+4
	ldr	r1, [r3]
	ldr	r0, [r4]
	sub	sp, sp, #40
	mov	r6, r2
	bl	kmalloc
	subs	r5, r0, #0
	beq	.L8
	mov	r3, #0
	ldr	r2, .L9+8
	ldr	r1, [r4]
	str	r3, [sp, #12]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	str	r3, [sp]
	ldr	r2, [r2]
	bl	meson_sm_call_read
	subs	r4, r0, #0
	blt	.L6
	ldr	r3, .L9+12
	mov	r0, r6
	ldr	r3, [r3]
	ldr	r1, .L9+16
	add	ip, r5, r3, lsl #2
	ldr	lr, [ip, #44]
	ldr	r2, [r5, r3, lsl #2]
	ldr	r3, [ip, #4]
	str	lr, [sp, #36]
	ldr	lr, [ip, #40]
	str	lr, [sp, #32]
	ldr	lr, [ip, #36]
	str	lr, [sp, #28]
	ldr	lr, [ip, #32]
	str	lr, [sp, #24]
	ldr	lr, [ip, #28]
	str	lr, [sp, #20]
	ldr	lr, [ip, #24]
	str	lr, [sp, #16]
	ldr	lr, [ip, #20]
	str	lr, [sp, #12]
	ldr	lr, [ip, #16]
	str	lr, [sp, #8]
	ldr	lr, [ip, #12]
	str	lr, [sp, #4]
	ldr	ip, [ip, #8]
	str	ip, [sp]
	bl	sprintf
	mov	r4, r0
.L6:
	mov	r0, r5
	bl	kfree
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L9+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	SM_CHIP_ID_LENGTH
	.word	SM_GET_CHIP_ID
	.word	SM_CHIP_ID_OFFSET
	.word	.LC0
	.word	ENOMEM
	.size	serial_show, .-serial_show
	.comm	SM_GET_CHIP_ID,4,4
	.comm	SM_CHIP_ID_OFFSET,4,4
	.comm	SM_CHIP_ID_LENGTH,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
