	.file	"extr_mlx4_cq.c_mlx4_cq_modify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx4_cq_modify
	.type	mlx4_cq_modify, @function
mlx4_cq_modify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	mlx4_alloc_cmd_mailbox@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L5
	mov	r15, QWORD PTR 0[rbp]
	mov	edi, r14d
	call	cpu_to_be16@PLT
	mov	edi, r13d
	mov	QWORD PTR 8[r15], rax
	call	cpu_to_be16@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR [r15], rax
	mov	ecx, 1
	call	mlx4_MODIFY_CQ@PLT
	mov	rsi, rbp
	mov	rdi, r12
	mov	r13d, eax
	call	mlx4_free_cmd_mailbox@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	mlx4_cq_modify, .-mlx4_cq_modify
	.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_mlx4_cq.c_mlx4_cq_modify.c"
	.text
	.align	2
	.global	mlx4_cq_modify
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_cq_modify, %function
mlx4_cq_modify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r5, r2
	mov	r8, r3
	mov	r6, r0
	bl	mlx4_alloc_cmd_mailbox
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L5
	mov	r0, r5
	ldr	r5, [r4]
	bl	cpu_to_be16
	mov	r3, r0
	mov	r0, r8
	str	r3, [r5, #4]
	bl	cpu_to_be16
	ldr	r2, [r7]
	mov	r3, #1
	mov	r1, r4
	str	r0, [r5]
	mov	r0, r6
	bl	mlx4_MODIFY_CQ
	mov	r1, r4
	mov	r4, r0
	mov	r0, r6
	bl	mlx4_free_cmd_mailbox
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
	.size	mlx4_cq_modify, .-mlx4_cq_modify
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
