	.file	"extr_pci.c_pci_hint_device_unit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pci%u:%u:%u"
.LC1:
	.string	"pci%u:%u:%u:%u"
.LC2:
	.string	"at"
	.text
	.p2align 4
	.type	pci_hint_device_unit, @function
pci_hint_device_unit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edi, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 8[rsp], rcx
	lea	r12, 64[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	call	pci_get_domain@PLT
	mov	edi, ebp
	mov	r15d, eax
	call	pci_get_bus@PLT
	mov	edi, ebp
	mov	r13d, eax
	call	pci_get_slot@PLT
	mov	edi, ebp
	lea	rbp, 32[rsp]
	mov	r14d, eax
	call	pci_get_function@PLT
	mov	r8d, r14d
	mov	ecx, r13d
	mov	esi, 24
	mov	DWORD PTR 4[rsp], eax
	mov	r9d, eax
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	snprintf@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	r8d, r13d
	mov	ecx, r15d
	mov	r9d, DWORD PTR 12[rsp]
	mov	esi, 32
	mov	rdi, r12
	xor	eax, eax
	lea	rdx, .LC1[rip]
	push	r9
	.cfi_def_cfa_offset 192
	mov	r9d, r14d
	call	snprintf@PLT
	mov	DWORD PTR 32[rsp], 0
	pop	rax
	.cfi_def_cfa_offset 184
	pop	rdx
	.cfi_def_cfa_offset 176
	lea	r14, 20[rsp]
	lea	r13, 16[rsp]
	lea	r15, 24[rsp]
.L2:
	xor	r8d, r8d
	lea	rcx, .LC2[rip]
	mov	rdx, r14
	mov	rsi, rbx
	mov	rdi, r13
	call	resource_find_dev@PLT
	test	rax, rax
	jne	.L1
	mov	esi, DWORD PTR 20[rsp]
	mov	rdi, rbx
	mov	rcx, r15
	lea	rdx, .LC2[rip]
	call	resource_string_value@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbp
	call	strcmp@PLT
	test	rax, rax
	je	.L5
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L2
.L5:
	mov	eax, DWORD PTR 20[rsp]
	mov	rbx, QWORD PTR 8[rsp]
	mov	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pci_hint_device_unit, .-pci_hint_device_unit
	.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_pci.c_pci_hint_device_unit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pci%u:%u:%u\000"
	.align	2
.LC1:
	.ascii	"pci%u:%u:%u:%u\000"
	.align	2
.LC2:
	.ascii	"at\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pci_hint_device_unit, %function
pci_hint_device_unit:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, r3
	ldr	r3, .L14
	sub	sp, sp, #92
	mov	r0, r1
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #84]
	mov	r3,#0
	bl	pci_get_domain
	mov	r8, r0
	mov	r0, r4
	bl	pci_get_bus
	mov	r6, r0
	mov	r0, r4
	bl	pci_get_slot
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	pci_get_function
	mov	r9, r0
	mov	r3, r6
	mov	r1, #24
	ldr	r2, .L14+4
	str	r4, [sp]
	str	r0, [sp, #4]
	add	r0, sp, #28
	bl	snprintf
	mov	r3, r8
	stmib	sp, {r4, r9}
	ldr	r2, .L14+8
	mov	r1, #32
	str	r6, [sp]
	add	r0, sp, #52
	bl	snprintf
	mov	r2, #0
	mov	r4, r2
	ldr	r8, .L14+12
	str	r2, [sp, #16]
.L2:
	mov	r3, r8
	mov	r1, r5
	str	r4, [sp]
	add	r2, sp, #20
	add	r0, sp, #16
	bl	resource_find_dev
	cmp	r0, #0
	bne	.L1
	mov	r2, r8
	ldr	r1, [sp, #20]
	add	r3, sp, #24
	mov	r0, r5
	bl	resource_string_value
	ldr	r6, [sp, #24]
	add	r1, sp, #28
	mov	r0, r6
	bl	strcmp
	cmp	r0, #0
	beq	.L3
	mov	r0, r6
	add	r1, sp, #52
	bl	strcmp
	cmp	r0, #0
	bne	.L2
.L3:
	ldr	r3, [sp, #20]
	str	r3, [r7]
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #84]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	pci_hint_device_unit, .-pci_hint_device_unit
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
