	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pci_epf_register_driver      ## -- Begin function __pci_epf_register_driver
	.p2align	4, 0x90
___pci_epf_register_driver:             ## @__pci_epf_register_driver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpl	$0, 8(%rax)
	je	LBB0_1
## %bb.3:
	cmpl	$0, 4(%rax)
	je	LBB0_1
## %bb.4:
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.5:
	movq	%rdi, %rbx
	movq	_pci_epf_bus_type@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rdi)
	movq	%rsi, (%rdi)
	callq	_driver_register
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_pci_epf_add_cfs
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_pci_epf_bus_type,4,2           ## @pci_epf_bus_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pci_epf_register_driver      ; -- Begin function __pci_epf_register_driver
	.p2align	2
___pci_epf_register_driver:             ; @__pci_epf_register_driver
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_6
; %bb.2:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_6
; %bb.3:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x19, x0
Lloh0:
	adrp	x8, _pci_epf_bus_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pci_epf_bus_type@GOTPAGEOFF]
	stp	x1, x8, [x0]
	bl	_driver_register
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_pci_epf_add_cfs
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_pci_epf_bus_type,4,2           ; @pci_epf_bus_type
.subsections_via_symbols
