	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unpack_parse_header
_unpack_parse_header:                   ## @unpack_parse_header
	.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	%r9, %r13
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PACK_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	cmpq	%r15, %r12
	jae	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_maybe_err
	jmp	LBB0_3
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_memcpy
	movq	_PACK_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_4:
	movq	%rbx, %rsi
	addq	%r15, %rsi
	movslq	%r12d, %rdx
	subq	%r15, %rdx
	movl	%r14d, %edi
	callq	_read
	movq	%rax, %r15
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_maybe_err
LBB0_6:
	movq	%r15, %rdi
	callq	_infile_newdata
	movq	_PACK_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_accepted_bytes
	movl	2(%rbx), %eax
	bswapl	%eax
	movl	%eax, (%r13)
	movb	6(%rbx), %al
	movb	%al, 4(%r13)
	movq	_HTREE_MAXLEVEL@GOTPCREL(%rip), %rcx
	decb	%al
	cmpb	(%rcx), %al
	jb	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	_maybe_errx
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	callq	_fdopen
	movq	%rax, 32(%r13)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	callq	_maybe_err
LBB0_10:
	leaq	L_.str.5(%rip), %rsi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_fdopen
	movq	%rax, 64(%r13)
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rdi
	callq	_maybe_err
LBB0_12:
	movb	4(%r13), %r14b
	movzbl	%r14b, %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r12
	movq	%rax, 56(%r13)
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %r15
	movq	%rax, 8(%r13)
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, 40(%r13)
	testq	%r12, %r12
	je	LBB0_15
## %bb.13:
	testq	%r15, %r15
	je	LBB0_15
## %bb.14:
	testq	%rax, %rax
	jne	LBB0_16
LBB0_15:
	leaq	L_.str.7(%rip), %rdi
	callq	_maybe_err
	movb	4(%r13), %r14b
LBB0_16:
	decb	%r14b
	movb	%r14b, 4(%r13)
	movl	$1, 16(%r13)
	movq	$-1, %rbx
	movq	_EOF@GOTPCREL(%rip), %r14
	leaq	L_.str.8(%rip), %r15
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%r13), %rax
	movb	%r12b, 1(%rax,%rbx)
	movq	8(%r13), %rax
	movzbl	1(%rax,%rbx), %eax
	addl	%eax, 16(%r13)
	movzbl	4(%r13), %esi
	incq	%rbx
	cmpq	%rsi, %rbx
	jae	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rdi
	callq	_fgetc
	movl	%eax, %r12d
	cmpl	(%r14), %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rdi
	callq	_maybe_err
	jmp	LBB0_19
LBB0_20:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_accepted_bytes
	cmpl	$257, 16(%r13)                  ## imm = 0x101
	jl	LBB0_22
## %bb.21:
	leaq	L_.str.9(%rip), %rdi
	callq	_maybe_errx
LBB0_22:
	movzbl	4(%r13), %edi
	callq	_infile_newdata
	movl	16(%r13), %esi
	movl	$1, %edi
	callq	_calloc
	movq	%rax, 48(%r13)
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.7(%rip), %rdi
	callq	_maybe_err
LBB0_24:
	movq	8(%r13), %rax
	movzbl	4(%r13), %ecx
	incb	(%rax,%rcx)
	xorl	%r12d, %r12d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	%eax, %r15d
LBB0_30:                                ##   in Loop: Header=BB0_25 Depth=1
	movzbl	%r15b, %edi
	callq	_infile_newdata
	movq	8(%r13), %rax
	movzbl	(%rax,%r12), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_accepted_bytes
	leaq	1(%r12), %rcx
	movzbl	4(%r13), %eax
	cmpq	%rax, %r12
	movq	%rcx, %r12
	jae	LBB0_31
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	movq	24(%r13), %rax
	movq	40(%r13), %rcx
	movq	%rax, (%rcx,%r12,8)
	movq	8(%r13), %rax
	xorl	%r15d, %r15d
	cmpb	$0, (%rax,%r12)
	jne	LBB0_26
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=2
	movsbl	%bl, %eax
	movq	24(%r13), %rcx
	leaq	4(%rcx), %rdx
	movq	%rdx, 24(%r13)
	movl	%eax, (%rcx)
	incl	%r15d
	movq	8(%r13), %rax
	movzbl	(%rax,%r12), %eax
	cmpl	%eax, %r15d
	jae	LBB0_29
