	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_pci_bind
_acpi_pci_bind:                         ## @acpi_pci_bind
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_acpi_get_pci_dev
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	callq	_pci_domain_nr
	movl	16(%rbx), %edi
	callq	_PCI_SLOT
	movl	16(%rbx), %edi
	callq	_PCI_FUNC
	movl	%eax, %edi
	callq	_ACPI_DEBUG_PRINT
	leaq	_acpi_pci_bind(%rip), %rax
	movq	%rax, 8(%r14)
	movq	_acpi_pci_unbind@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_3:
	movl	(%r14), %edi
	movq	_METHOD_NAME__PRT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rsi
LBB0_6:
	movl	(%r14), %edi
	callq	_acpi_pci_irq_add_prt
LBB0_7:
	movq	%rbx, %rdi
	callq	_pci_dev_put
LBB0_8:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.comm	_acpi_pci_unbind,4,2            ## @acpi_pci_unbind
	.comm	_METHOD_NAME__PRT,4,2           ## @METHOD_NAME__PRT
	.no_dead_strip	_acpi_pci_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_pci_bind
_acpi_pci_bind:                         ; @acpi_pci_bind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	w0, [x0]
	bl	_acpi_get_pci_dev
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	bl	_pci_domain_nr
	ldr	w0, [x19, #16]
	bl	_PCI_SLOT
	ldr	w0, [x19, #16]
	bl	_PCI_FUNC
	bl	_ACPI_DEBUG_PRINT
Lloh0:
	adrp	x8, _acpi_pci_bind@PAGE
Lloh1:
	add	x8, x8, _acpi_pci_bind@PAGEOFF
	str	x8, [x20, #8]
Lloh2:
	adrp	x8, _acpi_pci_unbind@GOTPAGE
Lloh3:
	ldr	x8, [x8, _acpi_pci_unbind@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #16]
LBB0_3:
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _METHOD_NAME__PRT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _METHOD_NAME__PRT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_7
; %bb.4:
	ldr	x1, [x19, #8]
	cbnz	x1, LBB0_6
; %bb.5:
	ldr	x1, [x19]
LBB0_6:
	ldr	w0, [x20]
	bl	_acpi_pci_irq_add_prt
LBB0_7:
	mov	x0, x19
	bl	_pci_dev_put
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.comm	_acpi_pci_unbind,4,2            ; @acpi_pci_unbind
	.comm	_METHOD_NAME__PRT,4,2           ; @METHOD_NAME__PRT
	.no_dead_strip	_acpi_pci_bind
.subsections_via_symbols
