	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_get_attached_data      ## -- Begin function acpi_ns_get_attached_data
	.p2align	4, 0x90
_acpi_ns_get_attached_data:             ## @acpi_ns_get_attached_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_AE_NOT_FOUND@GOTPCREL(%rip), %r8
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	_ACPI_TYPE_LOCAL_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	cmpq	%rsi, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rax
	jne	LBB0_5
## %bb.4:
	movq	8(%rcx), %rax
	movq	%rax, (%rdx)
	movq	_AE_OK@GOTPCREL(%rip), %r8
LBB0_6:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_LOCAL_DATA,8,3       ## @ACPI_TYPE_LOCAL_DATA
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_NOT_FOUND,4,2               ## @AE_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_get_attached_data      ; -- Begin function acpi_ns_get_attached_data
	.p2align	2
_acpi_ns_get_attached_data:             ; @acpi_ns_get_attached_data
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _ACPI_TYPE_LOCAL_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_TYPE_LOCAL_DATA@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _AE_NOT_FOUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_NOT_FOUND@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	cmp	x11, x1
	ccmp	x11, x10, #0, eq
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_2
; %bb.4:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh5:
	adrp	x8, _AE_NOT_FOUND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_NOT_FOUND@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
LBB0_6:
	ldr	x8, [x9, #8]
	str	x8, [x2]
Lloh8:
	adrp	x8, _AE_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_LOCAL_DATA,8,3       ; @ACPI_TYPE_LOCAL_DATA
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_NOT_FOUND,4,2               ; @AE_NOT_FOUND
.subsections_via_symbols
