	.file	"560241.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"w+"
	.text
	.type	fallback, @function
fallback:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 6365935034061124655
	mov	QWORD PTR -23[rbp], rax
	mov	DWORD PTR -15[rbp], 1482184792
	mov	WORD PTR -11[rbp], 88
	mov	BYTE PTR -9[rbp], 0
	lea	rax, -23[rbp]
	mov	esi, 524288
	mov	rdi, rax
	call	mkostemp@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L2
	mov	eax, 0
	jmp	.L4
.L2:
	mov	eax, DWORD PTR -28[rbp]
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	fdopen@PLT
.L4:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fallback, .-fallback
	.section	.rodata
.LC1:
	.string	"/tmp/"
	.text
	.globl	tempfile
	.type	tempfile, @function
tempfile:
.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, 16
	mov	edi, 63
	call	umask@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	edx, 384
	mov	esi, 4784258
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	umask@PLT
	cmp	DWORD PTR -4[rbp], -1
	jne	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 95
	jne	.L8
	call	fallback
	jmp	.L9
.L8:
	mov	eax, 0
	jmp	.L9
.L7:
	mov	eax, DWORD PTR -4[rbp]
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	fdopen@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	tempfile, .-tempfile
	.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	"560241.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"w+\000"
	.align	2
.LC0:
	.ascii	"/tmp/XXXXXXXX\000"
	.space	1
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fallback, %function
fallback:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-10]
	sub	r3, fp, #24
	mov	r1, #524288
	mov	r0, r3
	bl	mkostemp
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L2
	mov	r3, #0
	b	.L4
.L2:
	ldr	r1, .L6+8
	ldr	r0, [fp, #-28]
	bl	fdopen
	mov	r3, r0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	fallback, .-fallback
	.section	.rodata
	.align	2
.LC3:
	.ascii	"/tmp/\000"
	.text
	.align	2
	.global	tempfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	tempfile, %function
tempfile:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #63
	bl	umask
	str	r0, [fp, #-12]
	mov	r2, #384
	ldr	r1, .L12
	ldr	r0, .L12+4
	bl	open
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	umask
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #95
	bne	.L10
	bl	fallback
	mov	r3, r0
	b	.L11
.L10:
	mov	r3, #0
	b	.L11
.L9:
	ldr	r1, .L12+8
	ldr	r0, [fp, #-8]
	bl	fdopen
	mov	r3, r0
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	4735106
	.word	.LC3
	.word	.LC1
	.size	tempfile, .-tempfile
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
