	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_ReadName                  ## -- Begin function auth_ReadName
	.p2align	4, 0x90
_auth_ReadName:                         ## @auth_ReadName
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpq	$8, %rdx
	jb	LBB0_2
## %bb.1:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_4
LBB0_2:
	movq	%r15, %rdi
	callq	_m_length
	cmpq	%rbx, %rax
	jae	LBB0_6
## %bb.3:
	movq	_LogWARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_4:
	movq	(%r14), %rax
	movb	$0, (%rax)
	movq	%r15, %rdi
	callq	_m_freem
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_mbuf_Read
	movq	(%r14), %rcx
	movb	$0, (%rcx,%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth_ReadName: Name too long (%zu) !\n"

L_.str.1:                               ## @.str.1
	.asciz	"auth_ReadName: Short packet (%zu > %zu) !\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_ReadName                  ; -- Begin function auth_ReadName
	.p2align	2
_auth_ReadName:                         ; @auth_ReadName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	x2, #8
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _LogWARN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_m_length
	cmp	x0, x21
	b.hs	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _LogWARN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
LBB0_4:
	mov	x2, x21
	bl	_log_Printf
	ldr	x8, [x19]
	strb	wzr, [x8]
	mov	x0, x20
	bl	_m_freem
	mov	x0, #0
	b	LBB0_6
LBB0_5:
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x21
	bl	_mbuf_Read
	ldr	x8, [x19]
	strb	wzr, [x8, x21]
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth_ReadName: Name too long (%zu) !\n"

l_.str.1:                               ; @.str.1
	.asciz	"auth_ReadName: Short packet (%zu > %zu) !\n"

.subsections_via_symbols
