	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_copy_iboe_route
_ucma_copy_iboe_route:                  ## @ucma_copy_iboe_route
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movl	%eax, (%rdi)
	cmpl	$2, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$1, %eax
	je	LBB0_6
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	16(%rbx), %r15
	addq	$20, %rbx
	movq	8(%r14), %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	callq	_rdma_ip2gid
	movq	8(%r14), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_rdma_ip2gid
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%r14), %rdi
	addq	$12, %rdi
	movq	8(%rbx), %rsi
	addq	$4, %rsi
	callq	_ib_copy_path_rec_to_user
LBB0_6:
	movq	8(%r14), %rdi
	movq	8(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_copy_path_rec_to_user       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ucma_copy_iboe_route
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_copy_iboe_route
_ucma_copy_iboe_route:                  ; @ucma_copy_iboe_route
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	str	w8, [x0]
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.2:
	cbnz	w8, LBB0_4
; %bb.3:
	add	x21, x20, #16
	add	x0, x20, #20
	ldr	x8, [x19, #8]
	add	x1, x8, #8
	bl	_rdma_ip2gid
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	mov	x0, x21
	bl	_rdma_ip2gid
	mov	w0, #65535
	bl	_cpu_to_be16
	ldr	x8, [x19, #8]
	str	w0, [x8]
LBB0_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
	ret
LBB0_5:
	ldr	x8, [x19, #8]
	add	x0, x8, #12
	ldr	x8, [x20, #8]
	add	x1, x8, #4
	bl	_ib_copy_path_rec_to_user
LBB0_6:
	ldr	x0, [x19, #8]
	ldr	x1, [x20, #8]
	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	_ib_copy_path_rec_to_user
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ucma_copy_iboe_route
.subsections_via_symbols
