	.file	"extr_utmisc.c_acpi_ut_release_owner_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_ut_release_owner_id
	.type	acpi_ut_release_owner_id, @function
acpi_ut_release_owner_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	mov	edi, DWORD PTR ut_release_owner_id[rip]
	mov	rsi, rbx
	call	ACPI_FUNCTION_TRACE_U32@PLT
	mov	QWORD PTR 0[rbp], 0
	test	rbx, rbx
	je	.L7
.L2:
	mov	edi, DWORD PTR ACPI_MTX_CACHES[rip]
	sub	rbx, 1
	call	acpi_ut_acquire_mutex@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	mov	rdi, rbx
	call	ACPI_DIV_32@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	ACPI_MOD_32@PLT
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	movsx	rax, edx
	mov	rdx, QWORD PTR acpi_gbl_owner_id_mask[rip]
	lea	rcx, [rdx+rbp*8]
	mov	rdx, QWORD PTR [rcx]
	test	rdx, rax
	je	.L3
	xor	rax, rdx
	mov	QWORD PTR [rcx], rax
.L4:
	mov	edi, DWORD PTR ACPI_MTX_CACHES[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	acpi_ut_release_mutex@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	edi, edi
	call	ACPI_ERROR@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	lea	edi, 1[rbx]
	call	ACPI_ERROR@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	acpi_ut_release_owner_id, .-acpi_ut_release_owner_id
	.comm	ut_release_owner_id,4,4
	.comm	return_VOID,4,4
	.comm	acpi_gbl_owner_id_mask,8,8
	.comm	AE_INFO,4,4
	.comm	ACPI_MTX_CACHES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_utmisc.c_acpi_ut_release_owner_id.c"
	.text
	.align	2
	.global	acpi_ut_release_owner_id
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ut_release_owner_id, %function
acpi_ut_release_owner_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L8
	ldr	r5, [r0]
	mov	r4, r0
	mov	r1, r5
	ldr	r0, [r3]
	bl	ACPI_FUNCTION_TRACE_U32
	mov	r3, #0
	cmp	r5, r3
	str	r3, [r4]
	beq	.L7
.L2:
	ldr	r6, .L8+4
	sub	r4, r5, #1
	ldr	r0, [r6]
	bl	acpi_ut_acquire_mutex
	bl	ACPI_FAILURE
	mov	r0, r4
	bl	ACPI_DIV_32
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	ACPI_MOD_32
	mov	r3, #1
	ldr	r2, .L8+8
	lsl	r0, r3, r0
	ldr	r2, [r2]
	ldr	r3, [r2, r4, lsl #2]
	tst	r3, r0
	beq	.L3
	eor	r0, r0, r3
	str	r0, [r2, r4, lsl #2]
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	acpi_ut_release_mutex
.L7:
	mov	r0, r5
	bl	ACPI_ERROR
	b	.L2
.L3:
	mov	r0, r5
	bl	ACPI_ERROR
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	acpi_ut_release_mutex
.L9:
	.align	2
.L8:
	.word	ut_release_owner_id
	.word	ACPI_MTX_CACHES
	.word	acpi_gbl_owner_id_mask
	.size	acpi_ut_release_owner_id, .-acpi_ut_release_owner_id
	.comm	ut_release_owner_id,4,4
	.comm	return_VOID,4,4
	.comm	acpi_gbl_owner_id_mask,4,4
	.comm	AE_INFO,4,4
	.comm	ACPI_MTX_CACHES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
