	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_roce_gid_type_mask_support     ## -- Begin function roce_gid_type_mask_support
	.p2align	4, 0x90
_roce_gid_type_mask_support:            ## @roce_gid_type_mask_support
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_rdma_protocol_roce
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_CAP_TO_GID_TABLE_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_2
## %bb.4:
	xorl	%ebx, %ebx
	movq	_PORT_CAP_TO_GID_TYPE@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movq	_CAP_TO_GID_TABLE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %rbx
	cmpq	%rax, %r15
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	*8(%rax,%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rax
	movzbl	(%rax,%rbx), %ecx
	movl	$1, %eax
	shlq	%cl, %rax
	orl	%eax, %r13d
	jmp	LBB0_7
LBB0_3:
	movq	_IB_GID_TYPE_IB@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shlq	%cl, %rax
	jmp	LBB0_9
LBB0_2:
	xorl	%r13d, %r13d
LBB0_8:
	movl	%r13d, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_GID_TYPE_IB,8,3             ## @IB_GID_TYPE_IB
	.comm	_CAP_TO_GID_TABLE_SIZE,4,2      ## @CAP_TO_GID_TABLE_SIZE
	.comm	_PORT_CAP_TO_GID_TYPE,8,3       ## @PORT_CAP_TO_GID_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_roce_gid_type_mask_support     ; -- Begin function roce_gid_type_mask_support
	.p2align	2
_roce_gid_type_mask_support:            ; @roce_gid_type_mask_support
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_rdma_protocol_roce
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x21, _CAP_TO_GID_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CAP_TO_GID_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	mov	w22, #0
Lloh2:
	adrp	x25, _PORT_CAP_TO_GID_TYPE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PORT_CAP_TO_GID_TYPE@GOTPAGEOFF]
	mov	w26, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	add	x23, x23, #16
	cmp	x24, x8
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x8, x8, x23
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	ldr	x8, [x8, x23]
	lsl	x8, x26, x8
	orr	w22, w22, w8
	b	LBB0_3
LBB0_6:
Lloh4:
	adrp	x8, _IB_GID_TYPE_IB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IB_GID_TYPE_IB@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	b	LBB0_9
LBB0_7:
	mov	w22, #0
LBB0_8:
	mov	w0, w22
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_GID_TYPE_IB,8,3             ; @IB_GID_TYPE_IB
	.comm	_CAP_TO_GID_TABLE_SIZE,4,2      ; @CAP_TO_GID_TABLE_SIZE
	.comm	_PORT_CAP_TO_GID_TYPE,8,3       ; @PORT_CAP_TO_GID_TYPE
.subsections_via_symbols
