	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_cover_letter
_make_cover_letter:                     ## @make_cover_letter
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	%r8, %r13
	movl	%ecx, %r14d
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	$0, -44(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movq	(%r8), %rbx
	movl	48(%rdi), %edi
	callq	_cmit_fmt_is_mail
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_2:
	xorl	%edi, %edi
	callq	_git_committer_info
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	cmpq	$0, 40(%r12)
	movl	16(%rbp), %ecx
	leaq	L_.str.2(%rip), %rsi
	cmovneq	%rax, %rsi
	xorl	%edi, %edi
	movq	%r12, %rdx
	callq	_open_next_file
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_5:
	leaq	-104(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_log_write_email_headers
	cmpl	$0, -44(%rbp)
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %r15d
	jne	LBB0_12
## %bb.6:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_12
## %bb.7:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r13,%rbx,8), %rdi
	xorl	%esi, %esi
	callq	_get_commit_buffer
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_has_non_ascii
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, -44(%rbp)
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-8(%r13,%rbx,8), %rdi
	movq	%r14, %rsi
	callq	_unuse_commit_buffer
	cmpl	$0, -44(%rbp)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	1(%rbx), %rax
	cmpq	%r15, %rbx
	movq	%rax, %rbx
	jb	LBB0_8
LBB0_12:
	movq	-152(%rbp), %r14                ## 8-byte Reload
	testq	%r14, %r14
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_find_branch_name
	movq	%rax, %r14
LBB0_14:
	movq	_CMIT_FMT_EMAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -108(%rbp)
	movq	_DATE_RFC2822@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -112(%rbp)
	movq	%r12, -120(%rbp)
	movl	$1, -128(%rbp)
	leaq	L_.str(%rip), %r8
	leaq	-128(%rbp), %rdi
	leaq	-64(%rbp), %rbx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	callq	_pp_user_info
	movl	-44(%rbp), %r8d
	leaq	-128(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	leaq	L_.str(%rip), %rcx
	callq	_prepare_cover_text
	movl	20(%r12), %edi
	movq	-64(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_strbuf_release
	leaq	-88(%rbp), %rdi
	callq	_shortlog_init
	movl	$1, -88(%rbp)
	movq	_MAIL_DEFAULT_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movabsq	$17179869186, %rax              ## imm = 0x400000002
	movq	%rax, -84(%rbp)
	movl	20(%r12), %eax
	movl	%eax, -76(%rbp)
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	leaq	-88(%rbp), %r14
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rsi
	movq	%r14, %rdi
	callq	_shortlog_add_commit
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_16
LBB0_17:
	leaq	-88(%rbp), %rdi
	callq	_shortlog_output
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	callq	_show_diffstat
LBB0_19:
	cmpq	$0, 32(%r12)
	je	LBB0_21
## %bb.20:
	movl	20(%r12), %edi
	movl	28(%r12), %edx
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf_ln
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_show_interdiff
LBB0_21:
	cmpq	$0, 8(%r12)
	je	LBB0_23
## %bb.22:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_diff_setup
	movl	20(%r12), %eax
	movl	%eax, -52(%rbp)
	movl	24(%r12), %eax
	movl	%eax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_diff_setup_done
	movl	16(%r12), %edx
	movl	20(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf_ln
	movq	8(%r12), %rdi
	movl	(%r12), %edx
	movl	4(%r12), %esi
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_show_range_diff
LBB0_23:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UTF-8"

L_.str.1:                               ## @.str.1
	.asciz	"cover letter needs email format"

L_.str.2:                               ## @.str.2
	.asciz	"cover-letter"

L_.str.3:                               ## @.str.3
	.asciz	"failed to create cover-letter file"

	.comm	_CMIT_FMT_EMAIL,4,2             ## @CMIT_FMT_EMAIL
	.comm	_DATE_RFC2822,4,2               ## @DATE_RFC2822
L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

	.comm	_MAIL_DEFAULT_WRAP,4,2          ## @MAIL_DEFAULT_WRAP
L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.no_dead_strip	_make_cover_letter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function make_cover_letter
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_make_cover_letter:                     ; @make_cover_letter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x26, x6
	mov	x24, x5
	mov	x21, x4
	mov	x23, x3
	str	x2, [sp]                        ; 8-byte Folded Spill
	mov	x27, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #64]
	str	wzr, [sp, #60]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	ldr	x22, [x4]
	ldr	w0, [x0, #48]
	bl	_cmit_fmt_is_mail
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_die
LBB0_2:
	mov	w0, #0
	bl	_git_committer_info
	mov	x25, x0
	cbnz	w27, LBB0_5
; %bb.3:
	ldr	x8, [x19, #40]
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, xzr, eq
	mov	x0, #0
	mov	x2, x19
	mov	x3, x26
	bl	_open_next_file
	cbz	x0, LBB0_5
; %bb.4:
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	bl	_die
LBB0_5:
	add	x8, sp, #16
	add	x2, x8, #24
	add	x3, sp, #60
	mov	x0, x19
	mov	x1, x22
	mov	w4, #0
	bl	_log_write_email_headers
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_12
; %bb.6:
	cmp	w23, #1
	b.lt	LBB0_12
; %bb.7:
	mov	x27, #0
	mov	w28, w23
	mov	w20, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, x27, lsl #3]
	mov	x1, #0
	bl	_get_commit_buffer
	mov	x26, x0
	bl	_has_non_ascii
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	str	w20, [sp, #60]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21, x27, lsl #3]
	mov	x1, x26
	bl	_unuse_commit_buffer
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x27, x27, #1
	cmp	x27, x28
	b.lo	LBB0_8
LBB0_12:
	cbnz	x24, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_find_branch_name
	mov	x24, x0
LBB0_14:
Lloh9:
	adrp	x8, _CMIT_FMT_EMAIL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMIT_FMT_EMAIL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _DATE_RFC2822@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DATE_RFC2822@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
	str	x19, [sp, #24]
	mov	w8, #1
	str	w8, [sp, #16]
Lloh15:
	adrp	x26, l_.str@PAGE
Lloh16:
	add	x26, x26, l_.str@PAGEOFF
	add	x0, sp, #16
	add	x2, sp, #64
	mov	x1, #0
	mov	x3, x25
	mov	x4, x26
	bl	_pp_user_info
	ldr	w4, [sp, #60]
	add	x0, sp, #16
	add	x2, sp, #64
	mov	x1, x24
	mov	x3, x26
	bl	_prepare_cover_text
	ldr	w0, [x19, #20]
	ldr	x2, [sp, #64]
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	add	x0, sp, #64
	bl	_strbuf_release
	add	x0, sp, #72
	bl	_shortlog_init
Lloh19:
	adrp	x8, _MAIL_DEFAULT_WRAP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAIL_DEFAULT_WRAP@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x8]
Lloh22:
	adrp	x8, lCPI0_0@PAGE
Lloh23:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #72]
	mov	w8, #4
	ldr	w9, [x19, #20]
	str	w8, [sp, #80]
	stp	w9, w10, [sp, #84]
	cmp	w23, #1
	b.lt	LBB0_17
; %bb.15:
	mov	w20, w23
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21], #8
	add	x0, sp, #72
	bl	_shortlog_add_commit
	subs	x20, x20, #1
	b.ne	LBB0_16
LBB0_17:
	add	x0, sp, #72
	bl	_shortlog_output
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	cbz	x1, LBB0_19
; %bb.18:
	mov	x0, x19
	mov	x2, x22
	bl	_show_diffstat
LBB0_19:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_21
; %bb.20:
	ldr	w0, [x19, #20]
	ldr	w2, [x19, #28]
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf_ln
	mov	x0, x19
	mov	w1, #0
	bl	_show_interdiff
LBB0_21:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_23
; %bb.22:
	add	x0, sp, #8
	bl	_diff_setup
	ldur	d0, [x19, #20]
	rev64.2s	v0, v0
	str	d0, [sp, #8]
	add	x0, sp, #8
	bl	_diff_setup_done
	ldp	w2, w0, [x19, #16]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf_ln
	ldr	x0, [x19, #8]
	ldp	w2, w1, [x19]
	add	x4, sp, #8
	mov	w3, #1
	bl	_show_range_diff
LBB0_23:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UTF-8"

l_.str.1:                               ; @.str.1
	.asciz	"cover letter needs email format"

l_.str.2:                               ; @.str.2
	.asciz	"cover-letter"

l_.str.3:                               ; @.str.3
	.asciz	"failed to create cover-letter file"

	.comm	_CMIT_FMT_EMAIL,4,2             ; @CMIT_FMT_EMAIL
	.comm	_DATE_RFC2822,4,2               ; @DATE_RFC2822
l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

	.comm	_MAIL_DEFAULT_WRAP,4,2          ; @MAIL_DEFAULT_WRAP
l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.no_dead_strip	_make_cover_letter
.subsections_via_symbols
