	.file	"33916.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"1.2"
.LC1:
	.string	"dhd_priv: Version = %s\n"
.LC2:
	.string	"argv: "
.LC3:
	.string	"%s "
.LC4:
	.string	"Please input right cmd"
	.align 8
.LC5:
	.string	"dhd_priv: socket(PF_INET,SOCK_DGRAM)"
.LC6:
	.string	"wlan0"
	.align 8
.LC7:
	.string	"dhd_priv: failed to issue private commands %d\n"
	.align 8
.LC8:
	.string	"dhd_priv: buf = %s, len = %d, ret = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 608
	mov	DWORD PTR -596[rbp], edi
	mov	QWORD PTR -608[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -584[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	lea	rdx, -496[rbp]
	mov	eax, 0
	mov	ecx, 60
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	DWORD PTR -588[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -588[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -608[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -588[rbp], 1
.L2:
	mov	eax, DWORD PTR -588[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -608[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -608[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L11
.L7:
	mov	rax, QWORD PTR -608[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -512[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -608[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L6
	lea	rax, -512[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -512[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
.L6:
	add	QWORD PTR -608[rbp], 8
	mov	rax, QWORD PTR -608[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L7
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -580[rbp], eax
	cmp	DWORD PTR -580[rbp], 0
	jns	.L8
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L11
.L8:
	lea	rax, -560[rbp]
	mov	edx, 40
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -576[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -560[rbp]
	mov	edx, 16
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -512[rbp]
	mov	QWORD PTR -576[rbp], rax
	mov	DWORD PTR -568[rbp], 500
	mov	DWORD PTR -564[rbp], 500
	lea	rax, -576[rbp]
	mov	QWORD PTR -544[rbp], rax
	lea	rdx, -560[rbp]
	mov	eax, DWORD PTR -580[rbp]
	mov	esi, 35313
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -584[rbp], eax
	cmp	DWORD PTR -584[rbp], 0
	jns	.L9
	mov	eax, DWORD PTR -584[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	lea	rax, -512[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	mov	edx, DWORD PTR -584[rbp]
	lea	rax, -512[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, DWORD PTR -580[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -584[rbp]
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"33916.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1.2\000"
	.align	2
.LC1:
	.ascii	"dhd_priv: Version = %s\012\000"
	.align	2
.LC2:
	.ascii	"argv: \000"
	.align	2
.LC3:
	.ascii	"%s \000"
	.align	2
.LC4:
	.ascii	"Please input right cmd\000"
	.align	2
.LC5:
	.ascii	" \000"
	.align	2
.LC6:
	.ascii	"dhd_priv: socket(PF_INET,SOCK_DGRAM)\000"
	.align	2
.LC7:
	.ascii	"wlan0\000"
	.align	2
.LC8:
	.ascii	"dhd_priv: failed to issue private commands %d\012\000"
	.align	2
.LC9:
	.ascii	"dhd_priv: buf = %s, len = %d, ret = %d\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 568
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #568
	str	r0, [fp, #-568]
	str	r1, [fp, #-572]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-560]
	mov	r3, #0
	str	r3, [fp, #-508]
	sub	r3, fp, #504
	mov	r2, #496
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-564]
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	bl	printf
	ldr	r0, .L13+12
	bl	printf
	b	.L2
.L3:
	ldr	r3, [fp, #-564]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-572]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
	ldr	r3, [fp, #-564]
	add	r3, r3, #1
	str	r3, [fp, #-564]
.L2:
	ldr	r3, [fp, #-564]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-572]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-572]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L13+20
	bl	puts
	mov	r3, #0
	b	.L11
.L7:
	ldr	r3, [fp, #-572]
	ldr	r2, [r3]
	sub	r3, fp, #508
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-572]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #508
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #508
	add	r3, r3, r2
	ldr	r2, .L13+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L6:
	ldr	r3, [fp, #-572]
	add	r3, r3, #4
	str	r3, [fp, #-572]
	ldr	r3, [fp, #-572]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-556]
	ldr	r3, [fp, #-556]
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L13+28
	bl	puts
	mvn	r3, #0
	b	.L11
.L8:
	sub	r3, fp, #540
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #552
	mov	r2, #12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #540
	mov	r2, #16
	ldr	r1, .L13+32
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #508
	str	r3, [fp, #-552]
	mov	r3, #500
	str	r3, [fp, #-548]
	mov	r3, #500
	str	r3, [fp, #-544]
	sub	r3, fp, #552
	str	r3, [fp, #-524]
	sub	r3, fp, #540
	mov	r2, r3
	ldr	r1, .L13+36
	ldr	r0, [fp, #-556]
	bl	ioctl
	str	r0, [fp, #-560]
	ldr	r3, [fp, #-560]
	cmp	r3, #0
	bge	.L9
	ldr	r1, [fp, #-560]
	ldr	r0, .L13+40
	bl	printf
	b	.L10
.L9:
	sub	r3, fp, #508
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #508
	ldr	r3, [fp, #-560]
	ldr	r0, .L13+44
	bl	printf
.L10:
	ldr	r0, [fp, #-556]
	bl	close
	ldr	r3, [fp, #-560]
.L11:
	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	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	35313
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
