	.file	"extr_mlx5_ib_main.c_mlx5_ib_query_gid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlx5_ib_query_gid, @function
mlx5_ib_query_gid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	call	to_mdev@PLT
	mov	rdi, rbp
	mov	r14, QWORD PTR [rax]
	call	mlx5_get_vport_access_method@PLT
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	je	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rcx, r15
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.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	mlx5_query_mad_ifc_gids@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	r8, r15
	mov	ecx, r13d
	mov	esi, r12d
	mov	rdi, r14
	pop	r12
	.cfi_def_cfa_offset 32
	xor	edx, edx
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	mlx5_query_hca_vport_gid@PLT
	.cfi_endproc
.LFE0:
	.size	mlx5_ib_query_gid, .-mlx5_ib_query_gid
	.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_mlx5_ib_main.c_mlx5_ib_query_gid.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5_ib_query_gid, %function
mlx5_ib_query_gid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r4, r0
	mov	r7, r1
	mov	r5, r2
	mov	r6, r3
	bl	to_mdev
	mov	r3, r0
	mov	r0, r4
	ldr	r8, [r3]
	bl	mlx5_get_vport_access_method
	cmp	r0, #128
	beq	.L2
	cmp	r0, #129
	beq	.L3
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r3, r6
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	mlx5_query_mad_ifc_gids
.L3:
	mov	r3, r5
	mov	r1, r7
	mov	r0, r8
	mov	r2, #0
	str	r6, [sp]
	bl	mlx5_query_hca_vport_gid
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.size	mlx5_ib_query_gid, .-mlx5_ib_query_gid
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
