	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inflate_request
_inflate_request:                       ## @inflate_request
	.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	$16472, %eax                    ## imm = 0x4058
	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	%rcx, %r13
	movl	%edx, %r12d
	movl	%esi, -16436(%rbp)              ## 4-byte Spill
	movq	%rdi, -16504(%rbp)              ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -16448(%rbp)
	leaq	-16488(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_git_inflate_init_gzip_only
	leaq	L_.str(%rip), %rbx
	movq	%r13, -16496(%rbp)              ## 8-byte Spill
	xorl	%r14d, %r14d
	testl	%r12d, %r12d
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_6:
	cmpq	$8192, %r13                     ## imm = 0x2000
	movl	$8192, %edx                     ## imm = 0x2000
	cmovbq	%r13, %rdx
	xorl	%edi, %edi
	leaq	-8240(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_xread
	movq	%rax, %r15
	movq	%rbx, -16488(%rbp)
	leaq	L_.str(%rip), %rbx
	subq	%rax, %r13
LBB0_7:
	testq	%r15, %r15
	jne	LBB0_8
## %bb.15:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_die
	movq	%r15, -16480(%rbp)
	testl	%r12d, %r12d
	je	LBB0_6
LBB0_2:
	movq	-16448(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%r15d, %r15d
	movq	%rax, -16488(%rbp)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:
	xorl	%edi, %edi
	leaq	-16448(%rbp), %rsi
	movq	-16496(%rbp), %rdx              ## 8-byte Reload
	callq	_read_request
	movq	%rax, %r15
	movq	-16448(%rbp), %rax
	movq	%rax, -16488(%rbp)
	jmp	LBB0_7
LBB0_8:
	movq	%r15, -16480(%rbp)
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-16432(%rbp), %rax
	movq	%rax, -16472(%rbp)
	movl	$8192, -16464(%rbp)             ## imm = 0x2000
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16488(%rbp), %rdi
	callq	_git_inflate
	movl	%eax, %ebx
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_die
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-16456(%rbp), %rdx
	subq	%r14, %rdx
	movl	-16436(%rbp), %edi              ## 4-byte Reload
	leaq	-16432(%rbp), %rsi
	movq	-16504(%rbp), %rcx              ## 8-byte Reload
	callq	_write_to_child
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-16456(%rbp), %r14
	cmpq	$0, -16480(%rbp)
	jne	LBB0_9
## %bb.14:
	leaq	L_.str(%rip), %rbx
	testl	%r12d, %r12d
	jne	LBB0_2
	jmp	LBB0_6
LBB0_16:
	leaq	-16488(%rbp), %rdi
	callq	_git_inflate_end
	movl	-16436(%rbp), %edi              ## 4-byte Reload
	callq	_close
	movq	-16448(%rbp), %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$16472, %rsp                    ## imm = 0x4058
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request ended in the middle of the gzip stream"

	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
L_.str.1:                               ## @.str.1
	.asciz	"zlib error inflating request, result %d"

	.no_dead_strip	_inflate_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inflate_request
_inflate_request:                       ; @inflate_request
	.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, #16464
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #4, lsl #12             ; =16384
	sub	sp, sp, #80
	mov	x28, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	xzr, [sp, #16]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x0, sp, #24
	bl	_git_inflate_init_gzip_only
	mov	x24, #0
	mov	w26, #8192
Lloh5:
	adrp	x23, l_.str@PAGE
Lloh6:
	add	x23, x23, l_.str@PAGEOFF
	add	x27, sp, #64
Lloh7:
	adrp	x20, _Z_STREAM_END@GOTPAGE
Lloh8:
	ldr	x20, [x20, _Z_STREAM_END@GOTPAGEOFF]
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x28, #2, lsl #12                ; =8192
	csel	x2, x28, x26, lo
	add	x1, sp, #2, lsl #12             ; =8192
	add	x1, x1, #64
	mov	w0, #0
	bl	_xread
	mov	x25, x0
	add	x8, sp, #2, lsl #12             ; =8192
	add	x8, x8, #64
	str	x8, [sp, #24]
	sub	x28, x28, x0
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x25, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_die
	str	x25, [sp, #32]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cbz	w21, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	str	x8, [sp, #24]
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #16
	mov	w0, #0
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	bl	_read_request
	mov	x25, x0
	ldr	x8, [sp, #16]
	str	x8, [sp, #24]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x25, [sp, #32]
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x27, [sp, #40]
	str	w26, [sp, #48]
Lloh9:
	adrp	x8, _Z_NO_FLUSH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #24
	bl	_git_inflate
	mov	x25, x0
Lloh12:
	adrp	x8, _Z_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x20]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	str	x25, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [sp, #56]
	sub	x2, x8, x24
	add	x1, sp, #64
	mov	x0, x19
	mov	x3, x22
	bl	_write_to_child
	ldr	w8, [x20]
	cmp	w25, w8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x24, [sp, #56]
	ldr	x8, [sp, #32]
	cbnz	x8, LBB0_9
	b	LBB0_4
LBB0_13:
	add	x0, sp, #24
	bl	_git_inflate_end
	mov	x0, x19
	bl	_close
	ldr	x0, [sp, #16]
	bl	_free
	ldur	x8, [x29, #-96]
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_15
; %bb.14:
	add	sp, sp, #4, lsl #12             ; =16384
	add	sp, sp, #80
	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_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request ended in the middle of the gzip stream"

	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
l_.str.1:                               ; @.str.1
	.asciz	"zlib error inflating request, result %d"

	.no_dead_strip	_inflate_request
.subsections_via_symbols
