	.file	"extr_1506.c_buildfile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"wb"
.LC1:
	.string	"-> Failed to generate file..."
.LC2:
	.string	"-> '%s' generated.\n"
.LC3:
	.string	"-> shellcode binds 3334 port."
	.text
	.p2align 4
	.globl	buildfile
	.type	buildfile, @function
buildfile:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR FNAME[rip]
	call	fopen@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L8
.L2:
	mov	eax, DWORD PTR BSIZE[rip]
	test	eax, eax
	jle	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR buff[rip]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	fputc@PLT
	cmp	DWORD PTR BSIZE[rip], ebx
	jg	.L4
.L3:
	mov	rdi, rbp
	call	fclose@PLT
	mov	rsi, QWORD PTR FNAME[rip]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printf@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC3[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	puts@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	err_exit@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	buildfile, .-buildfile
	.comm	buff,8,8
	.comm	FNAME,8,8
	.comm	BSIZE,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_1506.c_buildfile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"-> Failed to generate file...\000"
	.align	2
.LC2:
	.ascii	"-> '%s' generated.\012\000"
	.align	2
.LC3:
	.ascii	"-> shellcode binds 3334 port.\000"
	.text
	.align	2
	.global	buildfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildfile, %function
buildfile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L9
	ldr	r1, .L9+4
	ldr	r0, [r8]
	bl	fopen
	subs	r5, r0, #0
	beq	.L8
.L2:
	ldr	r6, .L9+8
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L3
	mov	r4, #0
	ldr	r7, .L9+12
.L4:
	ldr	r3, [r7]
	mov	r1, r5
	ldr	r0, [r3, r4, lsl #2]
	bl	fputc
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L4
.L3:
	mov	r0, r5
	bl	fclose
	ldr	r1, [r8]
	ldr	r0, .L9+16
	bl	printf
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, .L9+20
	b	puts
.L8:
	ldr	r0, .L9+24
	bl	err_exit
	b	.L2
.L10:
	.align	2
.L9:
	.word	FNAME
	.word	.LC0
	.word	BSIZE
	.word	buff
	.word	.LC2
	.word	.LC3
	.word	.LC1
	.size	buildfile, .-buildfile
	.comm	buff,4,4
	.comm	FNAME,4,4
	.comm	BSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
