	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inflate_block
_inflate_block:                         ## @inflate_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movq	8(%rdi), %rax
	addq	$18, %rax
	movq	%rax, -64(%rbp)
	addl	$-16, %esi
	movl	%esi, -80(%rbp)
	movl	4(%rdi), %eax
	movl	%eax, -68(%rbp)
	movq	_BGZF_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-80(%rbp), %rdi
	movl	$-15, %esi
	callq	_inflateInit2
	movq	_Z_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.2:
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_inflate
	movq	%rax, %r15
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r14, %rdi
	callq	_inflateEnd
	cmpq	%r13, %r15
	jne	LBB0_1
## %bb.3:
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.4:
	movl	-76(%rbp), %eax
	jmp	LBB0_5
LBB0_1:
	movq	_BGZF_ERR_ZLIB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movl	$-1, %eax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BGZF_BLOCK_SIZE,4,2            ## @BGZF_BLOCK_SIZE
	.comm	_Z_OK,8,3                       ## @Z_OK
	.comm	_BGZF_ERR_ZLIB,4,2              ## @BGZF_ERR_ZLIB
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_STREAM_END,8,3               ## @Z_STREAM_END
	.no_dead_strip	_inflate_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inflate_block
_inflate_block:                         ; @inflate_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	stp	xzr, xzr, [sp, #32]
	ldr	x8, [x0, #8]
	add	x8, x8, #18
	str	x8, [sp, #24]
	sub	w8, w1, #16
	ldr	w9, [x0, #4]
	str	w9, [sp, #20]
Lloh0:
	adrp	x9, _BGZF_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BGZF_BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w8, [sp, #8]
	str	w9, [sp, #16]
	add	x0, sp, #8
	mov	w1, #-15
	bl	_inflateInit2
Lloh3:
	adrp	x21, _Z_OK@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Z_OK@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _Z_FINISH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Z_FINISH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_inflate
	mov	x20, x0
Lloh8:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh10:
	ldr	x22, [x8]
	add	x0, sp, #8
	bl	_inflateEnd
	cmp	x20, x22
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _BGZF_ERR_ZLIB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BGZF_ERR_ZLIB@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	w0, #-1
LBB0_5:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BGZF_BLOCK_SIZE,4,2            ; @BGZF_BLOCK_SIZE
	.comm	_Z_OK,8,3                       ; @Z_OK
	.comm	_BGZF_ERR_ZLIB,4,2              ; @BGZF_ERR_ZLIB
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_STREAM_END,8,3               ; @Z_STREAM_END
	.no_dead_strip	_inflate_block
.subsections_via_symbols
