	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decompress_ctf
_decompress_ctf:                        ## @decompress_ctf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	$0, -24(%rbp)
	movq	%rdi, -64(%rbp)
	movq	%rsi, -88(%rbp)
	movq	%rdx, -48(%rbp)
	movq	%rcx, -80(%rbp)
	leaq	-88(%rbp), %rdi
	callq	_inflateInit
	movq	_Z_OK@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_3
## %bb.1:
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdi
	callq	_inflate
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	leaq	-88(%rbp), %rdi
	callq	_inflateEnd
	cmpl	(%r14), %eax
	jne	LBB0_3
## %bb.4:
	movl	-56(%rbp), %edx
	movq	-72(%rbp), %rcx
	movq	-64(%rbp), %r8
	subq	%rbx, %r8
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edi
	callq	_debug
	movq	-72(%rbp), %rax
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %edi
	callq	_zError
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_warning
	xorl	%eax, %eax
LBB0_5:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTF decompress zlib error %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"reflated %lu bytes to %lu, pointer at %d\n"

	.no_dead_strip	_decompress_ctf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decompress_ctf
_decompress_ctf:                        ; @decompress_ctf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	stp	xzr, xzr, [sp, #56]
	str	xzr, [sp, #72]
	str	x0, [sp, #32]
	str	x2, [sp, #48]
	stp	x1, x3, [sp, #8]
	add	x0, sp, #8
	bl	_inflateInit
Lloh0:
	adrp	x20, _Z_OK@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Z_OK@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _Z_NO_FLUSH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_inflate
Lloh5:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	add	x0, sp, #8
	bl	_inflateEnd
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	w2, [sp, #40]
	ldp	x3, x8, [sp, #24]
	sub	x4, x8, x19
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #3
	bl	_debug
	ldr	x0, [sp, #24]
	b	LBB0_5
LBB0_4:
	bl	_zError
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTF decompress zlib error %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"reflated %lu bytes to %lu, pointer at %d\n"

	.no_dead_strip	_decompress_ctf
.subsections_via_symbols
