	.file	"extr_rtmutex.c_rt_mutex_adjust_pi.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rt_mutex_adjust_pi
	.type	rt_mutex_adjust_pi, @function
rt_mutex_adjust_pi:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 8[rdi]
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, r12
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR 16[rbp]
	xor	esi, esi
	mov	rdi, r12
	test	rax, rax
	je	.L2
	mov	rdx, QWORD PTR 0[rbp]
	cmp	QWORD PTR [rax], rdx
	je	.L2
	call	spin_unlock_irqrestore@PLT
	mov	rdi, rbp
	call	get_task_struct@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	r8, rbp
	mov	rdi, rbp
	xor	ecx, ecx
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	edx, edx
	xor	esi, esi
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rt_mutex_adjust_prio_chain@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	rt_mutex_adjust_pi, .-rt_mutex_adjust_pi
	.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_rtmutex.c_rt_mutex_adjust_pi.c"
	.text
	.align	2
	.global	rt_mutex_adjust_pi
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt_mutex_adjust_pi, %function
rt_mutex_adjust_pi:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	add	r5, r0, #4
	mov	r1, #0
	mov	r0, r5
	sub	sp, sp, #12
	bl	spin_lock_irqsave
	ldr	r3, [r4, #8]
	mov	r0, r5
	cmp	r3, #0
	mov	r1, #0
	beq	.L2
	ldr	r2, [r3]
	ldr	r3, [r4]
	cmp	r2, r3
	beq	.L2
	bl	spin_unlock_irqrestore
	mov	r0, r4
	bl	get_task_struct
	mov	r3, #0
	mov	r0, r4
	mov	r2, r3
	mov	r1, r3
	str	r4, [sp]
	bl	rt_mutex_adjust_prio_chain
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	spin_unlock_irqrestore
	.size	rt_mutex_adjust_pi, .-rt_mutex_adjust_pi
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
