	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_get_object_reference   ## -- Begin function acpi_ex_get_object_reference
	.p2align	4, 0x90
_acpi_ex_get_object_reference:          ## @acpi_ex_get_object_reference
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_ex_get_object_reference@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	$0, (%r14)
	movq	%r15, %rdi
	callq	_ACPI_GET_DESCRIPTOR_TYPE
	movq	%r15, %r12
	cmpl	$132, %eax
	je	LBB0_9
## %bb.1:
	cmpl	$131, %eax
	jne	LBB0_7
## %bb.2:
	movl	(%r15), %eax
	movq	_ACPI_TYPE_LOCAL_REFERENCE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	movq	_AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movl	8(%r15), %edi
	leal	-128(%rdi), %eax
	cmpl	$2, %eax
	ja	LBB0_6
## %bb.5:
	movq	(%r15), %r12
	jmp	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	callq	_ACPI_GET_DESCRIPTOR_TYPE
	movl	%eax, %edi
	callq	_ACPI_ERROR
	movq	_AE_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
                                        ## implicit-def: $r12
LBB0_9:
	movq	_ACPI_TYPE_LOCAL_REFERENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ut_create_internal_object
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_11:
	movq	_ACPI_REFCLASS_REFOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r12, (%rbx)
	movq	%rbx, (%r14)
	movq	%r15, %rdi
	callq	_acpi_ut_get_object_type_name
	movl	(%r14), %edi
	callq	_ACPI_DEBUG_PRINT
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ex_get_object_reference,4,2    ## @ex_get_object_reference
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,4,2  ## @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_AE_AML_OPERAND_TYPE,4,2        ## @AE_AML_OPERAND_TYPE
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_INTERNAL,4,2            ## @AE_AML_INTERNAL
	.comm	_AE_TYPE,4,2                    ## @AE_TYPE
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_REFCLASS_REFOF,4,2        ## @ACPI_REFCLASS_REFOF
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_get_object_reference   ; -- Begin function acpi_ex_get_object_reference
	.p2align	2
_acpi_ex_get_object_reference:          ; @acpi_ex_get_object_reference
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ex_get_object_reference@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_get_object_reference@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_ACPI_FUNCTION_TRACE_PTR
	str	xzr, [x19]
	mov	x0, x20
	bl	_ACPI_GET_DESCRIPTOR_TYPE
Lloh3:
	adrp	x21, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGEOFF]
	mov	x22, x20
	cmp	w0, #132
	b.eq	LBB0_9
; %bb.1:
	cmp	w0, #131
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x20]
	ldr	w9, [x21]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	w0, [x20, #8]
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_7
; %bb.5:
	ldr	x22, [x20]
	b	LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_ACPI_GET_DESCRIPTOR_TYPE
	bl	_ACPI_ERROR
Lloh8:
	adrp	x8, _AE_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_TYPE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	bl	_ACPI_ERROR
Lloh10:
	adrp	x8, _AE_AML_INTERNAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
                                        ; implicit-def: $x22
LBB0_9:
	ldr	w0, [x21]
	bl	_acpi_ut_create_internal_object
	mov	x21, x0
	cbnz	x0, LBB0_11
; %bb.10:
Lloh12:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_11:
Lloh15:
	adrp	x8, _ACPI_REFCLASS_REFOF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ACPI_REFCLASS_REFOF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	str	x22, [x21]
	str	x21, [x19]
	mov	x0, x20
	bl	_acpi_ut_get_object_type_name
	ldr	w0, [x19]
	bl	_ACPI_DEBUG_PRINT
Lloh18:
	adrp	x8, _AE_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_get_object_reference,4,2    ; @ex_get_object_reference
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,4,2  ; @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_AE_AML_OPERAND_TYPE,4,2        ; @AE_AML_OPERAND_TYPE
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_INTERNAL,4,2            ; @AE_AML_INTERNAL
	.comm	_AE_TYPE,4,2                    ; @AE_TYPE
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_REFCLASS_REFOF,4,2        ; @ACPI_REFCLASS_REFOF
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
