	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_gid_info_from_table
_get_gid_info_from_table:               ## @get_gid_info_from_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %rdi
	callq	_rdma_ah_read_grh
	movq	%rax, %r15
	movq	8(%rax), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_rdma_read_gid_l2_fields
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	%r12, %rdi
	callq	_rdma_gid_attr_network_type
	cmpl	$130, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.4:
	movq	48(%rbx), %rdi
	movq	(%r12), %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	24(%rbx), %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	_ROCE_V2_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movl	60(%rbx), %edi
	movq	_QED_ROCE_MODIFY_QP_VALID_ROCE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_SET_FIELD
	jmp	LBB0_8
LBB0_5:
	movq	48(%rbx), %rdi
	movq	(%r12), %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	24(%rbx), %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	_ROCE_V1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	leaq	32(%rbx), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%r12), %rdi
	callq	_qedr_get_ipv4_from_gid
	movq	%rax, 40(%rbx)
	movq	(%r15), %rdi
	callq	_qedr_get_ipv4_from_gid
	movq	%rax, 16(%rbx)
	movl	60(%rbx), %edi
	movq	_QED_ROCE_MODIFY_QP_VALID_ROCE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_SET_FIELD
	movq	_ROCE_V2_IPV4@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
LBB0_8:
	movq	32(%rbx), %rax
	movq	(%rax), %rdi
	callq	_ntohl
	movq	32(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_ntohl
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	32(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_ntohl
	movq	32(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_ntohl
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	32(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_ntohl
	movq	32(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	8(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_ntohl
	movq	8(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	32(%rbx), %rax
	movq	24(%rax), %rdi
	callq	_ntohl
	movq	32(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	8(%rbx), %rax
	movq	24(%rax), %rdi
	callq	_ntohl
	movq	8(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movl	(%rbx), %eax
	movq	_VLAN_CFI_MASK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_10
## %bb.9:
	movl	$0, (%rbx)
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCE_V2_IPV6,4,2               ## @ROCE_V2_IPV6
	.comm	_QED_ROCE_MODIFY_QP_VALID_ROCE_MODE,4,2 ## @QED_ROCE_MODIFY_QP_VALID_ROCE_MODE
	.comm	_ROCE_V1,4,2                    ## @ROCE_V1
	.comm	_ROCE_V2_IPV4,4,2               ## @ROCE_V2_IPV4
	.comm	_VLAN_CFI_MASK,4,2              ## @VLAN_CFI_MASK
	.no_dead_strip	_get_gid_info_from_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_gid_info_from_table
_get_gid_info_from_table:               ; @get_gid_info_from_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x0, x1
	bl	_rdma_ah_read_grh
	mov	x21, x0
	ldr	x22, [x0, #8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, #0
	bl	_rdma_read_gid_l2_fields
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.1:
	mov	x0, x22
	bl	_rdma_gid_attr_network_type
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.4:
	ldr	x0, [x19, #48]
	ldr	x1, [x22]
	mov	w2, #24
	bl	_memcpy
	ldr	x0, [x19, #24]
	mov	x1, x21
	mov	w2, #24
	bl	_memcpy
Lloh0:
	adrp	x8, _ROCE_V2_IPV6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROCE_V2_IPV6@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	ldr	w0, [x19, #60]
Lloh3:
	adrp	x8, _QED_ROCE_MODIFY_QP_VALID_ROCE_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_ROCE_MODIFY_QP_VALID_ROCE_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_SET_FIELD
	b	LBB0_8
LBB0_5:
	ldr	x0, [x19, #48]
	ldr	x1, [x22]
	mov	w2, #24
	bl	_memcpy
	ldr	x0, [x19, #24]
	mov	x1, x21
	mov	w2, #24
	bl	_memcpy
Lloh6:
	adrp	x8, _ROCE_V1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROCE_V1@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	add	x0, x19, #32
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x0, [x22]
	bl	_qedr_get_ipv4_from_gid
	str	x0, [x19, #40]
	ldr	x0, [x21]
	bl	_qedr_get_ipv4_from_gid
	str	x0, [x19, #16]
	ldr	w0, [x19, #60]
Lloh8:
	adrp	x8, _QED_ROCE_MODIFY_QP_VALID_ROCE_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QED_ROCE_MODIFY_QP_VALID_ROCE_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_SET_FIELD
Lloh11:
	adrp	x8, _ROCE_V2_IPV4@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ROCE_V2_IPV4@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19, #56]
LBB0_8:
	ldr	x8, [x19, #32]
	ldr	x0, [x8]
	bl	_ntohl
	ldr	x8, [x19, #32]
	str	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_ntohl
	ldr	x8, [x19, #8]
	str	x0, [x8]
	ldr	x8, [x19, #32]
	ldr	x0, [x8, #8]
	bl	_ntohl
	ldr	x8, [x19, #32]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_ntohl
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	ldr	x8, [x19, #32]
	ldr	x0, [x8, #16]
	bl	_ntohl
	ldr	x8, [x19, #32]
	str	x0, [x8, #16]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #16]
	bl	_ntohl
	ldr	x8, [x19, #8]
	str	x0, [x8, #16]
	ldr	x8, [x19, #32]
	ldr	x0, [x8, #24]
	bl	_ntohl
	ldr	x8, [x19, #32]
	str	x0, [x8, #24]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #24]
	bl	_ntohl
	ldr	x8, [x19, #8]
	str	x0, [x8, #24]
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _VLAN_CFI_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VLAN_CFI_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_10
; %bb.9:
	str	wzr, [x19]
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCE_V2_IPV6,4,2               ; @ROCE_V2_IPV6
	.comm	_QED_ROCE_MODIFY_QP_VALID_ROCE_MODE,4,2 ; @QED_ROCE_MODIFY_QP_VALID_ROCE_MODE
	.comm	_ROCE_V1,4,2                    ; @ROCE_V1
	.comm	_ROCE_V2_IPV4,4,2               ; @ROCE_V2_IPV4
	.comm	_VLAN_CFI_MASK,4,2              ; @VLAN_CFI_MASK
	.no_dead_strip	_get_gid_info_from_table
.subsections_via_symbols
