	.file	"extr_nTox.c_file_request_accept.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Refused invalid file type."
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"[t] %u is sending us: %s of size %llu"
	.align 8
.LC2:
	.string	"Accepted file transfer. (saving file as: %u.%u.bin)"
	.align 8
.LC3:
	.string	"Could not accept file transfer."
	.text
	.p2align 4
	.globl	file_request_accept
	.type	file_request_accept, @function
file_request_accept:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 536
	.cfi_def_cfa_offset 576
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 520[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR TOX_FILE_KIND_DATA[rip], rcx
	je	.L2
	lea	rdi, .LC0[rip]
	call	new_lines@PLT
	xor	r8d, r8d
	mov	rdx, r12
	mov	rsi, rbp
	mov	ecx, DWORD PTR TOX_FILE_CONTROL_CANCEL[rip]
	mov	rdi, r13
	call	tox_file_control@PLT
.L1:
	mov	rax, QWORD PTR 520[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 536
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r14, rsp
	mov	rdx, rsi
	mov	rcx, r9
	xor	eax, eax
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	sprintf@PLT
	mov	rdi, r14
	call	new_lines@PLT
	xor	r8d, r8d
	mov	rdx, r12
	mov	rsi, rbp
	mov	ecx, DWORD PTR TOX_FILE_CONTROL_RESUME[rip]
	mov	rdi, r13
	call	tox_file_control@PLT
	test	rax, rax
	je	.L4
	mov	rdi, r14
	mov	rcx, r12
	mov	rdx, rbp
	xor	eax, eax
	lea	rsi, .LC2[rip]
	call	sprintf@PLT
	mov	rdi, r14
	call	new_lines@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rdi, .LC3[rip]
	call	new_lines@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	file_request_accept, .-file_request_accept
	.comm	TOX_FILE_KIND_DATA,8,8
	.comm	TOX_FILE_CONTROL_RESUME,4,4
	.comm	TOX_FILE_CONTROL_CANCEL,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_nTox.c_file_request_accept.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Refused invalid file type.\000"
	.align	2
.LC1:
	.ascii	"[t] %u is sending us: %s of size %llu\000"
	.align	2
.LC2:
	.ascii	"Accepted file transfer. (saving file as: %u.%u.bin)"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"Could not accept file transfer.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	file_request_accept
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_request_accept, %function
file_request_accept:
	@ args = 16, pretend = 0, frame = 520
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L10
	mov	r8, r0
	ldr	r0, [ip]
	sub	sp, sp, #528
	cmp	r0, r3
	ldr	r3, .L10+4
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #524]
	mov	r3,#0
	mov	r5, r2
	ldr	r3, [sp, #556]
	beq	.L2
	ldr	r0, .L10+8
	bl	new_lines
	mov	ip, #0
	ldr	r3, .L10+12
	str	ip, [sp]
	mov	r2, r5
	mov	r1, r4
	mov	r0, r8
	ldr	r3, [r3]
	bl	tox_file_control
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #524]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #528
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r6, [sp, #552]
	mov	r2, r1
	asr	r7, r6, #31
	ldr	r1, .L10+16
	stm	sp, {r6-r7}
	add	r0, sp, #12
	bl	sprintf
	add	r0, sp, #12
	bl	new_lines
	mov	r2, #0
	ldr	r3, .L10+20
	str	r2, [sp]
	mov	r0, r8
	mov	r2, r5
	mov	r1, r4
	ldr	r3, [r3]
	bl	tox_file_control
	cmp	r0, #0
	beq	.L4
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L10+24
	add	r0, sp, #12
	bl	sprintf
	add	r0, sp, #12
	bl	new_lines
	b	.L1
.L4:
	ldr	r0, .L10+28
	bl	new_lines
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	TOX_FILE_KIND_DATA
	.word	.LC4
	.word	.LC0
	.word	TOX_FILE_CONTROL_CANCEL
	.word	.LC1
	.word	TOX_FILE_CONTROL_RESUME
	.word	.LC2
	.word	.LC3
	.size	file_request_accept, .-file_request_accept
	.comm	TOX_FILE_KIND_DATA,4,4
	.comm	TOX_FILE_CONTROL_RESUME,4,4
	.comm	TOX_FILE_CONTROL_CANCEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
