	.file	"extr_sf-pcapng.c_process_idb_options.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Interface Description Block has opt_endofopt option with length %u != 0"
	.align 8
.LC1:
	.string	"Interface Description Block has if_tsresol option with length %u != 1"
	.align 8
.LC2:
	.string	"Interface Description Block has more than one if_tsresol option"
	.align 8
.LC3:
	.string	"Interface Description Block if_tsresol option resolution 2^-%u is too high"
	.align 8
.LC4:
	.string	"Interface Description Block if_tsresol option resolution 10^-%u is too high"
	.align 8
.LC5:
	.string	"Interface Description Block has if_tsoffset option with length %u != 8"
	.align 8
.LC6:
	.string	"Interface Description Block has more than one if_tsoffset option"
	.text
	.p2align 4
	.type	process_idb_options, @function
process_idb_options:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rdx
	mov	QWORD PTR 16[rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rax, 36[rsp]
	mov	DWORD PTR 4[rsp], 0
	mov	QWORD PTR 24[rsp], rax
.L8:
	cmp	QWORD PTR [rbx], 0
	je	.L20
	mov	rdx, rbp
	mov	rsi, rbx
	mov	rdi, r12
	call	get_opthdr_from_block_data@PLT
	mov	r15, rax
	test	rax, rax
	je	.L35
	mov	rsi, rax
	mov	rdx, rbp
	mov	rdi, rbx
	call	get_optvalue_from_block_data@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L35
	mov	eax, DWORD PTR [r15]
	cmp	eax, 129
	je	.L6
	cmp	eax, 130
	je	.L7
	cmp	eax, 128
	jne	.L8
	mov	ecx, DWORD PTR 4[r15]
	test	ecx, ecx
	jne	.L9
.L20:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L37
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	ecx, DWORD PTR 4[r15]
	cmp	ecx, 8
	jne	.L38
	test	r14d, r14d
	jne	.L39
	mov	edx, 4
	mov	rdi, r13
	mov	r14d, 1
	call	memcpy@PLT
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	je	.L8
	mov	edi, DWORD PTR 0[r13]
	call	SWAPLL@PLT
	mov	DWORD PTR 0[r13], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r8d, DWORD PTR 4[r15]
	cmp	r8d, 1
	jne	.L40
	mov	edx, DWORD PTR 4[rsp]
	test	edx, edx
	jne	.L41
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, 4
	mov	DWORD PTR 4[rsp], r8d
	call	memcpy@PLT
	mov	ecx, DWORD PTR 36[rsp]
	mov	rax, QWORD PTR 16[rsp]
	mov	edx, ecx
	and	edx, 128
	je	.L12
	mov	r8d, DWORD PTR 4[rsp]
	mov	DWORD PTR [rax], 1
	mov	r9d, ecx
	mov	rax, QWORD PTR 8[rsp]
	and	r9d, 127
	sal	r8d, cl
	mov	DWORD PTR [rax], r8d
	test	r8d, r8d
	je	.L13
.L22:
	mov	DWORD PTR 4[rsp], 1
	jmp	.L8
.L9:
	lea	rdx, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	pcap_snprintf@PLT
.L35:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax], 1
	test	ecx, ecx
	jle	.L22
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L15:
	lea	eax, [rax+rax*4]
	add	edx, 1
	add	eax, eax
	cmp	ecx, edx
	jne	.L15
	mov	rdi, QWORD PTR 8[rsp]
	mov	DWORD PTR 4[rsp], 1
	mov	DWORD PTR [rdi], eax
	jmp	.L8
.L40:
	mov	ecx, r8d
	lea	rdx, .LC1[rip]
	jmp	.L34
.L38:
	lea	rdx, .LC5[rip]
	jmp	.L34
.L39:
	lea	rdx, .LC6[rip]
.L32:
	mov	esi, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	pcap_snprintf@PLT
	jmp	.L35
.L41:
	lea	rdx, .LC2[rip]
	jmp	.L32
.L13:
	mov	ecx, r9d
	lea	rdx, .LC3[rip]
	jmp	.L34
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	process_idb_options, .-process_idb_options
	.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_sf-pcapng.c_process_idb_options.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Interface Description Block has opt_endofopt option"
	.ascii	" with length %u != 0\000"
	.align	2
.LC1:
	.ascii	"Interface Description Block has if_tsresol option w"
	.ascii	"ith length %u != 1\000"
	.align	2
.LC2:
	.ascii	"Interface Description Block has more than one if_ts"
	.ascii	"resol option\000"
	.align	2
