	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_child                 ## -- Begin function acpi_get_child
	.p2align	4, 0x90
_acpi_get_child:                        ## @acpi_get_child
	.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	%esi, -4(%rbp)
	movq	$0, -16(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rax
	movq	_ACPI_TYPE_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_do_acpi_find_child@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-4(%rbp), %r8
	leaq	-16(%rbp), %r9
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_acpi_walk_namespace
	movq	-16(%rbp), %rax
	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	_do_acpi_find_child,4,2         ## @do_acpi_find_child
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_child                 ; -- Begin function acpi_get_child
	.p2align	2
_acpi_get_child:                        ; @acpi_get_child
	.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	w1, [x29, #-4]
	str	xzr, [sp]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x9, _ACPI_TYPE_DEVICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_TYPE_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _do_acpi_find_child@GOTPAGE
Lloh4:
	ldr	x9, [x9, _do_acpi_find_child@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	sub	x4, x29, #4
	mov	x5, sp
	mov	x1, x8
	mov	w2, #1
	bl	_acpi_walk_namespace
	ldr	x0, [sp]
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	_do_acpi_find_child,4,2         ; @do_acpi_find_child
.subsections_via_symbols
