	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_release_owner_id       ## -- Begin function acpi_ut_release_owner_id
	.p2align	4, 0x90
_acpi_ut_release_owner_id:              ## @acpi_ut_release_owner_id
	.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	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_ut_release_owner_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_ACPI_FUNCTION_TRACE_U32
	movq	$0, (%rbx)
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_ACPI_ERROR
LBB0_2:
	movq	_ACPI_MTX_CACHES@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_acpi_ut_acquire_mutex
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	leaq	-1(%r14), %rbx
	movq	%rbx, %rdi
	callq	_ACPI_DIV_32
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_ACPI_MOD_32
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movslq	%edx, %rax
	movq	_acpi_gbl_owner_id_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %rdx
	testq	%rax, %rdx
	je	LBB0_4
## %bb.3:
	xorq	%rax, %rdx
	movq	%rdx, (%rcx,%r15,8)
	jmp	LBB0_5
LBB0_4:
	movl	%r14d, %edi
	callq	_ACPI_ERROR
LBB0_5:
	movl	(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_ut_release_mutex          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ut_release_owner_id,4,2        ## @ut_release_owner_id
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_return_VOID,4,2                ## @return_VOID
	.comm	_ACPI_MTX_CACHES,4,2            ## @ACPI_MTX_CACHES
	.comm	_acpi_gbl_owner_id_mask,8,3     ## @acpi_gbl_owner_id_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_release_owner_id       ; -- Begin function acpi_ut_release_owner_id
	.p2align	2
_acpi_ut_release_owner_id:              ; @acpi_ut_release_owner_id
	.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	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _ut_release_owner_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ut_release_owner_id@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_U32
	str	xzr, [x20]
	cbnz	x19, LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_ACPI_ERROR
LBB0_2:
Lloh3:
	adrp	x22, _ACPI_MTX_CACHES@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ACPI_MTX_CACHES@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_acpi_ut_acquire_mutex
	bl	_ACPI_FAILURE
	sub	x21, x19, #1
	mov	x0, x21
	bl	_ACPI_DIV_32
	mov	x20, x0
	mov	x0, x21
	bl	_ACPI_MOD_32
	mov	w8, #1
	lsl	w8, w8, w0
	sxtw	x8, w8
Lloh5:
	adrp	x9, _acpi_gbl_owner_id_mask@GOTPAGE
Lloh6:
	ldr	x9, [x9, _acpi_gbl_owner_id_mask@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x10, [x9, x20, lsl #3]
	tst	x10, x8
	b.eq	LBB0_4
; %bb.3:
	eor	x8, x10, x8
	str	x8, [x9, x20, lsl #3]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_ACPI_ERROR
LBB0_5:
	ldr	w0, [x22]
	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	_acpi_ut_release_mutex
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ut_release_owner_id,4,2        ; @ut_release_owner_id
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_return_VOID,4,2                ; @return_VOID
	.comm	_ACPI_MTX_CACHES,4,2            ; @ACPI_MTX_CACHES
	.comm	_acpi_gbl_owner_id_mask,8,3     ; @acpi_gbl_owner_id_mask
.subsections_via_symbols
