	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_literal_data
_parse_literal_data:                    ## @parse_literal_data
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -68(%rbp)
	movq	%rdx, %rdi
	callq	_GETBYTE
	movq	%r15, %rdi
	callq	_GETBYTE
	leaq	-80(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_pullf_read_max
	cmpl	$4, %eax
	jne	LBB0_1
## %bb.2:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_px_memset
	movl	$0, 4(%rbx)
	leaq	-80(%rbp), %r12
	leaq	-68(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_mbuf_append
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	js	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$32768, %esi                    ## imm = 0x8000
	movq	%r12, %rdx
	callq	_pullf_read
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r13, %rcx
	callq	_copy_crlf
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_px_debug
	movq	_PXE_PGP_CORRUPT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_9:
	jne	LBB0_12
## %bb.10:
	cmpl	$0, -68(%rbp)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_mbuf_append
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parse_literal_data: unexpected eof"

	.comm	_PXE_PGP_CORRUPT_DATA,4,2       ## @PXE_PGP_CORRUPT_DATA
L_.str.2:                               ## @.str.2
	.asciz	"\r"

	.no_dead_strip	_parse_literal_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_literal_data
_parse_literal_data:                    ; @parse_literal_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	wzr, [sp, #12]
	mov	x0, x2
	bl	_GETBYTE
	mov	x0, x20
	bl	_GETBYTE
	add	x2, sp, #16
	add	x3, sp, #24
	mov	x0, x20
	mov	w1, #4
	bl	_pullf_read_max
	cmp	w0, #4
	b.ne	LBB0_7
; %bb.1:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #4
	bl	_px_memset
	str	wzr, [x21, #4]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_mbuf_append
	tbnz	w0, #31, LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #16
	mov	x0, x20
	mov	w1, #32768
	bl	_pullf_read
	mov	x2, x0
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #16]
	add	x3, sp, #12
	mov	x0, x19
	bl	_copy_crlf
	tbz	w0, #31, LBB0_3
	b	LBB0_11
LBB0_7:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_px_debug
Lloh5:
	adrp	x8, _PXE_PGP_CORRUPT_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PXE_PGP_CORRUPT_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	b	LBB0_12
LBB0_8:
	cbnz	w2, LBB0_12
; %bb.9:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_12
; %bb.10:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_mbuf_append
LBB0_11:
	mov	x2, x0
LBB0_12:
	ldr	x8, [sp, #40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x2
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parse_literal_data: unexpected eof"

	.comm	_PXE_PGP_CORRUPT_DATA,4,2       ; @PXE_PGP_CORRUPT_DATA
l_.str.2:                               ; @.str.2
	.asciz	"\r"

	.no_dead_strip	_parse_literal_data
.subsections_via_symbols
