	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_convert_in6
_ucma_convert_in6:                      ## @ucma_convert_in6
	.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	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movl	$1, %edi
	movl	$20, %esi
	callq	_calloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_AF_IB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_htobe16
	movq	(%rbx), %rdi
	movl	%eax, 12(%rdi)
	movl	16(%r15), %eax
	movl	%eax, 8(%rdi)
	addq	$4, %rdi
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	movl	8(%rax), %ecx
	movl	12(%rax), %r8d
	callq	_ib_addr_set
	movq	(%rbx), %rdx
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_ucma_set_sid
	movl	(%r15), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	$20, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AF_IB,4,2                      ## @AF_IB
	.no_dead_strip	_ucma_convert_in6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_convert_in6
_ucma_convert_in6:                      ; @ucma_convert_in6
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	w23, #20
	mov	w0, #1
	mov	w1, #20
	bl	_calloc
	str	x0, [x21]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AF_IB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_IB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	mov	w0, #65535
	bl	_htobe16
	ldr	x8, [x21]
	ldr	w9, [x20, #16]
	stp	w9, w0, [x8, #8]
	add	x0, x8, #4
	ldr	x8, [x20, #8]
	ldp	w1, w2, [x8]
	ldp	w3, w4, [x8, #8]
	bl	_ib_addr_set
	ldr	x2, [x21]
	mov	x0, x22
	mov	x1, x20
	bl	_ucma_set_sid
	ldr	w8, [x20]
	ldr	x9, [x21]
	str	w8, [x9]
	str	w23, [x19]
	mov	w0, #0
	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
LBB0_2:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
	b	_ERR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AF_IB,4,2                      ; @AF_IB
	.no_dead_strip	_ucma_convert_in6
.subsections_via_symbols
