	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_acpi_find_child
_do_acpi_find_child:                    ## @do_acpi_find_child
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	_METHOD_NAME__ADR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rcx
	xorl	%edx, %edx
	callq	_acpi_evaluate_integer
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	movq	_AE_OK@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	-32(%rbp), %rax
	cmpq	(%r15), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, (%r14)
	movq	_AE_CTRL_TERMINATE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_METHOD_NAME__ADR,4,2           ## @METHOD_NAME__ADR
	.comm	_AE_CTRL_TERMINATE,4,2          ## @AE_CTRL_TERMINATE
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_do_acpi_find_child
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_acpi_find_child
_do_acpi_find_child:                    ; @do_acpi_find_child
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _METHOD_NAME__ADR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _METHOD_NAME__ADR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x2, #0
	bl	_acpi_evaluate_integer
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	str	x20, [x19]
Lloh3:
	adrp	x8, _AE_CTRL_TERMINATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_CTRL_TERMINATE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _AE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_METHOD_NAME__ADR,4,2           ; @METHOD_NAME__ADR
	.comm	_AE_CTRL_TERMINATE,4,2          ; @AE_CTRL_TERMINATE
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_do_acpi_find_child
.subsections_via_symbols
