	.file	"extr_tcpdump.c_open_interface.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"No such device"
.LC1:
	.string	"%s"
	.text
	.p2align 4
	.type	open_interface, @function
open_interface:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, 1000
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	mov	r8, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	BYTE PTR [rdx], 0
	mov	eax, DWORD PTR pflag[rip]
	xor	edx, edx
	mov	esi, DWORD PTR [rsi]
	test	eax, eax
	sete	dl
	call	pcap_open_live@PLT
	mov	r12, rax
	test	rax, rax
	je	.L6
	cmp	BYTE PTR 0[rbp], 0
	jne	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	strstr@PLT
	test	rax, rax
	jne	.L1
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	error@PLT
	cmp	BYTE PTR 0[rbp], 0
	je	.L1
.L7:
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	warning@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	open_interface, .-open_interface
	.comm	supports_monitor_mode,4,4
	.comm	pflag,4,4
	.comm	jflag,4,4
	.comm	immediate_mode,8,8
	.comm	Qflag,4,4
	.comm	PCAP_WARNING_PROMISC_NOTSUP,4,4
	.comm	PCAP_WARNING,4,4
	.comm	PCAP_ERROR_RFMON_NOTSUP,4,4
	.comm	PCAP_ERROR_PERM_DENIED,4,4
	.comm	PCAP_ERROR_NO_SUCH_DEVICE,4,4
	.comm	PCAP_ERROR,4,4
	.comm	PCAP_ERRBUF_SIZE,4,4
	.comm	Jflag,8,8
	.comm	Iflag,8,8
	.comm	Bflag,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_tcpdump.c_open_interface.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"No such device\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_interface, %function
open_interface:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	ldr	r3, .L11
	push	{r4, r5, lr}
	strb	ip, [r2]
	mov	r4, r2
	ldr	r2, [r3]
	sub	sp, sp, #12
	clz	r2, r2
	ldr	r1, [r1]
	mov	r3, #1000
	str	r4, [sp]
	lsr	r2, r2, #5
	bl	pcap_open_live
	subs	r5, r0, #0
	beq	.L9
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	mov	r0, r4
	ldr	r1, .L11+4
	bl	strstr
	cmp	r0, #0
	bne	.L1
	mov	r1, r4
	ldr	r0, .L11+8
	bl	error
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L1
.L10:
	mov	r1, r4
	ldr	r0, .L11+8
	bl	warning
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	.align	2
.L11:
	.word	pflag
	.word	.LC0
	.word	.LC1
	.size	open_interface, .-open_interface
	.comm	supports_monitor_mode,4,4
	.comm	pflag,4,4
	.comm	jflag,4,4
	.comm	immediate_mode,4,4
	.comm	Qflag,4,4
	.comm	PCAP_WARNING_PROMISC_NOTSUP,4,4
	.comm	PCAP_WARNING,4,4
	.comm	PCAP_ERROR_RFMON_NOTSUP,4,4
	.comm	PCAP_ERROR_PERM_DENIED,4,4
	.comm	PCAP_ERROR_NO_SUCH_DEVICE,4,4
	.comm	PCAP_ERROR,4,4
	.comm	PCAP_ERRBUF_SIZE,4,4
	.comm	Jflag,4,4
	.comm	Iflag,4,4
	.comm	Bflag,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
