	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_getaddrinfo               ## -- Begin function rdma_getaddrinfo
	.p2align	4, 0x90
_rdma_getaddrinfo:                      ## @rdma_getaddrinfo
	.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	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rdi, %rax
	orq	%rsi, %rax
	setne	%r15b
	jne	LBB0_4
## %bb.1:
	testq	%r12, %r12
	jne	LBB0_4
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_4:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ucma_init
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_5
LBB0_21:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$1, %edi
	movl	$48, %esi
	callq	_calloc
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r8
	testq	%r12, %r12
	jne	LBB0_9
## %bb.8:
	movq	_nohints@GOTPCREL(%rip), %r12
LBB0_9:
	testb	%r15b, %r15b
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%r8, %rcx
	movq	%r8, %rbx
	callq	_ucma_getaddrinfo
	jmp	LBB0_13
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movl	(%r12), %eax
	movl	%eax, (%r8)
	movl	44(%r12), %eax
	movl	%eax, 44(%r8)
	movl	40(%r12), %eax
	movl	%eax, 40(%r8)
	movl	36(%r12), %eax
	movl	%eax, 36(%r8)
	movq	24(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.12:
	leaq	32(%r8), %rdi
	leaq	24(%r8), %rsi
	movl	32(%r12), %edx
	movq	%r8, %rbx
	callq	_ucma_copy_addr
LBB0_13:
	movq	%rbx, %r8
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_14
LBB0_20:
	movq	%r8, %rdi
	callq	_rdma_freeaddrinfo
	jmp	LBB0_21
LBB0_14:
	cmpq	$0, 8(%r8)
	je	LBB0_15
LBB0_17:
	movq	_RAI_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r8)
	jne	LBB0_19
## %bb.18:
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_ucma_ib_resolve
	movq	-48(%rbp), %r8
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r8, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_15:
	movq	8(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:
	leaq	8(%r8), %rsi
	movq	%r8, %rdi
	addq	$16, %rdi
	movl	16(%r12), %edx
	movq	%r8, %rbx
	callq	_ucma_copy_addr
	movq	%rbx, %r8
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_20
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nohints,48,3                   ## @nohints
	.comm	_RAI_PASSIVE,4,2                ## @RAI_PASSIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_getaddrinfo               ; -- Begin function rdma_getaddrinfo
	.p2align	2
_rdma_getaddrinfo:                      ; @rdma_getaddrinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	orr	x8, x0, x1
	cmp	x8, #0
	cset	w25, ne
	cbnz	x8, LBB0_4
; %bb.1:
	cbnz	x21, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ERR
LBB0_4:
	bl	_ucma_init
	mov	x24, x0
	cbz	w0, LBB0_6
LBB0_5:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	w0, #1
	mov	w1, #48
	bl	_calloc
	str	x0, [sp, #8]
	cbz	x0, LBB0_9
; %bb.7:
	mov	x20, x0
Lloh2:
	adrp	x8, _nohints@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nohints@GOTPAGEOFF]
	cmp	x21, #0
	csel	x21, x21, x8, ne
	cbz	w25, LBB0_10
; %bb.8:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_ucma_getaddrinfo
	mov	x24, x0
	cbnz	w0, LBB0_18
	b	LBB0_12
LBB0_9:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
LBB0_10:
	ldr	w8, [x21]
	str	w8, [x20]
	ldr	w8, [x21, #44]
	str	w8, [x20, #44]
	ldur	d0, [x21, #36]
	stur	d0, [x20, #36]
	ldr	x3, [x21, #24]
	cbz	x3, LBB0_12
; %bb.11:
	add	x0, x20, #32
	add	x1, x20, #24
	ldr	w2, [x21, #32]
	bl	_ucma_copy_addr
	mov	x24, x0
	cbnz	w0, LBB0_18
LBB0_12:
	mov	x1, x20
	ldr	x8, [x1, #8]!
	cbz	x8, LBB0_16
LBB0_13:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _RAI_PASSIVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RAI_PASSIVE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_15
; %bb.14:
	add	x0, sp, #8
	mov	x1, x21
	bl	_ucma_ib_resolve
	ldr	x20, [sp, #8]
LBB0_15:
	mov	w24, #0
	str	x20, [x19]
	b	LBB0_5
LBB0_16:
	ldr	x3, [x21, #8]
	cbz	x3, LBB0_13
; %bb.17:
	add	x0, x20, #16
	ldr	w2, [x21, #16]
	bl	_ucma_copy_addr
	mov	x24, x0
	cbz	w0, LBB0_13
LBB0_18:
	mov	x0, x20
	bl	_rdma_freeaddrinfo
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nohints,48,3                   ; @nohints
	.comm	_RAI_PASSIVE,4,2                ; @RAI_PASSIVE
.subsections_via_symbols
