	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _gid_table_setup_one
__gid_table_setup_one:                  ## @_gid_table_setup_one
	.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	%rdi, %r12
	movq	(%rdi), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	cmpq	$0, (%r12)
	je	LBB0_14
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_rdma_start_port
	addq	%rbx, %rax
	movq	16(%r12), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_alloc_gid_table
	movq	%rax, (%r14,%rbx,8)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_rdma_start_port
	leaq	(%rax,%rbx), %rsi
	movq	(%r14,%rbx,8), %rdx
	movq	%r12, %rdi
	callq	_gid_table_reserve_default
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	(%r12), %rbx
	jb	LBB0_5
LBB0_14:
	movq	%r14, 8(%r12)
	xorl	%r15d, %r15d
	jmp	LBB0_13
LBB0_3:
	movl	24(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_13
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	cmpq	$0, (%r12)
	jne	LBB0_10
	jmp	LBB0_12
LBB0_8:
	movl	%eax, %r15d
	cmpq	$0, (%r12)
	je	LBB0_12
LBB0_10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_rdma_start_port
	leaq	(%rax,%rbx), %rsi
	movq	(%r14,%rbx,8), %rdx
	movq	%r12, %rdi
	callq	_cleanup_gid_table_port
	movq	(%r14,%rbx,8), %rdi
	callq	_release_gid_table
	incq	%rbx
	cmpq	(%r12), %rbx
	jb	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	callq	_kfree
LBB0_13:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate ib gid cache for %s\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	__gid_table_setup_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _gid_table_setup_one
__gid_table_setup_one:                  ; @_gid_table_setup_one
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_kcalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rdma_start_port
	add	x8, x0, x22
	ldr	x9, [x19, #16]
	ldr	w0, [x9, x8, lsl #2]
	bl	_alloc_gid_table
	str	x0, [x20, x22, lsl #3]
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_rdma_start_port
	add	x1, x0, x22
	ldr	x2, [x20, x22, lsl #3]
	mov	x0, x19
	bl	_gid_table_reserve_default
	cbnz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	x8, [x19]
	cmp	x22, x8
	b.lo	LBB0_3
LBB0_6:
	mov	w21, #0
	str	x20, [x19, #8]
	b	LBB0_13
LBB0_7:
	ldr	w1, [x19, #24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_8:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	x8, [x19]
	cbnz	x8, LBB0_10
	b	LBB0_12
LBB0_9:
	mov	x21, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_12
LBB0_10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rdma_start_port
	add	x1, x0, x22
	lsl	x23, x22, #3
	ldr	x2, [x20, x23]
	mov	x0, x19
	bl	_cleanup_gid_table_port
	ldr	x0, [x20, x23]
	bl	_release_gid_table
	add	x22, x22, #1
	ldr	x8, [x19]
	cmp	x22, x8
	b.lo	LBB0_11
LBB0_12:
	mov	x0, x20
	bl	_kfree
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate ib gid cache for %s\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	__gid_table_setup_one
.subsections_via_symbols
