	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _chm_get_cmpblock_bounds
__chm_get_cmpblock_bounds:              ## @_chm_get_cmpblock_bounds
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rdi), %r14d
	decl	%r14d
	leaq	-80(%rbp), %r12
	movq	%r12, -96(%rbp)
	movl	$8, -84(%rbp)
	leal	(,%rbx,8), %r15d
	movl	(%rdi), %edx
	addl	%r15d, %edx
	addl	20(%rdi), %edx
	addl	12(%rdi), %edx
	movq	%r12, %rsi
	movl	$8, %ecx
	callq	__chm_fetch_bytes
	cmpl	%ebx, %r14d
	jle	LBB0_6
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpl	$8, %eax
	jne	LBB0_10
## %bb.2:
	leaq	-96(%rbp), %rdi
	leaq	-84(%rbp), %rsi
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	callq	__unmarshal_uint64
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	%r12, -96(%rbp)
	movl	$8, -84(%rbp)
	addl	(%r13), %r15d
	movl	12(%r13), %eax
	addl	20(%r13), %r15d
	leal	(%rax,%r15), %edx
	addl	$8, %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$8, %ecx
	callq	__chm_fetch_bytes
	cmpl	-84(%rbp), %eax
	jne	LBB0_10
## %bb.4:
	leaq	-96(%rbp), %rdi
	leaq	-84(%rbp), %rsi
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdx
	callq	__unmarshal_int64
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movl	(%r15), %eax
	jmp	LBB0_9
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpl	$8, %eax
	jne	LBB0_10
## %bb.7:
	leaq	-96(%rbp), %rdi
	leaq	-84(%rbp), %rsi
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	callq	__unmarshal_uint64
	testl	%eax, %eax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	movl	16(%r13), %eax
	movl	%eax, (%r15)
LBB0_9:
	subl	(%r14), %eax
	movl	%eax, (%r15)
	movl	4(%r13), %eax
	addl	(%r13), %eax
	addl	%eax, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rbx
LBB0_10:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	__chm_get_cmpblock_bounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _chm_get_cmpblock_bounds
__chm_get_cmpblock_bounds:              ; @_chm_get_cmpblock_bounds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldp	w8, w9, [x0, #8]
	sub	w24, w8, #1
	add	x8, sp, #24
	str	x8, [sp, #16]
	mov	w8, #8
	str	w8, [sp, #12]
	ldr	w8, [x0]
	ldr	w10, [x0, #20]
	lsl	w23, w1, #3
	add	w8, w8, w23
	add	w8, w8, w10
	add	w2, w8, w9
	add	x1, sp, #24
	mov	w3, #8
	bl	__chm_fetch_bytes
	cmp	w24, w22
	b.le	LBB0_6
; %bb.1:
	cmp	w0, #8
	b.ne	LBB0_10
; %bb.2:
	add	x0, sp, #16
	add	x1, sp, #12
	mov	x2, x19
	bl	__unmarshal_uint64
	cbz	w0, LBB0_10
; %bb.3:
	add	x8, sp, #24
	str	x8, [sp, #16]
	mov	w8, #8
	str	w8, [sp, #12]
	ldr	w8, [x21]
	ldr	w9, [x21, #20]
	ldr	w10, [x21, #12]
	add	w8, w23, w8
	add	w8, w8, w9
	add	w8, w8, w10
	add	w2, w8, #8
	add	x1, sp, #24
	mov	x0, x21
	mov	w3, #8
	bl	__chm_fetch_bytes
	ldr	w8, [sp, #12]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.4:
	add	x0, sp, #16
	add	x1, sp, #12
	mov	x2, x20
	bl	__unmarshal_int64
	cbz	w0, LBB0_10
; %bb.5:
	ldr	w8, [x20]
	b	LBB0_9
LBB0_6:
	cmp	w0, #8
	b.ne	LBB0_10
; %bb.7:
	add	x0, sp, #16
	add	x1, sp, #12
	mov	x2, x19
	bl	__unmarshal_uint64
	cbz	w0, LBB0_10
; %bb.8:
	ldr	w8, [x21, #16]
	str	w8, [x20]
LBB0_9:
	ldr	w9, [x19]
	sub	w8, w8, w9
	str	w8, [x20]
	ldp	w8, w9, [x21]
	ldr	w10, [x19]
	add	w8, w9, w8
	add	w8, w8, w10
	str	w8, [x19]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldr	x8, [sp, #56]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	__chm_get_cmpblock_bounds
.subsections_via_symbols
