	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_dev_driver                 ## -- Begin function pci_dev_driver
	.p2align	4, 0x90
_pci_dev_driver:                        ## @pci_dev_driver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	movq	_PCI_ROM_RESOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	js	LBB0_5
## %bb.2:
	movq	(%rdi), %rdx
	movq	_IORESOURCE_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incq	%rcx
	movq	_pci_compat_driver@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%esi, (%rdx,%rdi,4)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_3
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_ROM_RESOURCE,4,2           ## @PCI_ROM_RESOURCE
	.comm	_IORESOURCE_BUSY,4,2            ## @IORESOURCE_BUSY
	.comm	_pci_compat_driver,4,2          ## @pci_compat_driver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_dev_driver                 ; -- Begin function pci_dev_driver
	.p2align	2
_pci_dev_driver:                        ; @pci_dev_driver
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
LBB0_1:
	ret
LBB0_2:
Lloh0:
	adrp	x9, _PCI_ROM_RESOURCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_ROM_RESOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	tbnz	w10, #31, LBB0_6
; %bb.3:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IORESOURCE_BUSY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IORESOURCE_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	x10, x10, #1
Lloh6:
	adrp	x0, _pci_compat_driver@GOTPAGE
Lloh7:
	ldr	x0, [x0, _pci_compat_driver@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	tst	w9, w11
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #4
	subs	x10, x10, #1
	b.ne	LBB0_4
LBB0_6:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_ROM_RESOURCE,4,2           ; @PCI_ROM_RESOURCE
	.comm	_IORESOURCE_BUSY,4,2            ; @IORESOURCE_BUSY
	.comm	_pci_compat_driver,4,2          ; @pci_compat_driver
.subsections_via_symbols
