	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inflate_flush                  ## -- Begin function inflate_flush
	.p2align	4, 0x90
_inflate_flush:                         ## @inflate_flush
	.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	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	movq	24(%rdi), %r12
	cmpq	%r12, %rbx
	jbe	LBB0_2
## %bb.1:
	movq	40(%r13), %r12
LBB0_2:
	subq	%rbx, %r12
	sarq	$2, %r12
	movq	(%r15), %rax
	cmpq	%rax, %r12
	cmovgeq	%rax, %r12
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rdi
	movq	_Z_OK@GOTPCREL(%rip), %rsi
	movl	%edx, %ecx
	cmpl	%edx, (%rdi)
	jne	LBB0_4
## %bb.3:
	movl	(%rsi), %ecx
LBB0_4:
	movq	8(%r15), %r14
	testq	%r12, %r12
	cmovnel	%ecx, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	subq	%r12, %rax
	movq	%rax, (%r15)
	addl	%r12d, 20(%r15)
	movq	16(%r13), %rax
	cmpq	_Z_NULL@GOTPCREL(%rip), %rax
	je	LBB0_6
## %bb.5:
	movl	8(%r13), %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	*%rax
	movl	%eax, 8(%r13)
	movl	%eax, 16(%r15)
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_zmemcpy
	leaq	(%r14,%r12,4), %r14
	leaq	(%rbx,%r12,4), %rcx
	cmpq	40(%r13), %rcx
	jne	LBB0_14
## %bb.7:
	movq	24(%r13), %rbx
	movq	32(%r13), %r12
	cmpq	%rcx, %rbx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_9
## %bb.8:
	movq	%r12, 24(%r13)
	movq	%r12, %rbx
LBB0_9:
	subq	%r12, %rbx
	sarq	$2, %rbx
	movq	(%r15), %rax
	cmpq	%rax, %rbx
	cmovgeq	%rax, %rbx
	movl	%edx, %ecx
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_11
## %bb.10:
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_11:
	testq	%rbx, %rbx
	cmovnel	%ecx, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	subq	%rbx, %rax
	movq	%rax, (%r15)
	addl	%ebx, 20(%r15)
	movq	16(%r13), %rax
	cmpq	_Z_NULL@GOTPCREL(%rip), %rax
	je	LBB0_13
## %bb.12:
	movl	8(%r13), %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	*%rax
	movl	%eax, 8(%r13)
	movl	%eax, 16(%r15)
LBB0_13:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_zmemcpy
	leaq	(%r14,%rbx,4), %r14
	leaq	(%r12,%rbx,4), %rcx
LBB0_14:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	%r14, 8(%r15)
	movq	%rcx, (%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.comm	_Z_OK,4,2                       ## @Z_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inflate_flush                  ; -- Begin function inflate_flush
	.p2align	2
_inflate_flush:                         ; @inflate_flush
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x1, #8]
	ldr	x23, [x0]
	ldr	x8, [x0, #24]
	cmp	x23, x8
	b.ls	LBB0_2
; %bb.1:
	ldr	x8, [x19, #40]
LBB0_2:
	sub	x8, x8, x23
	asr	x8, x8, #2
	ldr	x9, [x20]
	cmp	x8, x9
	csel	x24, x8, x9, lt
Lloh0:
	adrp	x25, _Z_BUF_ERROR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _Z_BUF_ERROR@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w2
Lloh2:
	adrp	x26, _Z_OK@GOTPAGE
Lloh3:
	ldr	x26, [x26, _Z_OK@GOTPAGEOFF]
	ccmp	x24, #0, #4, eq
	ldr	w8, [x26]
	csel	w21, w8, w2, ne
	sub	x8, x9, x24
	str	x8, [x20]
	ldr	w8, [x20, #20]
	add	w8, w8, w24
	str	w8, [x20, #20]
	ldr	x8, [x19, #16]
Lloh4:
	adrp	x27, _Z_NULL@GOTPAGE
Lloh5:
	ldr	x27, [x27, _Z_NULL@GOTPAGEOFF]
	cmp	x8, x27
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	mov	x1, x23
	mov	x2, x24
	blr	x8
	str	w0, [x19, #8]
	str	w0, [x20, #16]
LBB0_4:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_zmemcpy
	lsl	x8, x24, #2
	add	x22, x22, x8
	ldr	x9, [x19, #40]
	add	x8, x23, x8
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.5:
	ldp	x9, x23, [x19, #24]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	str	x23, [x19, #24]
	mov	x9, x23
LBB0_7:
	sub	x8, x9, x23
	asr	x8, x8, #2
	ldr	x9, [x20]
	cmp	x8, x9
	csel	x24, x8, x9, lt
	ldr	w8, [x25]
	cmp	w21, w8
	ccmp	x24, #0, #4, eq
	ldr	w8, [x26]
	csel	w21, w8, w21, ne
	sub	x8, x9, x24
	str	x8, [x20]
	ldr	w8, [x20, #20]
	add	w8, w8, w24
	str	w8, [x20, #20]
	ldr	x8, [x19, #16]
	cmp	x8, x27
	b.eq	LBB0_9
; %bb.8:
	ldr	w0, [x19, #8]
	mov	x1, x23
	mov	x2, x24
	blr	x8
	str	w0, [x19, #8]
	str	w0, [x20, #16]
LBB0_9:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_zmemcpy
	lsl	x8, x24, #2
	add	x22, x22, x8
	add	x8, x23, x8
LBB0_10:
	str	x22, [x20, #8]
	str	x8, [x19]
	mov	x0, x21
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.comm	_Z_OK,4,2                       ; @Z_OK
.subsections_via_symbols
