	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_read_gids                 ## -- Begin function rdma_read_gids
	.p2align	4, 0x90
_rdma_read_gids:                        ## @rdma_read_gids
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.5:
	movl	(%rbx), %esi
	callq	_rdma_protocol_roce
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	leaq	16(%rbx), %rdi
	movq	%r15, %rsi
	callq	_rdma_ip2gid
LBB0_8:
	testq	%r14, %r14
	je	LBB0_13
## %bb.9:
	addq	$12, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdma_ip2gid                    ## TAILCALL
LBB0_1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_3:
	testq	%r14, %r14
	je	LBB0_13
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_10:
	addq	$8, %rbx
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_rdma_addr_get_sgid
LBB0_12:
	testq	%r14, %r14
	je	LBB0_13
## %bb.14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdma_addr_get_dgid             ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_read_gids                 ; -- Begin function rdma_read_gids
	.p2align	2
_rdma_read_gids:                        ; @rdma_read_gids
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0, #4]
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w1, [x21]
	bl	_rdma_protocol_roce
	cbz	x0, LBB0_10
; %bb.2:
	cbz	x20, LBB0_4
; %bb.3:
	add	x0, x21, #16
	mov	x1, x20
	bl	_rdma_ip2gid
LBB0_4:
	cbz	x19, LBB0_14
; %bb.5:
	add	x0, x21, #12
	mov	x1, x19
	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
	b	_rdma_ip2gid
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_8:
	cbz	x19, LBB0_14
; %bb.9:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	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
	b	_memset
LBB0_10:
	add	x21, x21, #8
	cbz	x20, LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x20
	bl	_rdma_addr_get_sgid
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x19
	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
	b	_rdma_addr_get_dgid
LBB0_14:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
