	.file	"extr_flow_dissector.c_create_tap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/dev/net/tun"
	.text
	.p2align 4
	.type	create_tap, @function
create_tap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, rdi
	mov	edx, 4
	xor	edi, edi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR IFF_TAP[rip]
	or	eax, DWORD PTR IFF_NO_PI[rip]
	mov	DWORD PTR 4[rsp], 0
	or	eax, DWORD PTR IFF_NAPI[rip]
	or	eax, DWORD PTR IFF_NAPI_FRAGS[rip]
	mov	DWORD PTR [rsp], eax
	call	strncpy@PLT
	mov	esi, DWORD PTR O_RDWR[rip]
	lea	rdi, .LC0[rip]
	call	open@PLT
	test	eax, eax
	js	.L2
	mov	esi, DWORD PTR TUNSETIFF[rip]
	mov	rdx, rsp
	mov	edi, eax
	mov	r12d, eax
	call	ioctl@PLT
	test	eax, eax
	jne	.L2
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, -1
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	create_tap, .-create_tap
	.comm	TUNSETIFF,4,4
	.comm	O_RDWR,4,4
	.comm	IFF_TAP,4,4
	.comm	IFF_NO_PI,4,4
	.comm	IFF_NAPI_FRAGS,4,4
	.comm	IFF_NAPI,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_flow_dissector.c_create_tap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/dev/net/tun\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_tap, %function
create_tap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	ldr	r2, .L11
	ldr	r3, .L11+4
	push	{r4, lr}
	mov	r1, r0
	ldr	r0, .L11+8
	ldr	lr, [r2]
	ldr	r3, [r3]
	ldr	r2, .L11+12
	ldr	r0, [r0]
	ldr	r2, [r2]
	orr	r3, r3, lr
	orr	r3, r3, r0
	ldr	lr, .L11+16
	sub	sp, sp, #16
	orr	r3, r3, r2
	mov	r0, ip
	mov	r2, #4
	ldr	lr, [lr]
	str	lr, [sp, #12]
	mov	lr,#0
	stmib	sp, {r3, ip}
	bl	strncpy
	ldr	r3, .L11+20
	ldr	r0, .L11+24
	ldr	r1, [r3]
	bl	open
	subs	r4, r0, #0
	blt	.L2
	ldr	r3, .L11+28
	add	r2, sp, #4
	ldr	r1, [r3]
	bl	ioctl
	cmp	r0, #0
	bne	.L2
.L1:
	ldr	r3, .L11+16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L2:
	mvn	r4, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	IFF_NO_PI
	.word	IFF_TAP
	.word	IFF_NAPI
	.word	IFF_NAPI_FRAGS
	.word	.LC1
	.word	O_RDWR
	.word	.LC0
	.word	TUNSETIFF
	.size	create_tap, .-create_tap
	.comm	TUNSETIFF,4,4
	.comm	O_RDWR,4,4
	.comm	IFF_TAP,4,4
	.comm	IFF_NO_PI,4,4
	.comm	IFF_NAPI_FRAGS,4,4
	.comm	IFF_NAPI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
