	.file	"extr_log-tree.c_fmt_output_subject.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"v%d-"
.LC1:
	.string	"%04d-%s"
	.text
	.p2align 4
	.globl	fmt_output_subject
	.type	fmt_output_subject, @function
fmt_output_subject:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdx]
	mov	ebx, DWORD PTR [rdi]
	mov	r15d, DWORD PTR 8[rdx]
	add	ebx, DWORD PTR FORMAT_PATCH_NAME_MAX[rip]
	mov	rdi, r14
	call	strlen@PLT
	mov	rdx, QWORD PTR 16[r12]
	add	eax, 1
	sub	ebx, eax
	test	rdx, rdx
	jle	.L2
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	strbuf_addf@PLT
.L2:
	xor	eax, eax
	mov	rcx, r13
	mov	edx, r15d
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	strbuf_addf@PLT
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L6
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r14
	mov	rdi, rbp
	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
	jmp	strbuf_addstr@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, ebx
	mov	rdi, rbp
	call	strbuf_setlen@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	fmt_output_subject, .-fmt_output_subject
	.comm	FORMAT_PATCH_NAME_MAX,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_log-tree.c_fmt_output_subject.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"v%d-\000"
	.align	2
.LC1:
	.ascii	"%04d-%s\000"
	.text
	.align	2
	.global	fmt_output_subject
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmt_output_subject, %function
fmt_output_subject:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, [r2]
	mov	r6, r2
	mov	r4, r0
	mov	r0, r8
	mov	r7, r1
	bl	strlen
	ldr	r2, .L7
	ldr	r3, [r4]
	ldr	ip, [r2]
	ldr	r2, [r6, #8]
	add	r5, r0, #1
	add	ip, ip, r3
	cmp	r2, #0
	ldr	r6, [r6, #4]
	sub	r5, ip, r5
	ble	.L2
	mov	r0, r4
	ldr	r1, .L7+4
	bl	strbuf_addf
.L2:
	mov	r3, r7
	mov	r2, r6
	mov	r0, r4
	ldr	r1, .L7+8
	bl	strbuf_addf
	ldr	r3, [r4]
	cmp	r3, r5
	bgt	.L6
	mov	r1, r8
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	strbuf_addstr
.L6:
	mov	r1, r5
	mov	r0, r4
	bl	strbuf_setlen
	mov	r1, r8
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	strbuf_addstr
.L8:
	.align	2
.L7:
	.word	FORMAT_PATCH_NAME_MAX
	.word	.LC0
	.word	.LC1
	.size	fmt_output_subject, .-fmt_output_subject
	.comm	FORMAT_PATCH_NAME_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
