	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_deflate_block_size
_calc_deflate_block_size:               ## @calc_deflate_block_size
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	%rax, -40(%rbp)
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_deflateInit
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	movl	$-1, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_deflateBound
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_deflateEnd
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Z_OK,8,3                       ## @Z_OK
	.no_dead_strip	_calc_deflate_block_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_deflate_block_size
_calc_deflate_block_size:               ; @calc_deflate_block_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [sp, #16]
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	w1, #0
	bl	_deflateInit
Lloh3:
	adrp	x8, _Z_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	x1, x19
	bl	_deflateBound
	mov	x19, x0
	add	x0, sp, #8
	bl	_deflateEnd
	b	LBB0_3
LBB0_2:
	mov	w19, #-1
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Z_OK,8,3                       ; @Z_OK
	.no_dead_strip	_calc_deflate_block_size
.subsections_via_symbols
