	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unpack_decode
_unpack_decode:                         ## @unpack_decode
	.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	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	48(%rdi), %edi
	callq	_fgetc
	movq	_EOF@GOTPCREL(%rip), %rcx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_4:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	48(%rdx), %edi
	callq	_fgetc
	movl	%eax, %ecx
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	je	LBB0_2
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_accepted_bytes
	movl	$1, %edi
	callq	_infile_newdata
	xorl	%eax, %eax
	callq	_check_siginfo
	movl	$7, %r15d
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%rdx), %rcx
	movslq	%ebx, %rax
	addq	(%rcx,%r13,8), %rax
	cmpq	24(%rdx), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movsbl	(%rax), %edi
	movl	44(%rdx), %esi
	callq	_fputc
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=2
	addl	$-1, %r15d
	jae	LBB0_5
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	btl	%r15d, %ecx
	setb	%al
	leal	(%rax,%r14,2), %r14d
	movq	(%rdx), %rax
	movslq	%r12d, %r13
	movl	%r14d, %ebx
	subl	(%rax,%r13,4), %ebx
	jge	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	%r12d, %eax
	incl	%r12d
	cmpl	40(%rdx), %eax
	jl	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	leaq	L_.str(%rip), %rdi
	callq	_maybe_errx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rdx), %rax
	cmpl	(%rax,%r13,4), %ebx
	jle	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	leaq	L_.str(%rip), %rdi
	callq	_maybe_errx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	32(%rdx), %rbx
	jne	LBB0_12
LBB0_2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	32(%rax), %rcx
	jne	LBB0_3
## %bb.16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_maybe_errx                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"File corrupt"

L_.str.1:                               ## @.str.1
	.asciz	"Premature EOF"

	.no_dead_strip	_unpack_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unpack_decode
_unpack_decode:                         ; @unpack_decode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #48]
	bl	_fgetc
Lloh0:
	adrp	x24, _EOF@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EOF@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x23, #0
	b	LBB0_14
LBB0_2:
	mov	x21, x0
	mov	w26, #0
	mov	x23, #0
	mov	w25, #0
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #48]
	bl	_fgetc
	mov	x21, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	mov	w1, #1
	bl	_accepted_bytes
	mov	w0, #1
	bl	_infile_newdata
	bl	_check_siginfo
	mov	w27, #7
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldp	x8, x9, [x19, #16]
	ldr	x8, [x8, x28, lsl #3]
	add	x8, x8, w26, sxtw
	cmp	x8, x9
	b.eq	LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldrsb	w0, [x8]
	ldr	w1, [x19, #44]
	bl	_fputc
	mov	w25, #0
	mov	w26, #0
	add	x23, x23, #1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	sub	w27, w27, #1
	cmn	w27, #1
	b.eq	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x25
	lsr	w25, w21, w27
	bfi	w25, w8, #1, #31
	ldr	x8, [x19]
	sxtw	x28, w26
	ldr	w8, [x8, w26, sxtw #2]
	subs	w26, w25, w8
	b.ge	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	w26, w28, #1
	ldr	w8, [x19, #40]
	cmp	w28, w8
	b.lt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x22
	bl	_maybe_errx
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x28, lsl #2]
	cmp	w26, w8
	b.le	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x22
	bl	_maybe_errx
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x9, [x19, #32]
	cmp	x23, x9
	b.ne	LBB0_6
LBB0_14:
	ldr	x8, [x19, #32]
	cmp	x23, x8
	b.ne	LBB0_16
; %bb.15:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_maybe_errx
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"File corrupt"

l_.str.1:                               ; @.str.1
	.asciz	"Premature EOF"

	.no_dead_strip	_unpack_decode
.subsections_via_symbols
