	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_mutex_initialize       ## -- Begin function acpi_ut_mutex_initialize
	.p2align	4, 0x90
_acpi_ut_mutex_initialize:              ## @acpi_ut_mutex_initialize
	.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	_ut_mutex_initialize@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	_ACPI_NUM_MUTEX@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_acpi_ut_create_mutex
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	callq	_return_ACPI_STATUS
	jmp	LBB0_4
LBB0_5:
	movq	_acpi_gbl_gpe_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_spin_lock_init
	movq	_acpi_gbl_hardware_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_spin_lock_init
	movq	_acpi_ev_global_lock_pending_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_spin_lock_init
	movq	_acpi_gbl_namespace_rw_lock@GOTPCREL(%rip), %rdi
	callq	_acpi_ut_create_rw_lock
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ut_mutex_initialize,4,2        ## @ut_mutex_initialize
	.comm	_ACPI_NUM_MUTEX,8,3             ## @ACPI_NUM_MUTEX
	.comm	_acpi_gbl_gpe_lock,4,2          ## @acpi_gbl_gpe_lock
	.comm	_acpi_gbl_hardware_lock,4,2     ## @acpi_gbl_hardware_lock
	.comm	_acpi_ev_global_lock_pending_lock,4,2 ## @acpi_ev_global_lock_pending_lock
	.comm	_acpi_gbl_namespace_rw_lock,4,2 ## @acpi_gbl_namespace_rw_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_mutex_initialize       ; -- Begin function acpi_ut_mutex_initialize
	.p2align	2
_acpi_ut_mutex_initialize:              ; @acpi_ut_mutex_initialize
	.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
Lloh0:
	adrp	x8, _ut_mutex_initialize@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ut_mutex_initialize@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
Lloh3:
	adrp	x21, _ACPI_NUM_MUTEX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ACPI_NUM_MUTEX@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	ldr	x8, [x21]
	cmp	x19, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_acpi_ut_create_mutex
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_return_ACPI_STATUS
	b	LBB0_2
LBB0_5:
Lloh5:
	adrp	x8, _acpi_gbl_gpe_lock@GOTPAGE
Lloh6:
	ldr	x8, [x8, _acpi_gbl_gpe_lock@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_spin_lock_init
Lloh8:
	adrp	x8, _acpi_gbl_hardware_lock@GOTPAGE
Lloh9:
	ldr	x8, [x8, _acpi_gbl_hardware_lock@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_spin_lock_init
Lloh11:
	adrp	x8, _acpi_ev_global_lock_pending_lock@GOTPAGE
Lloh12:
	ldr	x8, [x8, _acpi_ev_global_lock_pending_lock@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_spin_lock_init
Lloh14:
	adrp	x0, _acpi_gbl_namespace_rw_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _acpi_gbl_namespace_rw_lock@GOTPAGEOFF]
	bl	_acpi_ut_create_rw_lock
	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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ut_mutex_initialize,4,2        ; @ut_mutex_initialize
	.comm	_ACPI_NUM_MUTEX,8,3             ; @ACPI_NUM_MUTEX
	.comm	_acpi_gbl_gpe_lock,4,2          ; @acpi_gbl_gpe_lock
	.comm	_acpi_gbl_hardware_lock,4,2     ; @acpi_gbl_hardware_lock
	.comm	_acpi_ev_global_lock_pending_lock,4,2 ; @acpi_ev_global_lock_pending_lock
	.comm	_acpi_gbl_namespace_rw_lock,4,2 ; @acpi_gbl_namespace_rw_lock
.subsections_via_symbols
