	.file	"extr_mtk-cmdq-mailbox.c_cmdq_xlate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cmdq_xlate, @function
cmdq_xlate:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rsi]
	movsx	rax, DWORD PTR [rdx]
	cmp	DWORD PTR [rdi], eax
	jle	.L4
	mov	rcx, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR 4[rdx]
	lea	rax, [rcx+rax*8]
	mov	rcx, QWORD PTR [rax]
	mov	DWORD PTR [rcx], esi
	mov	edx, DWORD PTR 8[rdx]
	mov	QWORD PTR 8[rcx], rax
	test	edx, edx
	setne	dl
	movzx	edx, dl
	mov	DWORD PTR 4[rcx], edx
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR EINVAL[rip]
	neg	edi
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	cmdq_xlate, .-cmdq_xlate
	.comm	EINVAL,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_mtk-cmdq-mailbox.c_cmdq_xlate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmdq_xlate, %function
cmdq_xlate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r1]
	ldr	r1, [r0]
	ldr	r2, [r3]
	cmp	r1, r2
	ble	.L4
	ldr	r0, [r0, #4]
	ldr	ip, [r3, #4]
	ldr	r1, [r0, r2, lsl #2]
	add	r0, r0, r2, lsl #2
	str	ip, [r1]
	ldr	r3, [r3, #8]
	str	r0, [r1, #8]
	subs	r3, r3, #0
	movne	r3, #1
	str	r3, [r1, #4]
	bx	lr
.L4:
	ldr	r3, .L5
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L6:
	.align	2
.L5:
	.word	EINVAL
	.size	cmdq_xlate, .-cmdq_xlate
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
