	.file	"extr_prga.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"tap0"
.LC1:
	.string	"prga.log"
	.section	.rodata
.LC2:
	.string	""
	.string	""
	.string	"\336\372\316\r"
	.section	.rodata.str1.1
.LC3:
	.string	"Can't parse BSSID\n"
.LC4:
	.string	"hb:t:"
.LC5:
	.string	"wlan0"
.LC6:
	.string	"open_rx()"
.LC7:
	.string	"open_tx()"
.LC8:
	.string	"open_tap()"
.LC9:
	.string	"set_iface_mac()"
.LC10:
	.string	"Obtaining PRGA\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, 56
	lea	r14, .LC4[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	r12, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 64
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	mov	rdi, rbx
	call	memset@PLT
	mov	edi, DWORD PTR 40[rsp]
	lea	rax, .LC1[rip]
	mov	edx, 6
	lea	rsi, .LC2[rip]
	mov	QWORD PTR [rsp], rax
	call	memcpy@PLT
	mov	rax, QWORD PTR S_START[rip]
	mov	DWORD PTR 8[rsp], 1500
	mov	QWORD PTR 32[rsp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	DWORD PTR 48[rsp], eax
.L2:
	mov	rdx, r14
	mov	rsi, rbp
	mov	edi, r13d
	call	getopt@PLT
	cmp	eax, -1
	je	.L25
	cmp	eax, 98
	je	.L3
	cmp	eax, 116
	je	.L4
	mov	rdi, QWORD PTR 0[rbp]
	call	usage@PLT
	jmp	.L2
.L3:
	mov	rsi, QWORD PTR optarg[rip]
	mov	edi, DWORD PTR 44[rsp]
	call	str2mac@PLT
	cmp	eax, -1
	jne	.L2
	lea	rdi, .LC3[rip]
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L2
.L4:
	mov	r12, QWORD PTR optarg[rip]
	jmp	.L2
.L25:
	lea	rdi, .LC5[rip]
	call	open_rx@PLT
	mov	DWORD PTR 12[rsp], eax
	cmp	eax, -1
	je	.L26
.L8:
	lea	rdi, .LC5[rip]
	call	open_tx@PLT
	mov	DWORD PTR 16[rsp], eax
	cmp	eax, -1
	je	.L27
.L9:
	mov	rdi, r12
	call	open_tap@PLT
	mov	DWORD PTR 20[rsp], eax
	cmp	eax, -1
	je	.L28
.L10:
	mov	esi, DWORD PTR 40[rsp]
	mov	rdi, r12
	call	set_iface_mac@PLT
	cmp	eax, -1
	je	.L29
.L11:
	lea	rdi, .LC10[rip]
	call	printf@PLT
	mov	rdi, rbx
	call	load_prga@PLT
	mov	eax, DWORD PTR 24[rsp]
	test	eax, eax
	jne	.L12
.L13:
	mov	rdi, rbx
	call	get_prga@PLT
	mov	eax, DWORD PTR 24[rsp]
	test	eax, eax
	je	.L13
.L12:
	cmp	eax, DWORD PTR 8[rsp]
	jge	.L16
.L14:
	mov	rdi, rbx
	call	get_more_prga@PLT
	mov	eax, DWORD PTR 8[rsp]
	cmp	DWORD PTR 24[rsp], eax
	jl	.L14
.L16:
	mov	rax, QWORD PTR S_START[rip]
	mov	QWORD PTR 32[rsp], rax
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbx
	call	transmit@PLT
	jmp	.L15
.L26:
	lea	rsi, .LC6[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L8
.L29:
	lea	rsi, .LC9[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L11
.L28:
	lea	rsi, .LC8[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L10
.L27:
	lea	rsi, .LC7[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	optarg,8,8
	.comm	S_START,8,8
	.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_prga.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tap0\000"
	.align	2
.LC1:
	.ascii	"prga.log\000"
	.align	2
.LC3:
	.ascii	"Can't parse BSSID\012\000"
	.align	2
.LC4:
	.ascii	"hb:t:\000"
	.align	2
.LC5:
	.ascii	"wlan0\000"
	.align	2
.LC6:
	.ascii	"open_rx()\000"
	.align	2
.LC7:
	.ascii	"open_tx()\000"
	.align	2
.LC8:
	.ascii	"open_tap()\000"
	.align	2
.LC9:
	.ascii	"set_iface_mac()\000"
	.align	2
.LC10:
	.ascii	"Obtaining PRGA\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC11:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L30
	sub	sp, sp, #48
	mov	r2, #36
	mov	r6, r0
	mov	r4, r1
	add	r0, sp, #8
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r7, .L30+4
	bl	memset
	ldr	r3, .L30+8
	mov	r2, #6
	ldr	r1, .L30+12
	mov	r0, #0
	str	r3, [sp, #4]
	bl	memcpy
	ldr	r2, [r7]
	ldr	r3, .L30+16
	str	r2, [sp, #28]
	str	r3, [sp, #8]
	bl	getpid
	ldr	r5, .L30+20
	ldr	r8, .L30+24
	ldr	r10, .L30+28
	ldr	r9, .L30+32
	str	r0, [sp, #40]
.L2:
	mov	r2, r10
	mov	r1, r4
	mov	r0, r6
	bl	getopt
	cmn	r0, #1
	mov	r3, r0
	beq	.L25
	cmp	r3, #98
	beq	.L3
	cmp	r3, #116
	beq	.L4
	ldr	r0, [r4]
	bl	usage
	b	.L2
.L3:
	ldr	r1, [r8]
	ldr	r0, [sp, #36]
	bl	str2mac
	cmn	r0, #1
	bne	.L2
	mov	r0, r9
	bl	printf
	mov	r0, #1
	bl	exit
	b	.L2
.L4:
	ldr	r5, [r8]
	b	.L2
.L25:
	ldr	r0, .L30+36
	bl	open_rx
	cmn	r0, #1
	str	r0, [sp, #12]
	beq	.L26
.L8:
	ldr	r0, .L30+36
	bl	open_tx
	cmn	r0, #1
	str	r0, [sp, #16]
	beq	.L27
.L9:
	mov	r0, r5
	bl	open_tap
	cmn	r0, #1
	str	r0, [sp, #20]
	beq	.L28
.L10:
	mov	r0, r5
	ldr	r1, [sp, #32]
	bl	set_iface_mac
	cmn	r0, #1
	beq	.L29
.L11:
	ldr	r0, .L30+40
	bl	printf
	add	r0, sp, #4
	bl	load_prga
	ldr	r3, [sp, #24]
	cmp	r3, #0
	bne	.L12
.L13:
	add	r0, sp, #4
	bl	get_prga
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L13
.L12:
	ldr	r2, [sp, #8]
	cmp	r3, r2
	bge	.L16
.L14:
	add	r0, sp, #4
	bl	get_more_prga
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #8]
	cmp	r2, r3
	blt	.L14
.L16:
	ldr	r3, [r7]
	str	r3, [sp, #28]
.L15:
	add	r0, sp, #4
	bl	transmit
	b	.L15
.L26:
	ldr	r1, .L30+44
	mov	r0, #1
	bl	err
	b	.L8
.L29:
	ldr	r1, .L30+48
	mov	r0, #1
	bl	err
	b	.L11
.L28:
	ldr	r1, .L30+52
	mov	r0, #1
	bl	err
	b	.L10
.L27:
	ldr	r1, .L30+56
	mov	r0, #1
	bl	err
	b	.L9
.L31:
	.align	2
.L30:
	.word	.LC11
	.word	S_START
	.word	.LC1
	.word	.LANCHOR0
	.word	1500
	.word	.LC0
	.word	optarg
	.word	.LC4
	.word	.LC3
	.word	.LC5
	.word	.LC10
	.word	.LC6
	.word	.LC9
	.word	.LC8
	.word	.LC7
	.size	main, .-main
	.comm	optarg,4,4
	.comm	S_START,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC2:
	.ascii	"\000\000\336\372\316\015\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
