	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zlib_deflate_raw
_zlib_deflate_raw:                      ## @zlib_deflate_raw
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-88(%rbp), %r13
	movq	%r13, %rdi
	movl	%edx, %esi
	callq	_git_deflate_init_raw
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_git_deflate_bound
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_xmalloc
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)
	movq	%r12, -88(%rbp)
	movq	%rax, -64(%rbp)
	movq	%r14, -80(%rbp)
	movq	_Z_FINISH@GOTPCREL(%rip), %r14
	movq	_Z_OK@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_git_deflate
	cmpl	(%rbx), %eax
	je	LBB0_1
## %bb.2:
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.4:
	leaq	-88(%rbp), %rdi
	callq	_git_deflate_end
	movq	-72(%rbp), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	callq	_free
	xorl	%r15d, %r15d
LBB0_5:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.no_dead_strip	_zlib_deflate_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zlib_deflate_raw
_zlib_deflate_raw:                      ; @zlib_deflate_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #8
	mov	x1, x2
	bl	_git_deflate_init_raw
	add	x0, sp, #8
	mov	x1, x21
	bl	_git_deflate_bound
	mov	x23, x0
	bl	_xmalloc
	mov	x20, x0
	stp	x0, x22, [sp, #32]
	stp	x21, x23, [sp, #8]
Lloh0:
	adrp	x21, _Z_FINISH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _Z_FINISH@GOTPAGEOFF]
Lloh2:
	adrp	x22, _Z_OK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _Z_OK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	add	x0, sp, #8
	bl	_git_deflate
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_1
; %bb.2:
Lloh4:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	add	x0, sp, #8
	bl	_git_deflate_end
	ldr	x8, [sp, #24]
	str	x8, [x19]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_free
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.no_dead_strip	_zlib_deflate_raw
.subsections_via_symbols
