	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_block_header
_parse_block_header:                    ## @parse_block_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rcx, %rdi
	movl	$16, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_bf_byte_count
	cmpl	$3, %eax
	jl	LBB0_2
## %bb.1:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_bf_byte_count
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r13
	jmp	LBB0_11
LBB0_2:
	movl	$0, (%r15)
	movq	%rbx, %rdi
	callq	_bf_byte_count
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r13
	cmpl	$2, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$1, %eax
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:
	movl	8(%r12), %eax
	jmp	LBB0_8
LBB0_7:
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_archive_le32dec
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	jmp	LBB0_8
LBB0_6:
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_archive_le16dec
LBB0_8:
	movl	%eax, (%r15)
	movl	%eax, %ecx
	sarl	$8, %ecx
	movl	%eax, %edx
	sarl	$16, %edx
	xorl	%ecx, %edx
	xorl	8(%rbx), %eax
	xorl	%edx, %eax
	xorl	$90, %eax
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_10
## %bb.9:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	jmp	LBB0_11
LBB0_10:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_11:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported block header size (was %d, max is 2)"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"Block checksum error: got 0x%x, expected 0x%x"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_parse_block_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_block_header
_parse_block_header:                    ; @parse_block_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x3
	mov	w2, #16
	bl	_memcpy
	mov	x0, x20
	bl	_bf_byte_count
	cmp	w0, #3
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_bf_byte_count
	mov	x3, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	b	LBB0_11
LBB0_2:
	str	wzr, [x21]
	mov	x0, x20
	bl	_bf_byte_count
	cmp	w0, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.4:
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	w0, [x22, #8]
	b	LBB0_8
LBB0_6:
	add	x0, x22, #8
	bl	_archive_le32dec
	and	w0, w0, #0xffffff
	b	LBB0_8
LBB0_7:
	add	x0, x22, #8
	bl	_archive_le16dec
LBB0_8:
	str	w0, [x21]
	ldr	w8, [x20, #8]
	eor	w8, w0, w8
	eor	w8, w8, w0, asr #8
	eor	w8, w8, w0, asr #16
	mov	w9, #90
	eor	w8, w8, w9
	ldr	w3, [x20]
	cmp	w8, w3
	b.ne	LBB0_10
; %bb.9:
Lloh5:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh7:
	adrp	x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_11:
	bl	_archive_set_error
LBB0_12:
Lloh12:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported block header size (was %d, max is 2)"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"Block checksum error: got 0x%x, expected 0x%x"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_parse_block_header
.subsections_via_symbols
