	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_install_address_space_handler ## -- Begin function acpi_install_address_space_handler
	.p2align	4, 0x90
_acpi_install_address_space_handler:    ## @acpi_install_address_space_handler
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %r15d
	movl	%edi, %r14d
	leaq	_acpi_install_address_space_handler(%rip), %rdi
	callq	_ACPI_FUNCTION_TRACE
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ut_acquire_mutex
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movl	%r14d, %edi
	callq	_acpi_ns_map_handle_to_node
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_acpi_ev_install_space_handler
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %r12
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_acpi_ev_execute_reg_methods
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %r12
LBB0_8:
	movl	(%r12), %edi
	callq	_acpi_ut_release_mutex
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_MTX_NAMESPACE,4,2         ## @ACPI_MTX_NAMESPACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_install_address_space_handler ; -- Begin function acpi_install_address_space_handler
	.p2align	2
_acpi_install_address_space_handler:    ; @acpi_install_address_space_handler
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x0, _acpi_install_address_space_handler@PAGE
Lloh1:
	add	x0, x0, _acpi_install_address_space_handler@PAGEOFF
	bl	_ACPI_FUNCTION_TRACE
	cbnz	w23, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
Lloh5:
	adrp	x25, _ACPI_MTX_NAMESPACE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ACPI_MTX_NAMESPACE@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_acpi_ut_acquire_mutex
	mov	x24, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x24
	bl	_return_ACPI_STATUS
LBB0_4:
	mov	x0, x23
	bl	_acpi_ns_map_handle_to_node
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_acpi_ev_install_space_handler
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_8
; %bb.6:
	mov	x0, x23
	mov	x1, x19
	bl	_acpi_ev_execute_reg_methods
	mov	x20, x0
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
LBB0_8:
	ldr	w0, [x25]
	bl	_acpi_ut_release_mutex
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_MTX_NAMESPACE,4,2         ; @ACPI_MTX_NAMESPACE
.subsections_via_symbols
