	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ex_add_table
_acpi_ex_add_table:                     ## @acpi_ex_add_table
	.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	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	_ex_add_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	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_2
## %bb.1:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	_AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_ACPI_REFCLASS_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, (%r14)
	movl	%r12d, (%rbx)
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_acpi_ns_load_table
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_acpi_ut_remove_reference
	movq	$0, (%r14)
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	xorl	%eax, %eax
	callq	_acpi_ex_exit_interpreter
	xorl	%eax, %eax
	callq	_acpi_ns_exec_module_code_list
	xorl	%eax, %eax
	callq	_acpi_ex_enter_interpreter
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ex_add_table,4,2               ## @ex_add_table
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,4,2  ## @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_AOPOBJ_DATA_VALID,4,2          ## @AOPOBJ_DATA_VALID
	.comm	_ACPI_REFCLASS_TABLE,4,2        ## @ACPI_REFCLASS_TABLE
	.no_dead_strip	_acpi_ex_add_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ex_add_table
_acpi_ex_add_table:                     ; @acpi_ex_add_table
	.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, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ex_add_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_add_table@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
Lloh3:
	adrp	x8, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_acpi_ut_create_internal_object
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
Lloh9:
	adrp	x8, _AOPOBJ_DATA_VALID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AOPOBJ_DATA_VALID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh12:
	adrp	x8, _ACPI_REFCLASS_TABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACPI_REFCLASS_TABLE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	str	x20, [x19]
	str	w22, [x20]
	mov	x0, x22
	mov	x1, x21
	bl	_acpi_ns_load_table
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_acpi_ut_remove_reference
	str	xzr, [x19]
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_4:
	bl	_acpi_ex_exit_interpreter
	bl	_acpi_ns_exec_module_code_list
	bl	_acpi_ex_enter_interpreter
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_add_table,4,2               ; @ex_add_table
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,4,2  ; @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_AOPOBJ_DATA_VALID,4,2          ; @AOPOBJ_DATA_VALID
	.comm	_ACPI_REFCLASS_TABLE,4,2        ; @ACPI_REFCLASS_TABLE
	.no_dead_strip	_acpi_ex_add_table
.subsections_via_symbols