.LC3:
	.ascii	"Interface Description Block if_tsresol option resol"
	.ascii	"ution 2^-%u is too high\000"
	.align	2
.LC4:
	.ascii	"Interface Description Block if_tsresol option resol"
	.ascii	"ution 10^-%u is too high\000"
	.align	2
.LC5:
	.ascii	"Interface Description Block has if_tsoffset option "
	.ascii	"with length %u != 8\000"
	.align	2
.LC6:
	.ascii	"Interface Description Block has more than one if_ts"
	.ascii	"offset option\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_idb_options, %function
process_idb_options:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, #0
	mov	r6, r0
	mov	fp, r1
	mov	r8, r2
	mov	r10, r9
	mov	r7, r3
	ldr	r3, .L38
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r3, [sp, #56]
	ldr	r5, [sp, #60]
	str	r3, [sp, #4]
.L8:
	ldr	r2, [fp]
	cmp	r2, #0
	beq	.L20
	mov	r2, r5
	mov	r1, fp
	mov	r0, r6
	bl	get_opthdr_from_block_data
	subs	r4, r0, #0
	beq	.L31
	mov	r1, r4
	mov	r2, r5
	mov	r0, fp
	bl	get_optvalue_from_block_data
	subs	r1, r0, #0
	beq	.L31
	ldr	r2, [r4]
	cmp	r2, #129
	beq	.L6
	cmp	r2, #130
	beq	.L7
	cmp	r2, #128
	bne	.L8
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L9
.L20:
	mov	r0, #0
.L1:
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r2, [r4, #4]
	cmp	r2, #8
	bne	.L34
	cmp	r9, #0
	bne	.L35
	mov	r2, #4
	mov	r0, r7
	bl	memcpy
	ldr	r2, [r6]
	cmp	r2, #0
	moveq	r9, #1
	beq	.L8
	ldr	r0, [r7]
	bl	SWAPLL
	mov	r9, #1
	str	r0, [r7]
	b	.L8
.L6:
	ldr	r4, [r4, #4]
	cmp	r4, #1
	bne	.L36
	cmp	r10, #0
	bne	.L37
	mov	r2, #4
	add	r0, sp, #8
	bl	memcpy
	ldr	r2, [sp, #8]
	ands	r1, r2, #128
	beq	.L12
	and	r2, r2, #127
	lsl	r1, r4, r2
	ldr	r3, [sp, #4]
	cmp	r1, #0
	str	r4, [r3]
	str	r1, [r8]
	beq	.L13
.L30:
	mov	r10, #1
	b	.L8
.L12:
	ldr	r3, [sp, #4]
	cmp	r2, #0
	str	r10, [r3]
	str	r4, [r8]
	ble	.L30
.L15:
	add	r1, r1, #1
	add	r4, r4, r4, lsl #2
	cmp	r2, r1
	lsl	r4, r4, #1
	bne	.L15
	str	r4, [r8]
	b	.L30
.L34:
	ldr	r1, .L38+4
	mov	r3, r2
	mov	r0, r5
	ldr	r1, [r1]
	ldr	r2, .L38+8
	bl	pcap_snprintf
.L31:
	mvn	r0, #0
	b	.L1
.L36:
	ldr	r2, .L38+4
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r5
	ldr	r2, .L38+12
	bl	pcap_snprintf
	mvn	r0, #0
	b	.L1
.L37:
	ldr	r3, .L38+4
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L38+16
	bl	pcap_snprintf
	mvn	r0, #0
	b	.L1
.L35:
	ldr	r3, .L38+4
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L38+20
	bl	pcap_snprintf
	mvn	r0, #0
	b	.L1
.L13:
	ldr	r1, .L38+4
	mov	r3, r2
	mov	r0, r5
	ldr	r1, [r1]
	ldr	r2, .L38+24
	bl	pcap_snprintf
	mvn	r0, #0
	b	.L1
.L9:
	ldr	r2, .L38+4
	mov	r0, r5
	ldr	r1, [r2]
	ldr	r2, .L38+28
	bl	pcap_snprintf
	mvn	r0, #0
	b	.L1
.L33:
	bl	__stack_chk_fail
.L39:
	.align	2
.L38:
	.word	.LC7
	.word	PCAP_ERRBUF_SIZE
	.word	.LC5
	.word	.LC1
	.word	.LC2
	.word	.LC6
	.word	.LC3
	.word	.LC0
	.size	process_idb_options, .-process_idb_options
	.comm	PCAP_ERRBUF_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
