	.file	"extr_pretty.c_repo_format_commit_message.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"UTF-8"
	.text
	.p2align 4
	.globl	repo_format_commit_message
	.type	repo_format_commit_message, @function
repo_format_commit_message:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	r12, QWORD PTR [r8]
	mov	QWORD PTR 8[rsp], rdx
	lea	r15, 32[rsp]
	mov	edx, 32
	mov	rdi, r15
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	memset@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	rdx, r15
	mov	rsi, r13
	lea	rcx, .LC0[rip]
	mov	rdi, r14
	mov	QWORD PTR 56[rsp], r13
	mov	QWORD PTR 48[rsp], rbx
	mov	DWORD PTR 44[rsp], eax
	call	repo_logmsg_reencode@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	rcx, r15
	mov	rdi, rbp
	mov	edx, DWORD PTR format_commit_item[rip]
	mov	DWORD PTR 40[rsp], eax
	mov	rsi, r9
	call	strbuf_expand@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, r15
	mov	rdi, rbp
	call	rewrap_message_tail@PLT
	test	r12, r12
	je	.L2
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	call	same_encoding@PLT
	test	rax, rax
	je	.L3
.L6:
	mov	r12, QWORD PTR 32[rsp]
.L4:
	mov	rdi, r12
	call	free@PLT
	mov	edx, DWORD PTR 40[rsp]
	mov	rsi, r13
	mov	rdi, r14
	call	repo_unuse_commit_buffer@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, QWORD PTR 32[rsp]
	test	r12, r12
	je	.L4
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	same_encoding@PLT
	mov	r12, QWORD PTR 32[rsp]
	test	rax, rax
	jne	.L4
	test	r12, r12
	je	.L4
.L3:
	mov	esi, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR 4[rbp]
	lea	r8, 24[rsp]
	mov	rdx, r12
	lea	rcx, .LC0[rip]
	call	reencode_string_len@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L6
	mov	rdx, QWORD PTR 24[rsp]
	mov	rdi, rbp
	lea	rcx, 1[rdx]
	call	strbuf_attach@PLT
	jmp	.L6
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	repo_format_commit_message, .-repo_format_commit_message
	.comm	format_commit_item,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pretty.c_repo_format_commit_message.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"UTF-8\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	repo_format_commit_message
	.syntax unified
	.arm
	.fpu softvfp
	.type	repo_format_commit_message, %function
repo_format_commit_message:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, #0
	sub	sp, sp, #44
	ldr	lr, [r3]
	ldr	ip, [sp, #72]
	ldr	r5, .L23
	mov	r4, r3
	mov	r9, r2
	ldr	r3, .L23+4
	add	r2, sp, #16
	ldr	r5, [r5]
	str	r5, [sp, #36]
	mov	r5,#0
	mov	r6, r1
	ldr	r5, [ip]
	str	lr, [sp, #24]
	str	r1, [sp, #32]
	str	ip, [sp, #28]
	mov	r8, r0
	str	r7, [sp, #16]
	str	r7, [sp, #20]
	bl	repo_logmsg_reencode
	mov	ip, r0
	ldr	r2, .L23+8
	mov	r1, r9
	ldr	r2, [r2]
	add	r3, sp, #16
	mov	r0, r4
	str	ip, [sp, #20]
	bl	strbuf_expand
	mov	r0, r4
	mov	r3, r7
	mov	r2, r7
	str	r7, [sp]
	add	r1, sp, #16
	bl	rewrap_message_tail
	cmp	r5, r7
	beq	.L2
	mov	r1, r5
	ldr	r0, .L23+4
	bl	same_encoding
	cmp	r0, r7
	beq	.L3
.L6:
	ldr	r5, [sp, #16]
.L4:
	mov	r0, r5
	bl	free
	ldr	r2, [sp, #20]
	mov	r1, r6
	mov	r0, r8
	bl	repo_unuse_commit_buffer
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r5, [sp, #16]
	cmp	r5, #0
	beq	.L4
	mov	r0, r5
	ldr	r1, .L23+4
	bl	same_encoding
	cmp	r0, #0
	ldr	r5, [sp, #16]
	bne	.L4
	cmp	r5, #0
	beq	.L4
.L3:
	add	r3, sp, #12
	str	r3, [sp]
	ldr	r1, [r4]
	mov	r2, r5
	ldr	r3, .L23+4
	ldr	r0, [r4, #4]
	bl	reencode_string_len
	subs	r1, r0, #0
	beq	.L6
	ldr	r2, [sp, #12]
	mov	r0, r4
	add	r3, r2, #1
	bl	strbuf_attach
	b	.L6
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC1
	.word	.LC0
	.word	format_commit_item
	.size	repo_format_commit_message, .-repo_format_commit_message
	.comm	format_commit_item,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
