	.file	"extr_main.c_iwnstats_new.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/dev/%s"
.LC1:
	.string	"open"
	.text
	.p2align 4
	.type	iwnstats_new, @function
iwnstats_new:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 8
	mov	r13, rdi
	mov	edi, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 144
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	call	calloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rbp, rsp
	mov	rcx, r13
	mov	esi, 128
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	snprintf@PLT
	mov	esi, DWORD PTR O_RDWR[rip]
	mov	rdi, rbp
	call	open@PLT
	mov	QWORD PTR [r12], rax
	test	rax, rax
	js	.L9
.L1:
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 144
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iwnstats_new, .-iwnstats_new
	.comm	O_RDWR,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_main.c_iwnstats_new.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/dev/%s\000"
	.align	2
.LC1:
	.ascii	"open\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwnstats_new, %function
iwnstats_new:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L11
	sub	sp, sp, #140
	mov	r5, r0
	mov	r1, #4
	mov	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	bl	calloc
	subs	r4, r0, #0
	beq	.L1
	mov	r3, r5
	mov	r1, #128
	ldr	r2, .L11+4
	add	r0, sp, #4
	bl	snprintf
	ldr	r3, .L11+8
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	open
	cmp	r0, #0
	str	r0, [r4]
	blt	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #140
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	ldr	r1, .L11+12
	mov	r0, #1
	bl	err
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	.LC0
	.word	O_RDWR
	.word	.LC1
	.size	iwnstats_new, .-iwnstats_new
	.comm	O_RDWR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
