	.file	"extr_pcap-dlpi.c_is_dlpi_interface.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	is_dlpi_interface, @function
is_dlpi_interface:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L13
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L14
.L4:
	lea	rsi, -12[rbp]
	mov	rdx, rsp
	call	open_dlpi_device@PLT
	mov	edi, eax
	test	eax, eax
	jns	.L5
	xor	eax, eax
	cmp	DWORD PTR PCAP_ERROR_NO_SUCH_DEVICE[rip], edi
	setne	al
.L1:
	mov	rsi, QWORD PTR -8[rbp]
	xor	rsi, QWORD PTR fs:40
	jne	.L15
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	close@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	is_dlpi_interface, .-is_dlpi_interface
	.comm	PCAP_ERROR_NO_SUCH_DEVICE,4,4
	.comm	PCAP_ERRBUF_SIZE,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_pcap-dlpi.c_is_dlpi_interface.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_dlpi_interface, %function
is_dlpi_interface:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r2, [fp, #-8]
	mov	r2,#0
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r2, sp
	sub	r1, fp, #12
	bl	open_dlpi_device
	subs	r3, r0, #0
	bge	.L2
	ldr	r2, .L8+8
	ldr	r0, [r2]
	subs	r0, r0, r3
	movne	r0, #1
.L1:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L2:
	bl	close
	mov	r0, #1
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	PCAP_ERRBUF_SIZE
	.word	.LC0
	.word	PCAP_ERROR_NO_SUCH_DEVICE
	.size	is_dlpi_interface, .-is_dlpi_interface
	.comm	PCAP_ERROR_NO_SUCH_DEVICE,4,4
	.comm	PCAP_ERRBUF_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
