	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_convert_to_rai
_ucma_convert_to_rai:                   ## @ucma_convert_to_rai
	.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
	movq	56(%rsi), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movl	(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.3:
	movq	_IBV_QPT_RC@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_IBV_QPT_UD@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, 56(%rbx)
LBB0_7:
	movq	24(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:
	movl	4(%r14), %eax
	cmpl	$130, %eax
	je	LBB0_11
## %bb.9:
	cmpl	$131, %eax
	jne	LBB0_14
## %bb.10:
	movq	_RDMA_PS_TCP@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_RDMA_PS_UDP@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rax
LBB0_13:
	movq	%rax, 24(%rbx)
LBB0_14:
	movq	_AI_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	je	LBB0_24
## %bb.15:
	movq	_RAI_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_strdup
	movq	%rax, 48(%rbx)
LBB0_17:
	movl	(%r15), %eax
	movq	_RAI_FAMILY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.18:
	movq	8(%r15), %rcx
	movq	_AF_IB@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_22
## %bb.19:
	movq	_RAI_NUMERICHOST@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_22
## %bb.20:
	movq	%rcx, 8(%rbx)
	movq	24(%rbx), %rdi
	leaq	44(%rbx), %rsi
	addq	$40, %rbx
	jmp	LBB0_21
LBB0_22:
	movq	16(%r14), %rax
	movq	%rax, 8(%rbx)
	leaq	44(%rbx), %rdi
	addq	$40, %rbx
	jmp	LBB0_23
LBB0_24:
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_strdup
	movq	%rax, 32(%rbx)
LBB0_26:
	movl	(%r15), %eax
	movq	_RAI_FAMILY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.27:
	movq	8(%r15), %rcx
	movq	_AF_IB@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_30
## %bb.28:
	movq	_RAI_NUMERICHOST@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_30
## %bb.29:
	movq	%rcx, 8(%rbx)
	movq	24(%rbx), %rdi
	leaq	20(%rbx), %rsi
	addq	$16, %rbx
LBB0_21:
	movq	32(%r14), %rcx
	movl	24(%r14), %r8d
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ucma_convert_in6               ## TAILCALL
LBB0_30:
	movq	16(%r14), %rax
	movq	%rax, 8(%rbx)
	leaq	20(%rbx), %rdi
	addq	$16, %rbx
LBB0_23:
	movq	32(%r14), %rdx
	movl	24(%r14), %ecx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ucma_copy_addr                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_QPT_RC,8,3                 ## @IBV_QPT_RC
	.comm	_IBV_QPT_UD,8,3                 ## @IBV_QPT_UD
	.comm	_RDMA_PS_TCP,8,3                ## @RDMA_PS_TCP
	.comm	_RDMA_PS_UDP,8,3                ## @RDMA_PS_UDP
	.comm	_AI_PASSIVE,4,2                 ## @AI_PASSIVE
	.comm	_RAI_PASSIVE,4,2                ## @RAI_PASSIVE
	.comm	_RAI_FAMILY,4,2                 ## @RAI_FAMILY
	.comm	_AF_IB,8,3                      ## @AF_IB
	.comm	_RAI_NUMERICHOST,4,2            ## @RAI_NUMERICHOST
	.no_dead_strip	_ucma_convert_to_rai
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_convert_to_rai
_ucma_convert_to_rai:                   ; @ucma_convert_to_rai
	.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	x21, x1
	mov	x20, x0
	ldr	x8, [x1, #56]
	cbnz	x8, LBB0_6
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _IBV_QPT_RC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBV_QPT_RC@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _IBV_QPT_UD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IBV_QPT_UD@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x8]
LBB0_6:
	str	x8, [x20, #56]
LBB0_7:
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_13
; %bb.8:
	ldr	w8, [x19, #4]
	cmp	w8, #130
	b.eq	LBB0_11
; %bb.9:
	cmp	w8, #131
	b.ne	LBB0_14
; %bb.10:
Lloh4:
	adrp	x8, _RDMA_PS_TCP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RDMA_PS_TCP@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh6:
	adrp	x8, _RDMA_PS_UDP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RDMA_PS_UDP@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
LBB0_13:
	str	x8, [x20, #24]
LBB0_14:
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x9, _AI_PASSIVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AI_PASSIVE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.15:
Lloh11:
	adrp	x8, _RAI_PASSIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RAI_PASSIVE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_strdup
	str	x0, [x20, #48]
LBB0_17:
	ldr	w8, [x21]
Lloh14:
	adrp	x9, _RAI_FAMILY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RAI_FAMILY@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.18:
	ldr	x9, [x21, #8]
Lloh17:
	adrp	x10, _AF_IB@GOTPAGE
Lloh18:
	ldr	x10, [x10, _AF_IB@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_21
; %bb.19:
Lloh20:
	adrp	x10, _RAI_NUMERICHOST@GOTPAGE
Lloh21:
	ldr	x10, [x10, _RAI_NUMERICHOST@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_21
; %bb.20:
	str	x9, [x20, #8]
	ldr	x0, [x20, #24]
	add	x1, x20, #44
	add	x2, x20, #40
	b	LBB0_28
LBB0_21:
	ldr	x8, [x19, #16]
	str	x8, [x20, #8]
	add	x0, x20, #44
	add	x1, x20, #40
	b	LBB0_30
LBB0_22:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_strdup
	str	x0, [x20, #32]
LBB0_24:
	ldr	w8, [x21]
Lloh23:
	adrp	x9, _RAI_FAMILY@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RAI_FAMILY@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.25:
	ldr	x9, [x21, #8]
Lloh26:
	adrp	x10, _AF_IB@GOTPAGE
Lloh27:
	ldr	x10, [x10, _AF_IB@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_29
; %bb.26:
Lloh29:
	adrp	x10, _RAI_NUMERICHOST@GOTPAGE
Lloh30:
	ldr	x10, [x10, _RAI_NUMERICHOST@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_29
; %bb.27:
	str	x9, [x20, #8]
	ldr	x0, [x20, #24]
	add	x1, x20, #20
	add	x2, x20, #16
LBB0_28:
	ldr	x3, [x19, #32]
	ldr	w4, [x19, #24]
	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	_ucma_convert_in6
LBB0_29:
	ldr	x8, [x19, #16]
	str	x8, [x20, #8]
	add	x0, x20, #20
	add	x1, x20, #16
LBB0_30:
	ldr	x2, [x19, #32]
	ldr	w3, [x19, #24]
	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	_ucma_copy_addr
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_QPT_RC,8,3                 ; @IBV_QPT_RC
	.comm	_IBV_QPT_UD,8,3                 ; @IBV_QPT_UD
	.comm	_RDMA_PS_TCP,8,3                ; @RDMA_PS_TCP
	.comm	_RDMA_PS_UDP,8,3                ; @RDMA_PS_UDP
	.comm	_AI_PASSIVE,4,2                 ; @AI_PASSIVE
	.comm	_RAI_PASSIVE,4,2                ; @RAI_PASSIVE
	.comm	_RAI_FAMILY,4,2                 ; @RAI_FAMILY
	.comm	_AF_IB,8,3                      ; @AF_IB
	.comm	_RAI_NUMERICHOST,4,2            ; @RAI_NUMERICHOST
	.no_dead_strip	_ucma_convert_to_rai
.subsections_via_symbols
