	.file	"extr_mlx5_fw.c_mlx5_cmd_init_hca.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx5_cmd_init_hca
	.type	mlx5_cmd_init_hca, @function
mlx5_cmd_init_hca:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rdi
	push	r12
	sub	rsp, 32
	.cfi_offset 12, -48
	mov	edi, DWORD PTR init_hca_in[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	call	MLX5_ST_SZ_DW@PLT
	mov	rcx, rsp
	mov	r12d, eax
	cdqe
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L17
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L18
.L4:
	mov	edi, DWORD PTR init_hca_out[rip]
	mov	r15, rsp
	call	MLX5_ST_SZ_DW@PLT
	mov	rsi, rsp
	mov	r14d, eax
	cdqe
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L6
.L19:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L19
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L20
.L7:
	sal	r12d, 2
	mov	r9, rsp
	xor	esi, esi
	mov	rdi, r15
	mov	edx, r12d
	mov	QWORD PTR -56[rbp], r9
	sal	r14d, 2
	call	memset@PLT
	mov	ecx, DWORD PTR MLX5_CMD_OP_INIT_HCA[rip]
	mov	edx, DWORD PTR opcode[rip]
	mov	rsi, r15
	mov	edi, DWORD PTR init_hca_in[rip]
	call	MLX5_SET@PLT
	mov	r9, QWORD PTR -56[rbp]
	xor	esi, esi
	mov	edx, r14d
	mov	rdi, r9
	call	memset@PLT
	mov	r9, QWORD PTR -56[rbp]
	mov	rsi, r15
	mov	r8d, r14d
	mov	edx, r12d
	mov	rdi, r13
	mov	rcx, r9
	call	mlx5_cmd_exec@PLT
	mov	rsi, QWORD PTR -40[rbp]
	xor	rsi, QWORD PTR fs:40
	jne	.L21
	lea	rsp, -32[rbp]
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L20:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx5_cmd_init_hca, .-mlx5_cmd_init_hca
	.comm	opcode,4,4
	.comm	init_hca_out,4,4
	.comm	init_hca_in,4,4
	.comm	MLX5_CMD_OP_INIT_HCA,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_mlx5_fw.c_mlx5_cmd_init_hca.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mlx5_cmd_init_hca
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5_cmd_init_hca, %function
mlx5_cmd_init_hca:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	ldr	r8, .L6
	ldr	r3, .L6+4
	mov	r6, r0
	ldr	r0, [r8]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	MLX5_ST_SZ_DW
	lsl	r4, r0, #2
	ldr	r2, .L6+8
	add	r3, r4, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r0, [r2]
	bl	MLX5_ST_SZ_DW
	lsl	r5, r0, #2
	add	r3, r5, #7
	add	r7, sp, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r2, r4
	mov	r1, #0
	mov	r0, r7
	bl	memset
	ldr	r3, .L6+12
	ldr	r2, .L6+16
	ldr	r3, [r3]
	mov	r1, r7
	ldr	r0, [r8]
	ldr	r2, [r2]
	add	r8, sp, #8
	bl	MLX5_SET
	mov	r2, r5
	mov	r1, #0
	mov	r0, r8
	bl	memset
	mov	r3, r8
	mov	r2, r4
	mov	r1, r7
	mov	r0, r6
	str	r5, [sp]
	bl	mlx5_cmd_exec
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	init_hca_in
	.word	.LC0
	.word	init_hca_out
	.word	MLX5_CMD_OP_INIT_HCA
	.word	opcode
	.size	mlx5_cmd_init_hca, .-mlx5_cmd_init_hca
	.comm	opcode,4,4
	.comm	init_hca_out,4,4
	.comm	init_hca_in,4,4
	.comm	MLX5_CMD_OP_INIT_HCA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
