	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_save_ip_info
_cma_save_ip_info:                      ## @cma_save_ip_info
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%ecx, %edi
	callq	_rdma_ps_from_service_id
	movq	_RDMA_PS_SDP@GOTPCREL(%rip), %rcx
	movq	(%rbx), %r12
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdp_save_ip_info               ## TAILCALL
LBB0_1:
	movq	(%r12), %rax
	movq	_CMA_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movl	%r13d, %edi
	callq	_cma_port_from_service_id
	movl	%eax, %edi
	callq	_htons
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_cma_get_ip_ver
	cmpl	$6, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$4, %eax
	jne	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_cma_save_ip4_info
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_cma_save_ip6_info
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_PS_SDP,8,3                ## @RDMA_PS_SDP
	.comm	_CMA_VERSION,8,3                ## @CMA_VERSION
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.no_dead_strip	_cma_save_ip_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_save_ip_info
_cma_save_ip_info:                      ; @cma_save_ip_info
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x3
	bl	_rdma_ps_from_service_id
Lloh0:
	adrp	x8, _RDMA_PS_SDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_PS_SDP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x21, [x21]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	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	_sdp_save_ip_info
LBB0_2:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _CMA_VERSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CMA_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_cma_port_from_service_id
	bl	_htons
	mov	x22, x0
	mov	x0, x21
	bl	_cma_get_ip_ver
	cmp	w0, #6
	b.eq	LBB0_7
; %bb.4:
	cmp	w0, #4
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_cma_save_ip4_info
	mov	w0, #0
	b	LBB0_10
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_cma_save_ip6_info
	mov	w0, #0
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_PS_SDP,8,3                ; @RDMA_PS_SDP
	.comm	_CMA_VERSION,8,3                ; @CMA_VERSION
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.no_dead_strip	_cma_save_ip_info
.subsections_via_symbols
