	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_compressed
_write_compressed:                      ## @write_compressed
	.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
	movl	$4136, %eax                     ## imm = 0x1028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_zlib_compression_level@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4176(%rbp), %rdi
	callq	_git_deflate_init
	movq	%rbx, -4152(%rbp)
	movl	%r12d, -4176(%rbp)
	leaq	-4144(%rbp), %r12
	movq	_Z_FINISH@GOTPCREL(%rip), %r13
	movq	_Z_OK@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, -4168(%rbp)
	movl	$4096, -4160(%rbp)              ## imm = 0x1000
	movl	(%r13), %esi
	leaq	-4176(%rbp), %rdi
	callq	_git_deflate
	movl	%eax, %ebx
	movl	$4096, %edx                     ## imm = 0x1000
	subl	-4160(%rbp), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_hashwrite
	cmpl	(%r14), %ebx
	je	LBB0_1
## %bb.2:
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_die
LBB0_4:
	movl	-4156(%rbp), %ebx
	leaq	-4176(%rbp), %rdi
	callq	_git_deflate_end
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$4136, %rsp                     ## imm = 0x1028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_zlib_compression_level,4,2     ## @zlib_compression_level
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to deflate appended object (%d)"

	.no_dead_strip	_write_compressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_compressed
_write_compressed:                      ; @write_compressed
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	mov	w9, #4144
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh5:
	adrp	x8, _zlib_compression_level@GOTPAGE
Lloh6:
	ldr	x8, [x8, _zlib_compression_level@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_git_deflate_init
	str	x21, [sp, #32]
	str	w20, [sp, #8]
	add	x21, sp, #40
	mov	w22, #4096
Lloh8:
	adrp	x23, _Z_FINISH@GOTPAGE
Lloh9:
	ldr	x23, [x23, _Z_FINISH@GOTPAGEOFF]
Lloh10:
	adrp	x24, _Z_OK@GOTPAGE
Lloh11:
	ldr	x24, [x24, _Z_OK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	x21, [sp, #16]
	str	w22, [sp, #24]
	ldr	w1, [x23]
	add	x0, sp, #8
	bl	_git_deflate
	mov	x20, x0
	ldr	w8, [sp, #24]
	sub	w2, w22, w8
	add	x1, sp, #40
	mov	x0, x19
	bl	_hashwrite
	ldr	w8, [x24]
	cmp	w20, w8
	b.eq	LBB0_1
; %bb.2:
Lloh12:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w20, w8
	b.eq	LBB0_4
; %bb.3:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die
LBB0_4:
	ldr	w19, [sp, #28]
	add	x0, sp, #8
	bl	_git_deflate_end
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #48
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_zlib_compression_level,4,2     ; @zlib_compression_level
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to deflate appended object (%d)"

	.no_dead_strip	_write_compressed
.subsections_via_symbols
