	.file	"extr_vpd.c_vpd_identify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vpd"
.LC1:
	.string	"Vital Product Data Area"
	.text
	.p2align 4
	.type	vpd_identify, @function
vpd_identify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	edi, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	device_is_alive@PLT
	test	eax, eax
	jne	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	r8d, DWORD PTR VPD_OFF[rip]
	mov	ecx, DWORD PTR VPD_STEP[rip]
	mov	edx, DWORD PTR VPD_LEN[rip]
	mov	esi, DWORD PTR VPD_SIG[rip]
	mov	edi, DWORD PTR VPD_START[rip]
	call	bios_sigsearch@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rdi, rax
	call	ADDR2VPD@PLT
	mov	ecx, -1
	mov	edi, ebp
	lea	rdx, .LC0[rip]
	mov	esi, 5
	mov	ebx, DWORD PTR [rax]
	call	BUS_ADD_CHILD@PLT
	mov	rsi, r13
	mov	edi, eax
	mov	ebp, eax
	call	device_set_driver@PLT
	mov	esi, DWORD PTR SYS_RES_MEMORY[rip]
	mov	edi, ebp
	mov	r8d, ebx
	mov	rcx, r12
	xor	edx, edx
	call	bus_set_resource@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edi, ebp
	lea	rsi, .LC1[rip]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	device_set_desc@PLT
	.cfi_endproc
.LFE0:
	.size	vpd_identify, .-vpd_identify
	.comm	VPD_STEP,4,4
	.comm	VPD_START,4,4
	.comm	VPD_SIG,4,4
	.comm	VPD_OFF,4,4
	.comm	VPD_LEN,4,4
	.comm	SYS_RES_MEMORY,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_vpd.c_vpd_identify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vpd\000"
	.align	2
.LC1:
	.ascii	"Vital Product Data Area\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vpd_identify, %function
vpd_identify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r4, r1
	bl	device_is_alive
	cmp	r0, #0
	bne	.L10
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r2, .L11
	ldr	r3, .L11+4
	ldr	ip, [r2]
	ldr	r1, .L11+8
	ldr	r2, .L11+12
	ldr	r0, .L11+16
	str	ip, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [r0]
	bl	bios_sigsearch
	subs	r5, r0, #0
	beq	.L1
	bl	ADDR2VPD
	mov	ip, r0
	mvn	r3, #0
	ldr	r2, .L11+20
	mov	r0, r4
	mov	r1, #5
	ldr	r7, [ip]
	bl	BUS_ADD_CHILD
	mov	r4, r0
	mov	r1, r6
	bl	device_set_driver
	ldr	r2, .L11+24
	str	r7, [sp]
	ldr	r1, [r2]
	mov	r3, r5
	mov	r0, r4
	mov	r2, #0
	bl	bus_set_resource
	mov	r0, r4
	ldr	r1, .L11+28
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	device_set_desc
.L12:
	.align	2
.L11:
	.word	VPD_OFF
	.word	VPD_STEP
	.word	VPD_SIG
	.word	VPD_LEN
	.word	VPD_START
	.word	.LC0
	.word	SYS_RES_MEMORY
	.word	.LC1
	.size	vpd_identify, .-vpd_identify
	.comm	VPD_STEP,4,4
	.comm	VPD_START,4,4
	.comm	VPD_SIG,4,4
	.comm	VPD_OFF,4,4
	.comm	VPD_LEN,4,4
	.comm	SYS_RES_MEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