LBB0_26:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r13), %rdi
	callq	_fgetc
	movl	%eax, %ebx
	cmpl	(%r14), %eax
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	leaq	L_.str.10(%rip), %rdi
	callq	_maybe_errx
	jmp	LBB0_28
LBB0_31:
	movq	8(%r13), %rcx
	incb	(%rcx,%rax)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_unpackd_fill_inodesin
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PACK_HEADER_LENGTH,4,2         ## @PACK_HEADER_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prelen too long"

L_.str.1:                               ## @.str.1
	.asciz	"Error reading pack header"

	.comm	_HTREE_MAXLEVEL,1,0             ## @HTREE_MAXLEVEL
L_.str.2:                               ## @.str.2
	.asciz	"Huffman tree has insane levels"

L_.str.3:                               ## @.str.3
	.asciz	"r"

L_.str.4:                               ## @.str.4
	.asciz	"Can not fdopen() input stream"

L_.str.5:                               ## @.str.5
	.asciz	"w"

L_.str.6:                               ## @.str.6
	.asciz	"Can not fdopen() output stream"

L_.str.7:                               ## @.str.7
	.asciz	"calloc"

	.comm	_EOF,4,2                        ## @EOF
L_.str.8:                               ## @.str.8
	.asciz	"File appears to be truncated"

L_.str.9:                               ## @.str.9
	.asciz	"Bad symbol table"

L_.str.10:                              ## @.str.10
	.asciz	"Symbol table truncated"

	.no_dead_strip	_unpack_parse_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unpack_parse_header
_unpack_parse_header:                   ; @unpack_parse_header
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x25, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x26, _PACK_HEADER_LENGTH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PACK_HEADER_LENGTH@GOTPAGEOFF]
	ldr	w8, [x26]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x23, x9, x10
	mov	sp, x23
	cmp	x8, x3
	b.hs	LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_maybe_err
	b	LBB0_3
LBB0_2:
	cbz	x24, LBB0_33
LBB0_3:
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	bl	_memcpy
	ldr	w8, [x26]
