	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare6
_prepare6:                              ## @prepare6
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r12
	callq	_rxe_get_av
	movq	%rax, %rbx
	movl	(%r14), %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_rxe_find_route
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	8(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r13
	addq	$12, %r13
	movl	(%r12), %edi
	callq	_cpu_to_be16
	movl	%eax, %r12d
	movq	_ROCE_V2_UDP_DPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_prepare_udp_hdr
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%rbx), %eax
	movl	4(%rbx), %r9d
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_prepare_ipv6_hdr
	movq	%r15, %rdi
	callq	_dst_release
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EHOSTUNREACH@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Host not reachable\n"

	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
	.comm	_ROCE_V2_UDP_DPORT,4,2          ## @ROCE_V2_UDP_DPORT
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.no_dead_strip	_prepare6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare6
_prepare6:                              ; @prepare6
	.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, x1
	ldr	x22, [x0]
	bl	_rxe_get_av
	mov	x21, x0
	ldr	w0, [x19]
	mov	x1, x22
	mov	x2, x21
	bl	_rxe_find_route
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	add	x23, x21, #8
	add	x24, x21, #12
	ldr	w0, [x22]
	bl	_cpu_to_be16
	mov	x22, x0
Lloh0:
	adrp	x8, _ROCE_V2_UDP_DPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROCE_V2_UDP_DPORT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_prepare_udp_hdr
Lloh3:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	ldp	w6, w5, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	mov	x3, x23
	bl	_prepare_ipv6_hdr
	mov	x0, x20
	bl	_dst_release
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh8:
	adrp	x8, _EHOSTUNREACH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EHOSTUNREACH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Host not reachable\n"

	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
	.comm	_ROCE_V2_UDP_DPORT,4,2          ; @ROCE_V2_UDP_DPORT
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.no_dead_strip	_prepare6
.subsections_via_symbols
