	.file	"689642.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"%06d%s"
	.text
	.type	_mktemp, @function
_mktemp:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -200[rbp], rdi
	mov	DWORD PTR -204[rbp], esi
	mov	QWORD PTR -216[rbp], rdx
	mov	DWORD PTR -208[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -180[rbp], eax
	cmp	DWORD PTR -180[rbp], 5
	jg	.L2
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, 0
	jmp	.L3
.L2:
	lea	rax, .LC0[rip]
	mov	QWORD PTR -176[rbp], rax
	cmp	DWORD PTR -204[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	mov	rcx, rax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rcx
	mov	QWORD PTR -176[rbp], rax
.L4:
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	lea	rdx, -6[rax]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	QWORD PTR -168[rbp], rax
	mov	DWORD PTR -184[rbp], 0
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -184[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	je	.L6
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, 0
	jmp	.L3
.L6:
	add	DWORD PTR -184[rbp], 1
.L5:
	cmp	DWORD PTR -184[rbp], 5
	jle	.L7
	mov	DWORD PTR -184[rbp], 1
.L11:
	mov	rcx, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR -184[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L8
	cmp	QWORD PTR -216[rbp], 0
	je	.L9
	mov	ecx, DWORD PTR -208[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, 384
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	rdx, QWORD PTR -216[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L9
	mov	rax, QWORD PTR -200[rbp]
	jmp	.L3
.L9:
	mov	rax, QWORD PTR -200[rbp]
	jmp	.L3
.L8:
	add	DWORD PTR -184[rbp], 1
	jmp	.L11
.L3:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_mktemp, .-_mktemp
	.globl	mkdtemp
	.type	mkdtemp, @function
mkdtemp:
.LFB7:
	.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
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	_mktemp
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
	mov	eax, 0
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 448
	mov	rdi, rax
	call	mkdir@PLT
	test	eax, eax
	je	.L16
	mov	eax, 0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -24[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mkdtemp, .-mkdtemp
	.globl	mktemp
	.type	mktemp, @function
mktemp:
.LFB8:
	.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
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	_mktemp
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L18:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mktemp, .-mktemp
	.globl	mkstemp
	.type	mkstemp, @function
mkstemp:
.LFB9:
	.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], -1
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 194
	mov	esi, 0
	mov	rdi, rax
	call	_mktemp
	test	rax, rax
	jne	.L21
	mov	eax, -1
	jmp	.L23
.L21:
	mov	eax, DWORD PTR -12[rbp]
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mkstemp, .-mkstemp
	.globl	mkstemps
	.type	mkstemps, @function
mkstemps:
.LFB10:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], -1
	lea	rdx, -12[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 194
	mov	rdi, rax
	call	_mktemp
	test	rax, rax
	jne	.L26
	mov	eax, -1
	jmp	.L28
.L26:
	mov	eax, DWORD PTR -12[rbp]
.L28:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	mkstemps, .-mkstemps
	.globl	mkostemp
	.type	mkostemp, @function
mkostemp:
.LFB11:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], -1
	mov	ecx, DWORD PTR -28[rbp]
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	_mktemp
	test	rax, rax
	jne	.L31
	mov	eax, -1
	jmp	.L33
.L31:
	mov	eax, DWORD PTR -12[rbp]
.L33:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	mkostemp, .-mkostemp
	.globl	mkostemps
	.type	mkostemps, @function
mkostemps:
.LFB12:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], -1
	mov	ecx, DWORD PTR -32[rbp]
	lea	rdx, -12[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	_mktemp
	test	rax, rax
	jne	.L36
	mov	eax, -1
	jmp	.L38
.L36:
	mov	eax, DWORD PTR -12[rbp]
.L38:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	mkostemps, .-mkostemps
	.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	"689642.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%06d%s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_mktemp, %function
_mktemp:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	str	r2, [fp, #-128]
	str	r3, [fp, #-132]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-120]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #5
	bgt	.L2
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mov	r3, #0
	b	.L3
.L2:
	ldr	r3, .L13+4
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L4
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-124]
	sub	r3, r2, r3
	ldr	r2, [fp, #-120]
	add	r3, r2, r3
	str	r3, [fp, #-112]
.L4:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-124]
	sub	r3, r2, r3
	sub	r3, r3, #6
	ldr	r2, [fp, #-120]
	add	r3, r2, r3
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L5
.L7:
	ldr	r3, [fp, #-116]
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L6
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mov	r3, #0
	b	.L3
.L6:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L5:
	ldr	r3, [fp, #-116]
	cmp	r3, #5
	ble	.L7
	mov	r3, #1
	str	r3, [fp, #-116]
.L11:
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #-116]
	ldr	r1, .L13+8
	ldr	r0, [fp, #-104]
	bl	sprintf
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L8
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	beq	.L9
	mov	r2, #384
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-120]
	bl	open
	mov	r2, r0
	ldr	r3, [fp, #-128]
	str	r2, [r3]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L9
	ldr	r3, [fp, #-120]
	b	.L3
.L9:
	ldr	r3, [fp, #-120]
	b	.L3
.L8:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
	b	.L11
.L3:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	_mktemp, .-_mktemp
	.align	2
	.global	mkdtemp
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkdtemp, %function
mkdtemp:
	@ 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]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	_mktemp
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	b	.L17
.L16:
	mov	r1, #448
	ldr	r0, [fp, #-16]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	mov	r3, #0
	b	.L17
.L18:
	ldr	r3, [fp, #-16]
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mkdtemp, .-mkdtemp
	.align	2
	.global	mktemp
	.syntax unified
	.arm
	.fpu softvfp
	.type	mktemp, %function
mktemp:
	@ 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]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	_mktemp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
.L20:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mktemp, .-mktemp
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mkstemp
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkstemp, %function
mkstemp:
	@ 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]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	mov	r3, #194
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	_mktemp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	mvn	r3, #0
	b	.L25
.L23:
	ldr	r3, [fp, #-12]
.L25:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC3
	.size	mkstemp, .-mkstemp
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mkstemps
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkstemps, %function
mkstemps:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	mov	r3, #194
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	_mktemp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	mvn	r3, #0
	b	.L32
.L30:
	ldr	r3, [fp, #-12]
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC4
	.size	mkstemps, .-mkstemps
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mkostemp
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkostemp, %function
mkostemp:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	ldr	r3, [fp, #-20]
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	_mktemp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	mvn	r3, #0
	b	.L39
.L37:
	ldr	r3, [fp, #-12]
.L39:
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC5
	.size	mkostemp, .-mkostemp
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mkostemps
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkostemps, %function
mkostemps:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-12]
	sub	r2, fp, #12
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	_mktemp
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	mvn	r3, #0
	b	.L46
.L44:
	ldr	r3, [fp, #-12]
.L46:
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC6
	.size	mkostemps, .-mkostemps
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
