	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_sockaddr2username           ## -- Begin function dn_sockaddr2username
	.p2align	4, 0x90
_dn_sockaddr2username:                  ## @dn_sockaddr2username
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	1(%rsi), %rdi
	movb	%dl, (%rsi)
	cmpb	$2, %dl
	je	LBB0_5
## %bb.1:
	cmpb	$1, %dl
	je	LBB0_4
## %bb.2:
	movl	$2, %eax
	testb	%dl, %dl
	jne	LBB0_6
## %bb.3:
	movb	8(%r14), %cl
	movb	%cl, (%rdi)
	jmp	LBB0_6
LBB0_5:
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_memset
	movl	(%r14), %edi
	callq	_le16_to_cpu
	movb	%al, 6(%rbx)
	addq	$7, %rbx
	movl	(%r14), %edi
	movl	4(%r14), %r15d
	callq	_le16_to_cpu
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_memcpy
	movl	(%r14), %edi
	callq	_le16_to_cpu
	addl	$7, %eax
	jmp	LBB0_6
LBB0_4:
	movb	$0, 1(%rbx)
	movl	(%r14), %edi
	callq	_le16_to_cpu
	movb	%al, 2(%rbx)
	addq	$3, %rbx
	movl	(%r14), %edi
	movl	4(%r14), %r15d
	callq	_le16_to_cpu
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_memcpy
	movl	(%r14), %edi
	callq	_le16_to_cpu
	addl	$3, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_sockaddr2username           ; -- Begin function dn_sockaddr2username
	.p2align	2
_dn_sockaddr2username:                  ; @dn_sockaddr2username
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	strb	w2, [x0], #1
	cmp	w2, #2
	b.eq	LBB0_5
; %bb.1:
	cmp	w2, #1
	b.eq	LBB0_6
; %bb.2:
	cbnz	w2, LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	strb	w8, [x0]
LBB0_4:
	mov	w0, #2
	b	LBB0_7
LBB0_5:
	mov	w1, #0
	mov	w2, #5
	bl	_memset
	ldr	w0, [x19]
	bl	_le16_to_cpu
	add	x21, x20, #7
	strb	w0, [x20, #6]
	ldp	w0, w20, [x19]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_memcpy
	ldr	w0, [x19]
	bl	_le16_to_cpu
	add	w0, w0, #7
	b	LBB0_7
LBB0_6:
	strb	wzr, [x20, #1]
	ldr	w0, [x19]
	bl	_le16_to_cpu
	add	x21, x20, #3
	strb	w0, [x20, #2]
	ldp	w0, w20, [x19]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_memcpy
	ldr	w0, [x19]
	bl	_le16_to_cpu
	add	w0, w0, #3
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
