	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_base_block
_process_base_block:                    ## @process_base_block
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_get_context
	movq	%rax, %r14
	movq	$0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	%rbx, %rdi
	callq	_skip_unprocessed_bytes
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_24
## %bb.1:
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_read_u32
	testl	%eax, %eax
	je	LBB0_22
## %bb.2:
	leaq	-80(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_22
## %bb.3:
	movq	-80(%rbp), %r12
	cmpq	$2097153, %r12                  ## imm = 0x200001
	jb	LBB0_5
## %bb.4:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_14
LBB0_5:
	addq	-72(%rbp), %r12
	leaq	-88(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_read_ahead
	testl	%eax, %eax
	je	LBB0_22
## %bb.6:
	movq	-88(%rbp), %rsi
	xorl	%edi, %edi
	movl	%r12d, %edx
	callq	_crc32
	cmpq	-96(%rbp), %rax
	jne	LBB0_13
## %bb.7:
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_consume
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.8:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_22
## %bb.9:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_22
## %bb.10:
	movq	-56(%rbp), %rcx
	movq	_HFL_SPLIT_AFTER@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	movq	(%rax), %rax
	andq	%rcx, %rax
	setne	%dl
	movl	%edx, 16(%r14)
	movq	_HFL_SPLIT_BEFORE@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	movq	(%rax), %rax
	andq	%rcx, %rax
	setne	%dl
	movl	%edx, 20(%r14)
	movl	%r12d, 24(%r14)
	movq	-64(%rbp), %rax
	movl	%eax, 28(%r14)
	movl	$0, (%r14)
	cmpq	$5, %rax
	ja	LBB0_15
## %bb.11:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_process_head_main
	cmpl	(%r13), %eax
	je	LBB0_16
	jmp	LBB0_24
LBB0_13:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_14:
	movq	%rbx, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_15:
	movq	_HFL_SKIP_IF_UNKNOWN@GOTPCREL(%rip), %rax
	testq	%rcx, (%rax)
	je	LBB0_25
LBB0_16:
	movq	_ARCHIVE_RETRY@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_17:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_process_head_file
	jmp	LBB0_24
LBB0_18:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_process_head_service
	jmp	LBB0_24
LBB0_19:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_14
LBB0_20:
	movl	$1, (%r14)
	cmpl	$0, 8(%r14)
	je	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	callq	_scan_for_signature
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_26
LBB0_22:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
LBB0_24:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_14
LBB0_26:
	movl	12(%r14), %eax
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
## %bb.27:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	callq	_archive_set_error
	movl	(%r15), %eax
	jmp	LBB0_24
LBB0_28:
	movl	4(%r14), %eax
	incl	%eax
	movl	%eax, 12(%r14)
	movl	(%r13), %eax
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_12
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Base block header is too large"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"Header CRC error"

	.comm	_HFL_SPLIT_AFTER,8,3            ## @HFL_SPLIT_AFTER
	.comm	_HFL_SPLIT_BEFORE,8,3           ## @HFL_SPLIT_BEFORE
	.comm	_ARCHIVE_RETRY,4,2              ## @ARCHIVE_RETRY
L_.str.2:                               ## @.str.2
	.asciz	"Encryption is not supported"

	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
L_.str.3:                               ## @.str.3
	.asciz	"Header error"

	.comm	_HFL_SKIP_IF_UNKNOWN,8,3        ## @HFL_SKIP_IF_UNKNOWN
L_.str.4:                               ## @.str.4
	.asciz	"Header type error"

	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ## @ARCHIVE_ERRNO_PROGRAMMER
	.no_dead_strip	_process_base_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_base_block
_process_base_block:                    ; @process_base_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_get_context
	mov	x20, x0
	str	xzr, [sp, #32]
	stp	xzr, xzr, [sp, #8]
	mov	x0, x19
	bl	_skip_unprocessed_bytes
Lloh0:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_24
; %bb.1:
	add	x1, sp, #40
	mov	x0, x19
	bl	_read_u32
	cbz	w0, LBB0_22
; %bb.2:
	add	x1, sp, #32
	add	x2, sp, #24
	mov	x0, x19
	bl	_read_var_sized
	cbz	w0, LBB0_22
; %bb.3:
	ldr	x8, [sp, #32]
	cmp	x8, #512, lsl #12               ; =2097152
	b.ls	LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_14
LBB0_5:
	ldr	x9, [sp, #24]
	add	x22, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	x1, x22
	bl	_read_ahead
	cbz	w0, LBB0_22
; %bb.6:
	ldr	x1, [sp]
	mov	w0, #0
	mov	x2, x22
	bl	_crc32
	ldr	x8, [sp, #40]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.7:
	ldr	w24, [x23]
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_consume
	cmp	w24, w0
	b.ne	LBB0_22
; %bb.8:
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_22
; %bb.9:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_22
; %bb.10:
	ldr	x3, [sp, #8]
Lloh7:
	adrp	x8, _HFL_SPLIT_AFTER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HFL_SPLIT_AFTER@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	tst	x8, x3
	cset	w8, ne
Lloh10:
	adrp	x9, _HFL_SPLIT_BEFORE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HFL_SPLIT_BEFORE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	tst	x9, x3
	cset	w9, ne
	stp	w8, w9, [x20, #16]
	ldr	x8, [sp, #16]
	stp	w22, w8, [x20, #24]
	str	wzr, [x20]
	cmp	x8, #5
	b.hi	LBB0_15
; %bb.11:
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_process_head_main
	ldr	w8, [x23]
Lloh15:
	adrp	x9, _ARCHIVE_RETRY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ARCHIVE_RETRY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w0, w9, w0, eq
	b	LBB0_24
LBB0_13:
Lloh18:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_archive_set_error
Lloh23:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_23
LBB0_15:
Lloh25:
	adrp	x8, _HFL_SKIP_IF_UNKNOWN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HFL_SKIP_IF_UNKNOWN@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	tst	x8, x3
	b.eq	LBB0_25
; %bb.16:
Lloh28:
	adrp	x8, _ARCHIVE_RETRY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ARCHIVE_RETRY@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_process_head_file
	b	LBB0_24
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_process_head_service
	b	LBB0_24
LBB0_19:
Lloh30:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_20:
	mov	w8, #1
	str	w8, [x20]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_scan_for_signature
Lloh35:
	adrp	x21, _ARCHIVE_FATAL@GOTPAGE
Lloh36:
	ldr	x21, [x21, _ARCHIVE_FATAL@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_26
LBB0_22:
Lloh37:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
Lloh39:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.4@PAGE
Lloh43:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_26:
	ldr	w8, [x20, #12]
Lloh44:
	adrp	x9, _UINT_MAX@GOTPAGE
Lloh45:
	ldr	x9, [x9, _UINT_MAX@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.27:
Lloh47:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x2, l_.str.3@PAGE
Lloh51:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
	ldr	w0, [x21]
	b	LBB0_24
LBB0_28:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #12]
	ldr	w0, [x23]
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_17-LBB0_12)>>2
	.byte	(LBB0_18-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Base block header is too large"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"Header CRC error"

	.comm	_HFL_SPLIT_AFTER,8,3            ; @HFL_SPLIT_AFTER
	.comm	_HFL_SPLIT_BEFORE,8,3           ; @HFL_SPLIT_BEFORE
	.comm	_ARCHIVE_RETRY,4,2              ; @ARCHIVE_RETRY
l_.str.2:                               ; @.str.2
	.asciz	"Encryption is not supported"

	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
l_.str.3:                               ; @.str.3
	.asciz	"Header error"

	.comm	_HFL_SKIP_IF_UNKNOWN,8,3        ; @HFL_SKIP_IF_UNKNOWN
l_.str.4:                               ; @.str.4
	.asciz	"Header type error"

	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ; @ARCHIVE_ERRNO_PROGRAMMER
	.no_dead_strip	_process_base_block
.subsections_via_symbols
