	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_username2sockaddr           ## -- Begin function dn_username2sockaddr
	.p2align	4, 0x90
_dn_username2sockaddr:                  ## @dn_username2sockaddr
	.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
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movb	$0, (%rdx)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movl	16(%rbx), %edi
	movq	_DN_MAXOBJL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	$-1, %r12d
	cmpl	$2, %r14d
	jge	LBB0_1
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movzbl	(%r15), %eax
	movb	%al, (%r13)
	cmpq	$4, %rax
	ja	LBB0_12
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movb	1(%r15), %al
	movb	%al, (%rbx)
	movl	$2, %r12d
	jmp	LBB0_12
LBB0_4:
	addq	$2, %r15
	leal	-2(%r14), %r13d
	movl	$16, %eax
	testl	%r13d, %r13d
	jg	LBB0_9
	jmp	LBB0_12
LBB0_5:
	leal	-6(%r14), %r13d
	addq	$6, %r15
	jmp	LBB0_7
LBB0_6:
	leal	-10(%r14), %r13d
	addq	$10, %r15
LBB0_7:
	movl	$12, %eax
	testl	%r13d, %r13d
	jle	LBB0_12
LBB0_9:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movzbl	(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_le16_to_cpu
	notl	%eax
	addl	%eax, %r13d
	js	LBB0_12
## %bb.10:
	movq	8(%rbx), %rdi
	callq	_le16_to_cpu
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_12
## %bb.11:
	incq	%r15
	movl	16(%rbx), %r12d
	movq	8(%rbx), %rdi
	callq	_le16_to_cpu
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_memcpy
	subl	%r13d, %r14d
	movl	%r14d, %r12d
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_DN_MAXOBJL,4,2                 ## @DN_MAXOBJL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_username2sockaddr           ; -- Begin function dn_username2sockaddr
	.p2align	2
_dn_username2sockaddr:                  ; @dn_username2sockaddr
	.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	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	strb	wzr, [x2]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x20, #8]
	ldr	w0, [x20, #16]
Lloh0:
	adrp	x8, _DN_MAXOBJL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DN_MAXOBJL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	subs	w23, w19, #2
	b.ge	LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
	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_3:
	ldrb	w8, [x21]
	strb	w8, [x22]
	mov	w0, #-1
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.4:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldrb	w8, [x21, #1]
	strb	w8, [x20]
	mov	w0, #2
	b	LBB0_2
LBB0_6:
	add	x21, x21, #2
	mov	w22, #16
	cmp	w23, #1
	b.ge	LBB0_10
	b	LBB0_1
LBB0_7:
	sub	w23, w19, #6
	add	x21, x21, #6
	b	LBB0_9
LBB0_8:
	sub	w23, w19, #10
	add	x21, x21, #10
LBB0_9:
	mov	w22, #12
	cmp	w23, #1
	b.lt	LBB0_1
LBB0_10:
	ldrb	w0, [x21], #1
	bl	_cpu_to_le16
	str	x0, [x20, #8]
	bl	_le16_to_cpu
	mvn	w8, w0
	adds	w23, w23, w8
	b.mi	LBB0_1
; %bb.11:
	ldr	x0, [x20, #8]
	bl	_le16_to_cpu
	cmp	w0, w22
	b.gt	LBB0_1
; %bb.12:
	ldr	w22, [x20, #16]
	ldr	x0, [x20, #8]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_memcpy
	sub	w0, w19, w23
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_DN_MAXOBJL,4,2                 ; @DN_MAXOBJL
.subsections_via_symbols
