	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_cherry                     ## -- Begin function cmd_cherry
	.p2align	4, 0x90
_cmd_cherry:                            ## @cmd_cherry
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -88(%rbp)
	movl	$0, -80(%rbp)
	movl	$0, -76(%rbp)
	leaq	-76(%rbp), %rdi
	callq	_OPT__ABBREV
	movl	%eax, -64(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	leaq	-80(%rbp), %rdi
	movl	%eax, %esi
	callq	_OPT__VERBOSE
	movl	%eax, -60(%rbp)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -56(%rbp)
	movq	_cherry_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-64(%rbp), %rcx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	cmpl	$1, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$2, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$3, %eax
	jne	LBB0_7
## %bb.4:
	movq	16(%rbx), %r14
LBB0_5:
	movq	8(%rbx), %r12
	movq	(%rbx), %r13
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %r12
	movq	(%rbx), %r13
	jmp	LBB0_10
LBB0_7:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_branch_get
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_branch_get_upstream
	leaq	L_.str(%rip), %r12
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %r13
	jmp	LBB0_10
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_fprintf
	movq	_cherry_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_10:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_repo_init_revisions
	movl	$1, -112(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_add_pending_commit
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_12:
	movq	_UNINTERESTING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	callq	_add_pending_commit
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_14:
	cmpl	$2, -104(%rbp)
	jne	LBB0_16
## %bb.15:
	movq	-96(%rbp), %rax
	movq	(%rax), %rdi
	movq	8(%rax), %rsi
	callq	_oideq
	testq	%rax, %rax
	jne	LBB0_28
LBB0_16:
	leaq	-112(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_get_patch_ids
	testq	%r14, %r14
	je	LBB0_19
## %bb.17:
	movl	(%rbx), %edx
	leaq	-112(%rbp), %rsi
	movq	%r14, %rdi
	callq	_add_pending_commit
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_19:
	leaq	-112(%rbp), %rdi
	callq	_prepare_revision_walk
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_21:
	leaq	-112(%rbp), %rdi
	callq	_get_revision
	testq	%rax, %rax
	je	LBB0_27
## %bb.22:
	leaq	-88(%rbp), %r14
	leaq	-112(%rbp), %rbx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_commit_list_insert
	movq	%rbx, %rdi
	callq	_get_revision
	testq	%rax, %rax
	jne	LBB0_23
## %bb.24:
	movq	-88(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:
	leaq	-72(%rbp), %r14
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_has_commit_patch_id
	xorl	%esi, %esi
	testq	%rax, %rax
	setne	%sil
	movl	-80(%rbp), %edx
	movl	-76(%rbp), %ecx
	movl	-108(%rbp), %r8d
	leal	(%rsi,%rsi), %edi
	addl	$43, %edi
	movq	%rbx, %rsi
	callq	_print_commit
	movq	-88(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	testq	%rax, %rax
	jne	LBB0_26
LBB0_27:
	leaq	-72(%rbp), %rdi
	callq	_free_patch_ids
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

L_.str.1:                               ## @.str.1
	.asciz	"be verbose"

	.comm	_cherry_usage,4,2               ## @cherry_usage
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Could not find a tracked remote branch, please specify <upstream> manually.\n"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.3:                               ## @.str.3
	.asciz	"unknown commit %s"

	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
L_.str.4:                               ## @.str.4
	.asciz	"revision walk setup failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_cherry                     ; -- Begin function cmd_cherry
	.p2align	2
_cmd_cherry:                            ; @cmd_cherry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	stp	xzr, xzr, [sp, #8]
	add	x0, sp, #8
	bl	_OPT__ABBREV
	str	w0, [sp, #56]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x1, x0
	add	x0, sp, #12
	bl	_OPT__VERBOSE
	str	w0, [sp, #60]
	bl	_OPT_END
	str	w0, [sp, #64]
Lloh5:
	adrp	x22, _cherry_usage@GOTPAGE
Lloh6:
	ldr	x22, [x22, _cherry_usage@GOTPAGEOFF]
	ldr	w4, [x22]
	add	x3, sp, #56
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w5, #0
	bl	_parse_options
	mov	x19, #0
	cmp	w0, #1
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #2
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #3
	b.ne	LBB0_6
; %bb.3:
	ldr	x19, [x21, #16]
LBB0_4:
	ldp	x21, x22, [x21]
	b	LBB0_9
LBB0_5:
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
	ldr	x21, [x21]
	b	LBB0_9
LBB0_6:
	mov	x0, #0
	bl	_branch_get
	mov	x1, #0
	bl	_branch_get_upstream
	mov	x21, x0
	cbnz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	ldr	w0, [x22]
	add	x1, sp, #56
	bl	_usage_with_options
LBB0_8:
	mov	x19, #0
Lloh14:
	adrp	x22, l_.str@PAGE
Lloh15:
	add	x22, x22, l_.str@PAGEOFF
LBB0_9:
Lloh16:
	adrp	x8, _the_repository@GOTPAGE
Lloh17:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	add	x1, sp, #32
	mov	x2, x20
	bl	_repo_init_revisions
	mov	w8, #1
	str	w8, [sp, #32]
	add	x1, sp, #32
	mov	x0, x22
	mov	w2, #0
	bl	_add_pending_commit
	cbz	x0, LBB0_11
; %bb.10:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	str	x22, [sp]
	bl	_die
LBB0_11:
Lloh21:
	adrp	x20, _UNINTERESTING@GOTPAGE
Lloh22:
	ldr	x20, [x20, _UNINTERESTING@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x1, sp, #32
	mov	x0, x21
	bl	_add_pending_commit
	cbz	x0, LBB0_13
; %bb.12:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	str	x21, [sp]
	bl	_die
LBB0_13:
	ldr	w8, [sp, #40]
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.14:
	ldr	x8, [sp, #48]
	ldp	x0, x1, [x8]
	bl	_oideq
	cbnz	x0, LBB0_26
LBB0_15:
	add	x0, sp, #32
	add	x1, sp, #24
	bl	_get_patch_ids
	cbz	x19, LBB0_18
; %bb.16:
	ldr	w2, [x20]
	add	x1, sp, #32
	mov	x0, x19
	bl	_add_pending_commit
	cbz	x0, LBB0_18
; %bb.17:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	str	x19, [sp]
	bl	_die
LBB0_18:
	add	x0, sp, #32
	bl	_prepare_revision_walk
	cbz	x0, LBB0_20
; %bb.19:
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_die
LBB0_20:
	add	x0, sp, #32
	bl	_get_revision
	cbz	x0, LBB0_25
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	bl	_commit_list_insert
	add	x0, sp, #32
	bl	_get_revision
	cbnz	x0, LBB0_21
; %bb.22:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_25
; %bb.23:
	mov	w20, #45
	mov	w21, #43
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x8, #8]
	add	x1, sp, #24
	mov	x0, x19
	bl	_has_commit_patch_id
	ldp	w3, w2, [sp, #8]
	ldr	w4, [sp, #36]
	cmp	x0, #0
	csel	w0, w21, w20, eq
	mov	x1, x19
	bl	_print_commit
	ldr	x8, [sp, #16]
	ldr	x8, [x8]
	str	x8, [sp, #16]
	cbnz	x8, LBB0_24
LBB0_25:
	add	x0, sp, #24
	bl	_free_patch_ids
LBB0_26:
	ldur	x8, [x29, #-40]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

l_.str.1:                               ; @.str.1
	.asciz	"be verbose"

	.comm	_cherry_usage,4,2               ; @cherry_usage
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Could not find a tracked remote branch, please specify <upstream> manually.\n"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.3:                               ; @.str.3
	.asciz	"unknown commit %s"

	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
l_.str.4:                               ; @.str.4
	.asciz	"revision walk setup failed"

.subsections_via_symbols
