	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_large_blob_data
_write_large_blob_data:                 ## @write_large_blob_data
	.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	$32840, %eax                    ## imm = 0x8048
	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
	movq	%rdx, -32872(%rbp)              ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, -32880(%rbp)              ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_pack_compression_level@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32864(%rbp), %rdi
	callq	_git_deflate_init
	xorl	%ebx, %ebx
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	leaq	-16432(%rbp), %rax
	leaq	-32816(%rbp), %r12
	movq	%r15, -32832(%rbp)              ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_die
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_OK@GOTPCREL(%rip), %rcx
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-16432(%rbp), %rax
	testl	%r13d, %r13d
	je	LBB0_16
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	(%rcx), %r14d
	movq	-32880(%rbp), %rdi              ## 8-byte Reload
	movq	%rax, %r15
	movq	%rax, %rsi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_read_istream
	movl	%eax, %r13d
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, -32820(%rbp)              ## 4-byte Spill
	movq	-32872(%rbp), %rdi              ## 8-byte Reload
	callq	_oid_to_hex
	movl	-32820(%rbp), %edi              ## 4-byte Reload
	movl	%eax, %esi
	callq	_die
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, -32864(%rbp)
	movl	%r13d, -32856(%rbp)
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rcx
	movl	%r13d, %eax
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r14d
	movq	-32832(%rbp), %r15              ## 8-byte Reload
	jne	LBB0_12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-32832(%rbp), %r15              ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%esi, %esi
	movq	%r12, -32848(%rbp)
	movl	$16384, -32840(%rbp)            ## imm = 0x4000
	testl	%r13d, %r13d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	leaq	-32864(%rbp), %rdi
	callq	_git_deflate
	movl	%eax, %r14d
	movl	-32848(%rbp), %edx
	subl	%r12d, %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_hashwrite
	subq	%r12, %rbx
	addq	-32848(%rbp), %rbx
	movl	-32856(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	testl	%r13d, %r13d
	jne	LBB0_14
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r14d
	je	LBB0_7
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_15
LBB0_16:
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_18
## %bb.17:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_die
LBB0_18:
	leaq	-32864(%rbp), %rdi
	callq	_git_deflate_end
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movq	%rbx, %rax
	addq	$32840, %rsp                    ## imm = 0x8048
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_pack_compression_level,4,2     ## @pack_compression_level
	.comm	_Z_OK,4,2                       ## @Z_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to read %s"

	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
L_.str.1:                               ## @.str.1
	.asciz	"deflate error (%d)"

	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.no_dead_strip	_write_large_blob_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_large_blob_data
_write_large_blob_data:                 ; @write_large_blob_data
	.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	w9, #32832
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #8, lsl #12             ; =32768
	sub	sp, sp, #64
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x1
	mov	x27, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh5:
	adrp	x8, _pack_compression_level@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pack_compression_level@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_git_deflate_init
	mov	x19, #0
Lloh8:
	adrp	x28, _Z_OK@GOTPAGE
Lloh9:
	ldr	x28, [x28, _Z_OK@GOTPAGEOFF]
Lloh10:
	adrp	x24, _Z_BUF_ERROR@GOTPAGE
Lloh11:
	ldr	x24, [x24, _Z_BUF_ERROR@GOTPAGEOFF]
	mov	w20, #16384
	add	x23, sp, #48
Lloh12:
	adrp	x22, _Z_FINISH@GOTPAGE
Lloh13:
	ldr	x22, [x22, _Z_FINISH@GOTPAGEOFF]
	str	x27, [sp]                       ; 8-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w26, LBB0_9
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w25, [x28]
	add	x1, sp, #4, lsl #12             ; =16384
	add	x1, x1, #48
	mov	x0, x27
	mov	w2, #16384
	bl	_read_istream
	mov	x26, x0
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x27, x0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x27
	ldr	x27, [sp]                       ; 8-byte Folded Reload
	bl	_die
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, sp, #4, lsl #12             ; =16384
	add	x8, x8, #48
	str	x8, [sp, #16]
	str	w26, [sp, #24]
	ldr	w8, [x28]
	ldr	w9, [x24]
	cmp	w25, w8
	ccmp	w25, w9, #4, ne
	mov	x8, x26
	b.ne	LBB0_7
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x23, [sp, #32]
	str	w20, [sp, #40]
	ldr	w8, [x22]
	cmp	w26, #0
	csel	w1, w8, wzr, eq
	add	x0, sp, #16
	bl	_git_deflate
	mov	x25, x0
	ldr	w8, [sp, #32]
	sub	w2, w8, w23
	add	x1, sp, #48
	mov	x0, x21
	bl	_hashwrite
	ldr	x8, [sp, #32]
	sub	x9, x19, x23
	add	x19, x9, x8
	ldr	w8, [sp, #24]
	cmp	w8, #0
	ccmp	w26, #0, #4, eq
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w9, [x28]
	ldr	w10, [x24]
	cmp	w25, w9
	ccmp	w25, w10, #4, ne
	b.eq	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x25
	bl	_die
	b	LBB0_1
LBB0_9:
Lloh18:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w25, w8
	b.eq	LBB0_11
; %bb.10:
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x25
	bl	_die
LBB0_11:
	add	x0, sp, #16
	bl	_git_deflate_end
	ldur	x8, [x29, #-96]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	add	sp, sp, #8, lsl #12             ; =32768
	add	sp, sp, #64
	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
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_pack_compression_level,4,2     ; @pack_compression_level
	.comm	_Z_OK,4,2                       ; @Z_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to read %s"

	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
l_.str.1:                               ; @.str.1
	.asciz	"deflate error (%d)"

	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.no_dead_strip	_write_large_blob_data
.subsections_via_symbols
