	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_ReadHeader                ## -- Begin function auth_ReadHeader
	.p2align	4, 0x90
_auth_ReadHeader:                       ## @auth_ReadHeader
	.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, %r15
	movq	%rsi, %rdi
	callq	_m_length
	movq	%rax, %r14
	cmpq	$8, %rax
	jb	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_mbuf_Read
	movq	%rax, %rbx
	movq	(%r15), %rdi
	callq	_ntohs
	cltq
	cmpq	%rax, %r14
	jae	LBB0_5
## %bb.2:
	xorl	%edi, %edi
	callq	_htons
	movq	%rax, (%r15)
	movq	_LogWARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	%rax, %rdi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	jmp	LBB0_4
LBB0_3:
	xorl	%edi, %edi
	callq	_htons
	movq	%rax, (%r15)
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$8, %edx
LBB0_4:
	movq	%r14, %rcx
	callq	_log_Printf
	movq	%rbx, %rdi
	callq	_m_freem
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	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_ReadHeader: Short packet (%u > %zu) !\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_ReadHeader                ; -- Begin function auth_ReadHeader
	.p2align	2
_auth_ReadHeader:                       ; @auth_ReadHeader
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_m_length
	mov	x20, x0
	cmp	x0, #8
	b.lo	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #8
	bl	_mbuf_Read
	mov	x19, x0
	ldr	x0, [x21]
	bl	_ntohs
	cmp	x20, w0, sxtw
	b.hs	LBB0_5
; %bb.2:
	mov	w0, #0
	bl	_htons
	str	x0, [x21]
Lloh0:
	adrp	x8, _LogWARN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_ntohs
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	b	LBB0_4
LBB0_3:
	mov	w0, #0
	bl	_htons
	str	x0, [x21]
Lloh5:
	adrp	x8, _LogWARN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #8
LBB0_4:
	mov	x3, x20
	bl	_log_Printf
	mov	x0, x19
	bl	_m_freem
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	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 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_ReadHeader: Short packet (%u > %zu) !\n"

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

.subsections_via_symbols
