	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_chunk_header
_read_chunk_header:                     ## @read_chunk_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	%rsi, %rax
	subq	%rdi, %rax
	xorl	%r14d, %r14d
	cmpq	$32, %rax
	jl	LBB0_15
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movups	(%rdi), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_dword_be
	movl	%eax, 8(%r15)
	cltq
	leaq	(%r12,%rax,4), %rax
	addq	$32, %rax
	cmpq	%rbx, %rax
	ja	LBB0_15
## %bb.2:
	movl	16(%r12), %ecx
	cmpl	$65, %ecx
	jl	LBB0_15
## %bb.3:
	cmpl	$122, %ecx
	ja	LBB0_15
## %bb.4:
	leal	-91(%rcx), %eax
	cmpl	$6, %eax
	jb	LBB0_15
## %bb.5:
	movq	(%r15), %rax
	movl	%ecx, (%rax)
	movl	20(%r12), %ecx
	cmpl	$65, %ecx
	jge	LBB0_6
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$122, %ecx
	ja	LBB0_15
## %bb.7:
	leal	-91(%rcx), %edx
	cmpl	$6, %edx
	jb	LBB0_15
## %bb.8:
	movl	%ecx, 4(%rax)
	movl	24(%r12), %ecx
	cmpl	$65, %ecx
	jl	LBB0_15
## %bb.9:
	cmpl	$122, %ecx
	ja	LBB0_15
## %bb.10:
	leal	-91(%rcx), %edx
	cmpl	$6, %edx
	jb	LBB0_15
## %bb.11:
	movl	%ecx, 8(%rax)
	movl	28(%r12), %ecx
	cmpl	$65, %ecx
	jl	LBB0_15
## %bb.12:
	cmpl	$122, %ecx
	ja	LBB0_15
## %bb.13:
	leal	-91(%rcx), %edx
	cmpl	$6, %edx
	jb	LBB0_15
## %bb.14:
	movl	%ecx, 12(%rax)
	movl	$1, %r14d
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_chunk_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_chunk_header
_read_chunk_header:                     ; @read_chunk_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	sub	x8, x1, x0
	cmp	x8, #32
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	q0, [x0]
	str	q0, [sp]
	mov	x0, sp
	bl	_dword_be
	str	w0, [x20, #8]
	add	x8, x19, w0, sxtw #2
	add	x8, x8, #32
	cmp	x8, x21
	b.hi	LBB0_3
; %bb.2:
	ldr	w9, [x19, #16]
	cmp	w9, #65
	b.ge	LBB0_6
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.5:
	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
	add	sp, sp, #80
	ret
LBB0_6:
	mov	w0, #0
	cmp	w9, #122
	b.hi	LBB0_4
; %bb.7:
	sub	w8, w9, #91
	cmp	w8, #6
	b.lo	LBB0_4
; %bb.8:
	ldr	x8, [x20]
	str	w9, [x8]
	ldr	w9, [x19, #20]
	cmp	w9, #65
	b.lt	LBB0_3
; %bb.9:
	mov	w0, #0
	cmp	w9, #122
	b.hi	LBB0_4
; %bb.10:
	sub	w10, w9, #91
	cmp	w10, #6
	b.lo	LBB0_4
; %bb.11:
	str	w9, [x8, #4]
	ldr	w9, [x19, #24]
	cmp	w9, #65
	b.lt	LBB0_3
; %bb.12:
	mov	w0, #0
	cmp	w9, #122
	b.hi	LBB0_4
; %bb.13:
	sub	w10, w9, #91
	cmp	w10, #6
	b.lo	LBB0_4
; %bb.14:
	str	w9, [x8, #8]
	ldr	w9, [x19, #28]
	cmp	w9, #65
	b.lt	LBB0_3
; %bb.15:
	mov	w0, #0
	cmp	w9, #122
	b.hi	LBB0_4
; %bb.16:
	sub	w10, w9, #91
	cmp	w10, #6
	b.lo	LBB0_4
; %bb.17:
	str	w9, [x8, #12]
	mov	w0, #1
	b	LBB0_4
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_chunk_header
.subsections_via_symbols
