	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edit_branch_description
_edit_branch_description:               ## @edit_branch_description
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_read_branch_desc
	movslq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-40(%rbp), %rcx
	cmpb	$10, -1(%rax,%rcx)
	je	LBB0_3
LBB0_2:
	leaq	-48(%rbp), %rdi
	movl	$10, %esi
	callq	_strbuf_addch
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	_comment_line_char@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_strbuf_commented_addf
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_edit_description
	movq	-40(%rbp), %rsi
	movl	-48(%rbp), %edx
	movl	%eax, %edi
	callq	_write_file_buf
	movq	%rbx, %rdi
	callq	_strbuf_reset
	xorl	%eax, %eax
	callq	_edit_description
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_launch_editor
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	leaq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_strbuf_stripspace
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_strbuf_addf
	movq	-56(%rbp), %rdi
	cmpl	$0, -48(%rbp)
	je	LBB0_6
## %bb.5:
	movq	-40(%rbp), %r14
LBB0_6:
	movq	%r14, %rsi
	callq	_git_config_set
	movq	%rbx, %rdi
	callq	_strbuf_release
	xorl	%ebx, %ebx
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Please edit the description for the branch\n  %s\nLines starting with '%c' will be stripped.\n"

	.comm	_comment_line_char,4,2          ## @comment_line_char
L_.str.1:                               ## @.str.1
	.asciz	"branch.%s.description"

	.no_dead_strip	_edit_branch_description
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edit_branch_description
_edit_branch_description:               ; @edit_branch_description
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	stp	q0, q0, [sp]
	add	x0, sp, #16
	mov	x1, x19
	bl	_read_branch_desc
	ldrsw	x8, [sp, #16]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x9, [sp, #24]
	add	x8, x8, x9
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b.eq	LBB0_3
LBB0_2:
	add	x0, sp, #16
	mov	w1, #10
	bl	_strbuf_addch
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
Lloh5:
	adrp	x8, _comment_line_char@GOTPAGE
Lloh6:
	ldr	x8, [x8, _comment_line_char@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x0, sp, #16
	mov	x2, x19
	bl	_strbuf_commented_addf
	bl	_edit_description
	ldr	x1, [sp, #24]
	ldr	w2, [sp, #16]
	bl	_write_file_buf
	add	x0, sp, #16
	bl	_strbuf_reset
	bl	_edit_description
	add	x1, sp, #16
	mov	x2, #0
	bl	_launch_editor
	cbz	x0, LBB0_5
; %bb.4:
	mov	w19, #-1
	b	LBB0_6
LBB0_5:
	add	x0, sp, #16
	mov	w1, #1
	bl	_strbuf_stripspace
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, sp
	mov	x2, x19
	bl	_strbuf_addf
	ldr	x0, [sp, #8]
	ldr	w8, [sp, #16]
	ldr	x9, [sp, #24]
	cmp	w8, #0
	csel	x1, xzr, x9, eq
	bl	_git_config_set
	mov	x0, sp
	bl	_strbuf_release
	mov	w19, #0
LBB0_6:
	add	x0, sp, #16
	bl	_strbuf_release
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Please edit the description for the branch\n  %s\nLines starting with '%c' will be stripped.\n"

	.comm	_comment_line_char,4,2          ; @comment_line_char
l_.str.1:                               ; @.str.1
	.asciz	"branch.%s.description"

	.no_dead_strip	_edit_branch_description
.subsections_via_symbols
