	.file	"extr_tree-dump.c_get_dump_file_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	".%03d%c"
	.text
	.p2align 4
	.globl	get_dump_file_name
	.type	get_dump_file_name, @function
get_dump_file_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR TDI_none[rip], edi
	je	.L4
	call	get_dump_file_info@PLT
	cmp	QWORD PTR [rax], 0
	mov	rbx, rax
	je	.L4
	mov	rcx, QWORD PTR 8[rax]
	test	rcx, rcx
	js	.L14
	mov	eax, DWORD PTR 16[rax]
	mov	r8d, 116
	test	DWORD PTR TDF_TREE[rip], eax
	je	.L15
.L7:
	lea	rbp, 14[rsp]
	lea	rdx, .LC0[rip]
	mov	esi, 10
	mov	rdi, rbp
	call	snprintf@PLT
	test	rax, rax
	jns	.L6
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rbp, 14[rsp]
.L8:
	mov	BYTE PTR 14[rsp], 0
.L6:
	mov	edx, DWORD PTR 20[rbx]
	mov	edi, DWORD PTR dump_base_name[rip]
	xor	ecx, ecx
	mov	rsi, rbp
	call	concat@PLT
.L1:
	mov	rsi, QWORD PTR 24[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	and	eax, DWORD PTR TDF_IPA[rip]
	cmp	eax, 1
	sbb	r8d, r8d
	and	r8d, 9
	add	r8d, 105
	jmp	.L7
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_dump_file_name, .-get_dump_file_name
	.comm	dump_base_name,4,4
	.comm	TDI_none,4,4
	.comm	TDF_TREE,4,4
	.comm	TDF_IPA,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_tree-dump.c_get_dump_file_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	".%03d%c\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_dump_file_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_dump_file_name, %function
get_dump_file_name:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L20
	ldr	r2, .L20+4
	ldr	r3, [r3]
	sub	sp, sp, #28
	cmp	r3, r0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	beq	.L4
	bl	get_dump_file_info
	ldr	r3, [r0]
	mov	r4, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r0, #4]
	cmp	r3, #0
	blt	.L17
	ldr	r1, .L20+8
	ldr	r2, [r0, #8]
	ldr	r1, [r1]
	tst	r2, r1
	movne	r2, #116
	beq	.L18
.L7:
	add	r5, sp, #8
	str	r2, [sp]
	mov	r0, r5
	mov	r1, #10
	ldr	r2, .L20+12
	bl	snprintf
	cmp	r0, #0
	bge	.L6
	b	.L8
.L17:
	add	r5, sp, #8
.L8:
	mov	r3, #0
	strb	r3, [sp, #8]
.L6:
	ldr	r3, .L20+16
	mov	r1, r5
	ldr	r0, [r3]
	ldr	r2, [r4, #12]
	mov	r3, #0
	bl	concat
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	mov	r0, #0
	b	.L1
.L18:
	ldr	r1, .L20+20
	ldr	r1, [r1]
	tst	r2, r1
	movne	r2, #105
	moveq	r2, #114
	b	.L7
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	TDI_none
	.word	.LC1
	.word	TDF_TREE
	.word	.LC0
	.word	dump_base_name
	.word	TDF_IPA
	.size	get_dump_file_name, .-get_dump_file_name
	.comm	dump_base_name,4,4
	.comm	TDI_none,4,4
	.comm	TDF_TREE,4,4
	.comm	TDF_IPA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
