	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_stream_oid
_check_stream_oid:                      ## @check_stream_oid
	.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
	movq	%r8, -4160(%rbp)                ## 8-byte Spill
	movq	%rcx, -4168(%rbp)               ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Z_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_the_hash_algo@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	leaq	-4148(%rbp), %rdi
	callq	*16(%rax)
	movq	(%r15), %rax
	movl	(%rbx), %edx
	leaq	-4148(%rbp), %rdi
	movq	%r14, %rsi
	callq	*8(%rax)
	movl	(%rbx), %r15d
	movq	%r14, %rdi
	callq	_strlen
	notl	%eax
	addl	%r15d, %eax
	movslq	%eax, %r15
	cmpq	%r12, %r15
	jbe	LBB0_1
LBB0_6:
	movq	%rbx, %rdi
	callq	_git_inflate_end
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_7
## %bb.8:
	cmpq	$0, 16(%rbx)
	movq	-4160(%rbp), %r14               ## 8-byte Reload
	je	LBB0_11
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r14, %rdi
	jmp	LBB0_10
LBB0_1:
	leaq	-4144(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, 8(%rbx)
	movq	%r12, %rax
	subq	%r15, %rax
	cmpq	$4096, %rax                     ## imm = 0x1000
	movl	$4096, %ecx                     ## imm = 0x1000
	cmovaeq	%rcx, %rax
	movl	%eax, 4(%rbx)
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_git_inflate
	movl	%eax, %r13d
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rbx), %edx
	subl	%r14d, %edx
	leaq	-4148(%rbp), %rdi
	movq	%r14, %rsi
	callq	*8(%rax)
	subq	%r14, %r15
	addq	8(%rbx), %r15
	cmpq	%r12, %r15
	ja	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rbx)
	je	LBB0_5
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	-4160(%rbp), %rdi               ## 8-byte Reload
LBB0_10:
	callq	_oid_to_hex
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_13:
	movl	$-1, %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	addq	$4136, %rsp                     ## imm = 0x1028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-4148(%rbp), %rsi
	callq	*(%rax)
	leaq	-4176(%rbp), %rsi
	movq	%r14, %rdi
	callq	_oideq
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_14
## %bb.12:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_oid_to_hex
	movl	%ebx, %edi
	movq	-4168(%rbp), %rsi               ## 8-byte Reload
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"corrupt loose object '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"garbage at end of loose object '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"hash mismatch for %s (expected %s)"

	.no_dead_strip	_check_stream_oid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_stream_oid
_check_stream_oid:                      ; @check_stream_oid
	.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, #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
	stp	x3, x4, [sp, #8]                ; 16-byte Folded Spill
	mov	x22, x2
	mov	x24, x1
	mov	x21, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x26, _Z_OK@GOTPAGE
Lloh6:
	ldr	x26, [x26, _Z_OK@GOTPAGEOFF]
	stur	x8, [x29, #-96]
	ldr	w23, [x26]
Lloh7:
	adrp	x25, _the_hash_algo@GOTPAGE
Lloh8:
	ldr	x25, [x25, _the_hash_algo@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x8, #16]
	add	x0, sp, #28
	blr	x8
	ldr	x8, [x25]
	ldr	x8, [x8, #8]
	ldr	w2, [x21]
	add	x0, sp, #28
	mov	x1, x24
	blr	x8
	ldr	w19, [x21]
	mov	x0, x24
	bl	_strlen
	mvn	w8, w0
	add	w8, w19, w8
	sxtw	x24, w8
	cmp	x24, x22
	b.ls	LBB0_4
LBB0_1:
	mov	x0, x21
	bl	_git_inflate_end
Lloh9:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_9
; %bb.2:
	ldr	x8, [x21, #16]
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_14
; %bb.3:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x19
	b	LBB0_10
LBB0_4:
	add	x27, sp, #32
	mov	w28, #4096
Lloh14:
	adrp	x20, _Z_FINISH@GOTPAGE
Lloh15:
	ldr	x20, [x20, _Z_FINISH@GOTPAGEOFF]
Lloh16:
	adrp	x19, _Z_BUF_ERROR@GOTPAGE
Lloh17:
	ldr	x19, [x19, _Z_BUF_ERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x27, [x21, #8]
	sub	x8, x22, x24
	cmp	x8, #1, lsl #12                 ; =4096
	csel	x8, x8, x28, lo
	str	w8, [x21, #4]
	ldr	w1, [x20]
	mov	x0, x21
	bl	_git_inflate
	mov	x23, x0
	ldr	x8, [x25]
	ldr	x8, [x8, #8]
	ldr	w9, [x21, #8]
	sub	w2, w9, w27
	add	x0, sp, #28
	add	x1, sp, #32
	blr	x8
	ldr	x8, [x21, #8]
	sub	x9, x24, x27
	add	x24, x9, x8
	cmp	x24, x22
	b.hi	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	cmp	w23, w8
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	cmp	w23, w8
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_5
	b	LBB0_1
LBB0_9:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
LBB0_10:
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x20
LBB0_11:
	bl	_error
	mov	w0, #-1
LBB0_12:
	ldur	x8, [x29, #-96]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.13:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #48
	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_14:
	ldr	x8, [x25]
	ldr	x8, [x8]
	add	x1, sp, #28
	blr	x8
	add	x1, sp, #24
	mov	x0, x19
	bl	_oideq
	cbz	w0, LBB0_16
; %bb.15:
	mov	w0, #0
	b	LBB0_12
LBB0_16:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x21, x0
	mov	x0, x19
	bl	_oid_to_hex
	str	x0, [sp]
	mov	x0, x21
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_11
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"corrupt loose object '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"garbage at end of loose object '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"hash mismatch for %s (expected %s)"

	.no_dead_strip	_check_stream_oid
.subsections_via_symbols
