	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_seq_dir
_create_seq_dir:                        ## @create_seq_dir
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_git_path_revert_head
	movl	%eax, %edi
	callq	_file_exists
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.6(%rip), %r14
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_git_path_cherry_pick_head
	movl	%eax, %edi
	callq	_file_exists
	testq	%rax, %rax
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %r14
	cmoveq	%rax, %r14
LBB0_3:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_sequencer_get_last_command
	testl	%eax, %eax
	je	LBB0_4
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_git_path_seq_dir
	movl	%eax, %edi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_mkdir
	testq	%rax, %rax
	jns	LBB0_14
## %bb.13:
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_git_path_seq_dir
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_error_errno
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_4:
	movl	-28(%rbp), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_11
## %bb.7:
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.1(%rip), %r15
	leaq	L_.str(%rip), %rdi
LBB0_8:
	callq	__
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	__
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.9:
	movq	%rax, %r15
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	callq	_error
	movq	_advice_sequencer_in_use@GOTPCREL(%rip), %rax
	movl	$-1, %ebx
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_advise
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	callq	_BUG
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"revert is already in progress"

L_.str.1:                               ## @.str.1
	.asciz	"try \"git revert (--continue | %s--abort | --quit)\""

L_.str.2:                               ## @.str.2
	.asciz	"cherry-pick is already in progress"

L_.str.3:                               ## @.str.3
	.asciz	"try \"git cherry-pick (--continue | %s--abort | --quit)\""

L_.str.4:                               ## @.str.4
	.asciz	"unexpected action in create_seq_dir"

L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_advice_sequencer_in_use,8,3    ## @advice_sequencer_in_use
L_.str.6:                               ## @.str.6
	.asciz	"--skip | "

L_.str.7:                               ## @.str.7
	.space	1

L_.str.8:                               ## @.str.8
	.asciz	"could not create sequencer directory '%s'"

	.no_dead_strip	_create_seq_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_seq_dir
_create_seq_dir:                        ; @create_seq_dir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	bl	_git_path_revert_head
	bl	_file_exists
Lloh0:
	adrp	x19, l_.str.6@PAGE
Lloh1:
	add	x19, x19, l_.str.6@PAGEOFF
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_git_path_cherry_pick_head
	bl	_file_exists
Lloh2:
	adrp	x8, l_.str.7@PAGE
Lloh3:
	add	x8, x8, l_.str.7@PAGEOFF
	cmp	x0, #0
	csel	x19, x8, x19, eq
LBB0_2:
	add	x1, sp, #12
	mov	x0, x20
	bl	_sequencer_get_last_command
	cbz	w0, LBB0_5
LBB0_3:
	bl	_git_path_seq_dir
	mov	w1, #511
	bl	_mkdir
	tbnz	x0, #63, LBB0_8
; %bb.4:
	mov	w0, #0
	b	LBB0_14
LBB0_5:
	ldr	w8, [sp, #12]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #129
	b.ne	LBB0_15
; %bb.7:
Lloh4:
	adrp	x20, l_.str.3@PAGE
Lloh5:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x0, l_.str.8@PAGE
Lloh9:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	mov	x19, x0
	bl	_git_path_seq_dir
	mov	x1, x0
	mov	x0, x19
	bl	_error_errno
	b	LBB0_14
LBB0_9:
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
LBB0_10:
	bl	__
	mov	x21, x0
	mov	x0, x20
	bl	__
	cbz	x21, LBB0_3
; %bb.11:
	mov	x20, x0
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_error
Lloh16:
	adrp	x8, _advice_sequencer_in_use@GOTPAGE
Lloh17:
	ldr	x8, [x8, _advice_sequencer_in_use@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	bl	_advise
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BUG
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revert is already in progress"

l_.str.1:                               ; @.str.1
	.asciz	"try \"git revert (--continue | %s--abort | --quit)\""

l_.str.2:                               ; @.str.2
	.asciz	"cherry-pick is already in progress"

l_.str.3:                               ; @.str.3
	.asciz	"try \"git cherry-pick (--continue | %s--abort | --quit)\""

l_.str.4:                               ; @.str.4
	.asciz	"unexpected action in create_seq_dir"

l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_advice_sequencer_in_use,8,3    ; @advice_sequencer_in_use
l_.str.6:                               ; @.str.6
	.asciz	"--skip | "

l_.str.7:                               ; @.str.7
	.space	1

l_.str.8:                               ; @.str.8
	.asciz	"could not create sequencer directory '%s'"

	.no_dead_strip	_create_seq_dir
.subsections_via_symbols
