	.file	"extr_mlx5_ib_ah.c_mlx5_ib_query_ah.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx5_ib_query_ah
	.type	mlx5_ib_query_ah, @function
mlx5_ib_query_ah:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	to_mah@PLT
	xor	esi, esi
	mov	rdi, rbx
	mov	edx, 36
	mov	rbp, rax
	call	memset@PLT
	mov	edi, DWORD PTR 20[rbp]
	call	be32_to_cpu@PLT
	test	eax, 1073741824
	jne	.L8
.L2:
	mov	edi, DWORD PTR 4[rbp]
	call	be16_to_cpu@PLT
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	edx, eax
	and	eax, 15
	sar	edx, 4
	mov	DWORD PTR 4[rbx], eax
	xor	eax, eax
	mov	DWORD PTR [rbx], edx
	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
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR IB_AH_GRH[rip]
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, 28[rbx]
	mov	DWORD PTR 32[rbx], edx
	mov	edx, eax
	and	eax, 1048575
	sar	edx, 20
	mov	DWORD PTR 16[rbx], eax
	and	edx, 255
	mov	DWORD PTR 12[rbx], edx
	mov	edx, 16
	call	memcpy@PLT
	mov	eax, DWORD PTR 12[rbp]
	mov	DWORD PTR 24[rbx], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 20[rbx], eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	mlx5_ib_query_ah, .-mlx5_ib_query_ah
	.comm	IB_AH_GRH,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_ib_ah.c_mlx5_ib_query_ah.c"
	.text
	.align	2
	.global	mlx5_ib_query_ah
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5_ib_query_ah, %function
mlx5_ib_query_ah:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bl	to_mah
	mov	r5, r0
	mov	r2, #36
	mov	r1, #0
	mov	r0, r4
	bl	memset
	ldr	r0, [r5, #20]
	bl	be32_to_cpu
	tst	r0, #1073741824
	bne	.L8
.L2:
	ldr	r0, [r5, #4]
	bl	be16_to_cpu
	ldr	r3, [r5]
	str	r0, [r4, #8]
	asr	r2, r3, #4
	and	r3, r3, #15
	mov	r0, #0
	stm	r4, {r2, r3}
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r2, .L9
	asr	r3, r0, #20
	ldr	r2, [r2]
	bic	r0, r0, #-16777216
	and	r3, r3, #255
	bic	r0, r0, #15728640
	str	r2, [r4, #32]
	str	r3, [r4, #12]
	mov	r2, #16
	str	r0, [r4, #16]
	ldr	r1, [r5, #16]
	add	r0, r4, #28
	bl	memcpy
	ldr	r2, [r5, #12]
	ldr	r3, [r5, #8]
	str	r2, [r4, #24]
	str	r3, [r4, #20]
	b	.L2
.L10:
	.align	2
.L9:
	.word	IB_AH_GRH
	.size	mlx5_ib_query_ah, .-mlx5_ib_query_ah
	.comm	IB_AH_GRH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
