	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_mutex_terminate        ## -- Begin function acpi_ut_mutex_terminate
	.p2align	4, 0x90
_acpi_ut_mutex_terminate:               ## @acpi_ut_mutex_terminate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ut_mutex_terminate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	_ACPI_NUM_MUTEX@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_acpi_ut_delete_mutex
	incq	%rbx
	cmpq	(%r14), %rbx
	jl	LBB0_2
LBB0_3:
	movq	_acpi_gbl_gpe_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_os_delete_lock
	movq	_acpi_gbl_hardware_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_os_delete_lock
	movq	_acpi_gbl_namespace_rw_lock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_acpi_ut_delete_rw_lock         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ut_mutex_terminate,4,2         ## @ut_mutex_terminate
	.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_gbl_namespace_rw_lock,4,2 ## @acpi_gbl_namespace_rw_lock
	.comm	_return_VOID,4,2                ## @return_VOID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_mutex_terminate        ; -- Begin function acpi_ut_mutex_terminate
	.p2align	2
_acpi_ut_mutex_terminate:               ; @acpi_ut_mutex_terminate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _ut_mutex_terminate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ut_mutex_terminate@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
Lloh3:
	adrp	x20, _ACPI_NUM_MUTEX@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ACPI_NUM_MUTEX@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_acpi_ut_delete_mutex
	add	x19, x19, #1
	ldr	x8, [x20]
	cmp	x19, x8
	b.lt	LBB0_2
LBB0_3:
Lloh5:
	adrp	x8, _acpi_gbl_gpe_lock@GOTPAGE
Lloh6:
	ldr	x8, [x8, _acpi_gbl_gpe_lock@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_acpi_os_delete_lock
Lloh8:
	adrp	x8, _acpi_gbl_hardware_lock@GOTPAGE
Lloh9:
	ldr	x8, [x8, _acpi_gbl_hardware_lock@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_acpi_os_delete_lock
Lloh11:
	adrp	x0, _acpi_gbl_namespace_rw_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _acpi_gbl_namespace_rw_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_acpi_ut_delete_rw_lock
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ut_mutex_terminate,4,2         ; @ut_mutex_terminate
	.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_gbl_namespace_rw_lock,4,2 ; @acpi_gbl_namespace_rw_lock
	.comm	_return_VOID,4,2                ; @return_VOID
.subsections_via_symbols