LBB0_4:
	add	x1, x23, x24
	sxtw	x8, w8
	sub	x2, x8, x24
	mov	x0, x22
	bl	_read
	mov	x24, x0
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_maybe_err
LBB0_6:
	mov	x0, x24
	bl	_infile_newdata
	ldr	w1, [x26]
	mov	x0, x20
	bl	_accepted_bytes
	ldur	w8, [x23, #2]
	rev	w8, w8
	str	w8, [x19]
	ldrb	w8, [x23, #6]
	strb	w8, [x19, #4]
Lloh11:
	adrp	x9, _HTREE_MAXLEVEL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HTREE_MAXLEVEL@GOTPAGEOFF]
	ldrb	w9, [x9]
	sub	w8, w8, #1
	cmp	w9, w8, uxtb
	b.hi	LBB0_8
; %bb.7:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_maybe_errx
LBB0_8:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_fdopen
	str	x0, [x19, #32]
	cbnz	x0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_maybe_err
LBB0_10:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_fdopen
	str	x0, [x19, #64]
	cbnz	x0, LBB0_12
; %bb.11:
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_maybe_err
LBB0_12:
	ldrb	w21, [x19, #4]
	mov	x0, x21
	mov	w1, #4
	bl	_calloc
	mov	x23, x0
	str	x0, [x19, #56]
	mov	x0, x21
	mov	w1, #1
	bl	_calloc
	mov	x22, x0
	str	x0, [x19, #8]
	mov	x0, x21
	mov	w1, #8
	bl	_calloc
	str	x0, [x19, #40]
	cbz	x23, LBB0_15
; %bb.13:
	cbz	x22, LBB0_15
; %bb.14:
	cbnz	x0, LBB0_16
LBB0_15:
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_maybe_err
	ldrb	w21, [x19, #4]
LBB0_16:
	mov	x24, #0
	sub	w8, w21, #1
	strb	w8, [x19, #4]
	mov	w8, #1
	str	w8, [x19, #16]
Lloh25:
	adrp	x23, _EOF@GOTPAGE
Lloh26:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
Lloh27:
	adrp	x21, l_.str.8@PAGE
Lloh28:
	add	x21, x21, l_.str.8@PAGEOFF
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x19, #8]
	strb	w22, [x8, x24]
	ldr	x8, [x19, #8]
	ldrb	w8, [x8, x24]
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
	add	x8, x24, #1
	ldrb	w1, [x19, #4]
	cmp	x24, x1
	mov	x24, x8
	b.hs	LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #32]
	bl	_fgetc
	mov	x22, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x21
	bl	_maybe_err
	b	LBB0_17
LBB0_20:
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_accepted_bytes
	ldr	w8, [x19, #16]
	cmp	w8, #257
	b.lt	LBB0_22
; %bb.21:
Lloh29:
	adrp	x0, l_.str.9@PAGE
Lloh30:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_maybe_errx
LBB0_22:
	ldrb	w0, [x19, #4]
	bl	_infile_newdata
	ldr	w1, [x19, #16]
	mov	w0, #1
	bl	_calloc
	str	x0, [x19, #48]
	str	x0, [x19, #24]
	cbnz	x0, LBB0_24
; %bb.23:
Lloh31:
	adrp	x0, l_.str.7@PAGE
Lloh32:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_maybe_err
LBB0_24:
	mov	x24, #0
	ldr	x8, [x19, #8]
	ldrb	w9, [x19, #4]
	ldrb	w10, [x8, x9]
	add	w10, w10, #1
	strb	w10, [x8, x9]
Lloh33:
	adrp	x21, l_.str.10@PAGE
Lloh34:
	add	x21, x21, l_.str.10@PAGEOFF
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w0, w8
	bl	_infile_newdata
	ldr	x8, [x19, #8]
	ldrb	w1, [x8, x24]
	mov	x0, x20
	bl	_accepted_bytes
	add	x9, x24, #1
	ldrb	w8, [x19, #4]
	cmp	x24, x8
	mov	x24, x9
	b.hs	LBB0_31
LBB0_26:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #40]
	str	x8, [x9, x24, lsl #3]
	ldr	x8, [x19, #8]
	ldrb	w8, [x8, x24]
	cbz	w8, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w25, #0
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	sxtb	w8, w22
	ldr	x9, [x19, #24]
	str	w8, [x9], #4
	str	x9, [x19, #24]
	add	w25, w25, #1
	ldr	x8, [x19, #8]
	ldrb	w8, [x8, x24]
	cmp	w25, w8
	b.hs	LBB0_25
LBB0_29:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x19, #32]
	bl	_fgetc
	mov	x22, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x21
	bl	_maybe_errx
	b	LBB0_28
LBB0_31:
	ldr	x9, [x19, #8]
	ldrb	w10, [x9, x8]
	add	w10, w10, #1
	strb	w10, [x9, x8]
	mov	x0, x19
	mov	w1, #0
	bl	_unpackd_fill_inodesin
	ldur	x8, [x29, #-72]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.32:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_33:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	b	LBB0_4
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_PACK_HEADER_LENGTH,4,2         ; @PACK_HEADER_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prelen too long"

l_.str.1:                               ; @.str.1
	.asciz	"Error reading pack header"

	.comm	_HTREE_MAXLEVEL,1,0             ; @HTREE_MAXLEVEL
l_.str.2:                               ; @.str.2
	.asciz	"Huffman tree has insane levels"

l_.str.3:                               ; @.str.3
	.asciz	"r"

l_.str.4:                               ; @.str.4
	.asciz	"Can not fdopen() input stream"

l_.str.5:                               ; @.str.5
	.asciz	"w"

l_.str.6:                               ; @.str.6
	.asciz	"Can not fdopen() output stream"

l_.str.7:                               ; @.str.7
	.asciz	"calloc"

	.comm	_EOF,4,2                        ; @EOF
l_.str.8:                               ; @.str.8
	.asciz	"File appears to be truncated"

l_.str.9:                               ; @.str.9
	.asciz	"Bad symbol table"

l_.str.10:                              ; @.str.10
	.asciz	"Symbol table truncated"

	.no_dead_strip	_unpack_parse_header
.subsections_via_symbols
