	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_ib_set_connect
_ucma_ib_set_connect:                   ## @ucma_ib_set_connect
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	movq	_AF_IB@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$20, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_4
## %bb.3:
	movl	$64, (%r15)
	leaq	16(%r15), %rdi
	movq	32(%r12), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	addq	$12, %rdi
	movq	24(%r12), %rsi
	movl	$4, %edx
	jmp	LBB0_5
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_4:
	movl	$96, (%r15)
	leaq	8(%r15), %rdi
	movq	32(%r12), %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	%r15, %rdi
	addq	$4, %rdi
	movq	24(%r12), %rsi
	movl	$16, %edx
LBB0_5:
	callq	_memcpy
	movq	%r15, 16(%r14)
	movl	$20, 8(%r14)
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_IB,8,3                      ## @AF_IB
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AF_INET,8,3                    ## @AF_INET
	.no_dead_strip	_ucma_ib_set_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_ib_set_connect
_ucma_ib_set_connect:                   ; @ucma_ib_set_connect
	.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
	ldr	x22, [x1]
Lloh0:
	adrp	x8, _AF_IB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_IB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	w0, #1
	mov	w1, #20
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x8, _AF_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #64
	mov	x22, x21
	str	w8, [x22], #12
	add	x0, x21, #16
	ldr	x1, [x20, #32]
	mov	w2, #4
	bl	_memcpy
	ldr	x1, [x20, #24]
	mov	x0, x22
	mov	w2, #4
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	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	_ERR
LBB0_5:
	mov	w8, #96
	mov	x22, x21
	str	w8, [x22], #4
	add	x0, x21, #8
	ldr	x1, [x20, #32]
	mov	w2, #16
	bl	_memcpy
	ldr	x1, [x20, #24]
	mov	x0, x22
	mov	w2, #16
LBB0_6:
	bl	_memcpy
	str	x21, [x19, #16]
	mov	w8, #20
	str	w8, [x19, #8]
LBB0_7:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_IB,8,3                      ; @AF_IB
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AF_INET,8,3                    ; @AF_INET
	.no_dead_strip	_ucma_ib_set_connect
.subsections_via_symbols
