	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_pci_detect_ejectable      ## -- Begin function acpi_pci_detect_ejectable
	.p2align	4, 0x90
_acpi_pci_detect_ejectable:             ## @acpi_pci_detect_ejectable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%edi, %esi
	movq	_ACPI_TYPE_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_check_hotplug@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	$0, (%rsp)
	leaq	-4(%rbp), %r9
	movl	$1, %edx
	xorl	%r8d, %r8d
	callq	_acpi_walk_namespace
	movl	-4(%rbp), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_DEVICE,4,2           ## @ACPI_TYPE_DEVICE
	.comm	_check_hotplug,4,2              ## @check_hotplug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_pci_detect_ejectable      ; -- Begin function acpi_pci_detect_ejectable
	.p2align	2
_acpi_pci_detect_ejectable:             ; @acpi_pci_detect_ejectable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	wzr, [x29, #-4]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh0:
	adrp	x8, _ACPI_TYPE_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_TYPE_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _check_hotplug@GOTPAGE
Lloh4:
	ldr	x8, [x8, _check_hotplug@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	sub	x5, x29, #4
	mov	w2, #1
	mov	x4, #0
	mov	x6, #0
	bl	_acpi_walk_namespace
	ldur	w0, [x29, #-4]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_DEVICE,4,2           ; @ACPI_TYPE_DEVICE
	.comm	_check_hotplug,4,2              ; @check_hotplug
.subsections_via_symbols
