	.file	"757476.c"
	.intel_syntax noprefix
	.text
	.globl	tmpnam
	.type	tmpnam, @function
tmpnam:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
.L6:
	lea	rax, name.0[rip+7]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 48
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	je	.L3
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	mov	eax, 0
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	esi, 0
	lea	rdi, name.0[rip]
	call	access@PLT
	test	eax, eax
	je	.L6
	cmp	QWORD PTR -24[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, name.0[rip]
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L5
.L7:
	lea	rax, name.0[rip]
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	tmpnam, .-tmpnam
	.globl	tmpnam_r
	.type	tmpnam_r, @function
tmpnam_r:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	tmpnam
	jmp	.L11
.L9:
	mov	eax, 0
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	tmpnam_r, .-tmpnam_r
	.data
	.align 16
	.type	name.0, @object
	.size	name.0, 20
name.0:
	.string	"/tmp/tn000000000000"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"757476.c"
	.text
	.align	2
	.global	tmpnam
	.syntax unified
	.arm
	.fpu softvfp
	.type	tmpnam, %function
tmpnam:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
.L6:
	ldr	r3, .L8
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #48
	strb	r2, [r3]
.L2:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	beq	.L3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	b	.L5
.L4:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	mov	r1, #0
	ldr	r0, .L8+4
	bl	access
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L7
	ldr	r1, .L8+4
	ldr	r0, [fp, #-16]
	bl	strcpy
	ldr	r3, [fp, #-16]
	b	.L5
.L7:
	ldr	r3, .L8+4
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	name.5390+7
	.word	name.5390
	.size	tmpnam, .-tmpnam
	.align	2
	.global	tmpnam_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	tmpnam_r, %function
tmpnam_r:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L11
	ldr	r0, [fp, #-8]
	bl	tmpnam
	mov	r3, r0
	b	.L13
.L11:
	mov	r3, #0
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tmpnam_r, .-tmpnam_r
	.data
	.align	2
	.type	name.5390, %object
	.size	name.5390, 20
name.5390:
	.ascii	"/tmp/tn000000000000\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
