	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function peel_onion
_peel_onion:                            ## @peel_onion
	.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
	movl	$-1, %r13d
	cmpl	$4, %edx
	jl	LBB0_25
## %bb.1:
	movl	%edx, %r12d
	movq	%rsi, %r14
	leal	-1(%r12), %eax
	cmpb	$125, (%rsi,%rax)
	jne	LBB0_25
## %bb.2:
	movl	%r12d, %eax
	addq	%r14, %rax
	decq	%rax
	movq	%rax, %rbx
	cmpq	%r14, %rax
	jb	LBB0_8
## %bb.3:
	movq	%rax, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	decq	%rbx
	cmpq	%r14, %rbx
	jb	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$123, (%rbx)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r14, %rbx
	jbe	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$94, -1(%rbx)
	jne	LBB0_4
LBB0_8:
	cmpq	%r14, %rbx
	jbe	LBB0_25
## %bb.9:
	movl	%r8d, -80(%rbp)                 ## 4-byte Spill
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	1(%rbx), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_starts_with
	movq	%r15, %rdx
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %r15
	movq	%r15, %rcx
	testq	%rax, %rax
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_19
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movq	%rdx, %rdi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_OBJ_TAG@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_OBJ_TREE@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_16:
	leaq	L_.str.4(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_37
## %bb.17:
	movq	_OBJ_ANY@GOTPCREL(%rip), %rcx
LBB0_18:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_19:
	movl	(%rcx), %ecx
	movq	_GET_OID_DISAMBIGUATORS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	notl	%r8d
	andl	-80(%rbp), %r8d                 ## 4-byte Folded Reload
	cmpl	(%r15), %ecx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	jne	LBB0_21
## %bb.20:
	movq	_GET_OID_COMMITTISH@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_21:
	movq	_OBJ_TREE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_23
## %bb.22:
	movq	_GET_OID_TREEISH@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
LBB0_23:
	movl	%edx, %r15d
	subl	%r14d, %r15d
	addl	$-2, %r15d
	leaq	-72(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_get_oid_1
	testq	%rax, %rax
	je	LBB0_26
LBB0_24:
	movl	$-1, %r13d
LBB0_25:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	leaq	-72(%rbp), %rsi
	movq	%r13, %rdi
	callq	_parse_object
	testq	%rax, %rax
	je	LBB0_24
## %bb.27:
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	testl	%r8d, %r8d
	movl	$-1, %r13d
	je	LBB0_33
## %bb.28:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r12d, %edx
	movq	%rax, %rcx
	callq	_repo_peel_to_type
	testq	%rax, %rax
	je	LBB0_25
## %bb.29:
	movq	%rax, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_oidcpy
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpb	$47, (%rax)
	jne	LBB0_25
## %bb.30:
	movq	$0, -88(%rbp)
	xorl	%r13d, %r13d
	cmpb	$125, 2(%rbx)
	je	LBB0_25
## %bb.31:
	addq	$2, %rbx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	subl	%ebx, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xstrndup
	movq	%rax, %rbx
	leaq	-88(%rbp), %rsi
	movq	%r14, %rdi
	callq	_commit_list_insert
	movq	-88(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_get_oid_oneline
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_25
LBB0_33:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_deref_tag
	testq	%rax, %rax
	je	LBB0_25
## %bb.34:
	movq	%rax, %rbx
	cmpl	$0, 4(%rax)
	jne	LBB0_36
## %bb.35:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_parse_object
	testq	%rax, %rax
	je	LBB0_25
LBB0_36:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_oidcpy
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_37:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movb	(%rdx), %al
	cmpb	$125, %al
	je	LBB0_40
## %bb.38:
	cmpb	$47, %al
	jne	LBB0_25
## %bb.39:
	movq	%r15, %rcx
	jmp	LBB0_19
LBB0_40:
	movq	_OBJ_NONE@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"commit}"

	.comm	_OBJ_COMMIT,4,2                 ## @OBJ_COMMIT
L_.str.1:                               ## @.str.1
	.asciz	"tag}"

	.comm	_OBJ_TAG,4,2                    ## @OBJ_TAG
L_.str.2:                               ## @.str.2
	.asciz	"tree}"

	.comm	_OBJ_TREE,4,2                   ## @OBJ_TREE
L_.str.3:                               ## @.str.3
	.asciz	"blob}"

	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
L_.str.4:                               ## @.str.4
	.asciz	"object}"

	.comm	_OBJ_ANY,4,2                    ## @OBJ_ANY
	.comm	_OBJ_NONE,4,2                   ## @OBJ_NONE
	.comm	_GET_OID_DISAMBIGUATORS,4,2     ## @GET_OID_DISAMBIGUATORS
	.comm	_GET_OID_COMMITTISH,4,2         ## @GET_OID_COMMITTISH
	.comm	_GET_OID_TREEISH,4,2            ## @GET_OID_TREEISH
	.no_dead_strip	_peel_onion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function peel_onion
_peel_onion:                            ; @peel_onion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w2, #4
	b.lt	LBB0_23
; %bb.1:
	mov	x23, x2
	mov	x22, x1
	sub	w8, w2, #1
	ldrb	w8, [x1, w8, uxtw]
	cmp	w8, #125
	b.ne	LBB0_23
; %bb.2:
	mov	x25, x4
	mov	x19, x3
	mov	x20, x0
	add	x8, x22, w23, uxtw
	sub	x27, x8, #1
	mov	x21, x27
	cmp	x27, x22
	b.lo	LBB0_7
; %bb.3:
	mov	x21, x27
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x21, x21, #1
	cmp	x21, x22
	b.lo	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #123
	ccmp	x21, x22, #0, eq
	b.ls	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldurb	w8, [x21, #-1]
	cmp	w8, #94
	b.ne	LBB0_4
LBB0_7:
	cmp	x21, x22
	b.ls	LBB0_23
; %bb.8:
	add	x24, x21, #1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_starts_with
Lloh2:
	adrp	x28, _OBJ_COMMIT@GOTPAGE
Lloh3:
	ldr	x28, [x28, _OBJ_COMMIT@GOTPAGEOFF]
	mov	x8, x28
	cbnz	x0, LBB0_17
; %bb.9:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_starts_with
	cbz	x0, LBB0_11
; %bb.10:
Lloh6:
	adrp	x8, _OBJ_TAG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OBJ_TAG@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_starts_with
	cbz	x0, LBB0_13
; %bb.12:
Lloh10:
	adrp	x8, _OBJ_TREE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OBJ_TREE@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	bl	_starts_with
	cbz	x0, LBB0_15
; %bb.14:
Lloh14:
	adrp	x8, _OBJ_BLOB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OBJ_BLOB@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_starts_with
	cbz	x0, LBB0_36
; %bb.16:
Lloh18:
	adrp	x8, _OBJ_ANY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OBJ_ANY@GOTPAGEOFF]
LBB0_17:
	ldr	w26, [x8]
Lloh20:
	adrp	x8, _GET_OID_DISAMBIGUATORS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GET_OID_DISAMBIGUATORS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	bic	w4, w25, w8
	ldr	w8, [x28]
	cmp	w26, w8
	b.ne	LBB0_19
; %bb.18:
Lloh23:
	adrp	x8, _GET_OID_COMMITTISH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GET_OID_COMMITTISH@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
Lloh25:
	adrp	x8, _OBJ_TREE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OBJ_TREE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_22
; %bb.20:
Lloh28:
	adrp	x8, _GET_OID_TREEISH@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GET_OID_TREEISH@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	orr	w4, w8, w4
LBB0_22:
	sub	w8, w24, w22
	sub	w25, w8, #2
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x22
	mov	x2, x25
	bl	_get_oid_1
	cbz	x0, LBB0_25
LBB0_23:
	mov	w19, #-1
LBB0_24:
	mov	x0, x19
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	add	x1, sp, #8
	mov	x0, x20
	bl	_parse_object
	cbz	x0, LBB0_23
; %bb.26:
	mov	x3, x0
	mov	x0, x20
	cbz	w26, LBB0_31
; %bb.27:
	mov	x1, x22
	mov	x2, x23
	mov	x4, x26
	bl	_repo_peel_to_type
	cbz	x0, LBB0_23
; %bb.28:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_oidcpy
	ldrb	w8, [x24]
	cmp	w8, #47
	b.ne	LBB0_30
; %bb.29:
	str	xzr, [sp]
	ldrb	w8, [x21, #2]!
	cmp	w8, #125
	b.ne	LBB0_35
LBB0_30:
	mov	w19, #0
	b	LBB0_24
LBB0_31:
	mov	x1, x3
	mov	x2, x22
	mov	x3, x25
	bl	_deref_tag
	cbz	x0, LBB0_23
; %bb.32:
	mov	x21, x0
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_34
; %bb.33:
	mov	x0, x20
	mov	x1, x21
	bl	_parse_object
	cbz	x0, LBB0_23
LBB0_34:
	mov	x0, x19
	mov	x1, x21
	bl	_oidcpy
	mov	w19, #0
	b	LBB0_24
LBB0_35:
	sub	w1, w27, w21
	mov	x0, x21
	bl	_xstrndup
	mov	x21, x0
	mov	x1, sp
	mov	x0, x22
	bl	_commit_list_insert
	ldr	x3, [sp]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_get_oid_oneline
	mov	x19, x0
	mov	x0, x21
	bl	_free
	b	LBB0_24
LBB0_36:
	ldrb	w8, [x24]
	cmp	w8, #125
	b.eq	LBB0_39
; %bb.37:
	cmp	w8, #47
	b.ne	LBB0_23
; %bb.38:
Lloh30:
	adrp	x8, _OBJ_COMMIT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OBJ_COMMIT@GOTPAGEOFF]
	b	LBB0_17
LBB0_39:
Lloh32:
	adrp	x8, _OBJ_NONE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OBJ_NONE@GOTPAGEOFF]
	b	LBB0_17
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"commit}"

	.comm	_OBJ_COMMIT,4,2                 ; @OBJ_COMMIT
l_.str.1:                               ; @.str.1
	.asciz	"tag}"

	.comm	_OBJ_TAG,4,2                    ; @OBJ_TAG
l_.str.2:                               ; @.str.2
	.asciz	"tree}"

	.comm	_OBJ_TREE,4,2                   ; @OBJ_TREE
l_.str.3:                               ; @.str.3
	.asciz	"blob}"

	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
l_.str.4:                               ; @.str.4
	.asciz	"object}"

	.comm	_OBJ_ANY,4,2                    ; @OBJ_ANY
	.comm	_OBJ_NONE,4,2                   ; @OBJ_NONE
	.comm	_GET_OID_DISAMBIGUATORS,4,2     ; @GET_OID_DISAMBIGUATORS
	.comm	_GET_OID_COMMITTISH,4,2         ; @GET_OID_COMMITTISH
	.comm	_GET_OID_TREEISH,4,2            ; @GET_OID_TREEISH
	.no_dead_strip	_peel_onion
.subsections_via_symbols
