	.file	"extr_pcap-tc.c_TcFindAllDevs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	TcFindAllDevs
	.type	TcFindAllDevs, @function
TcFindAllDevs:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbp, 8[rsp]
	mov	QWORD PTR 16[rsp], 0
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	call	LoadTcFunctions@PLT
	cmp	QWORD PTR TC_API_LOADED[rip], rax
	jne	.L2
	lea	rdi, 16[rsp]
	mov	rsi, rbp
	call	[QWORD PTR g_TcFunctions[rip]]
	cmp	QWORD PTR TC_SUCCESS[rip], rax
	jne	.L2
	xor	ebx, ebx
	cmp	QWORD PTR 8[rsp], 0
	jne	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L23:
	mov	QWORD PTR [rcx], rax
.L5:
	mov	rax, QWORD PTR 8[rsp]
	add	rbx, 1
	cmp	rax, rbx
	jbe	.L26
.L3:
	mov	rax, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	TcCreatePcapIfFromPort@PLT
	test	rax, rax
	je	.L5
	mov	rcx, QWORD PTR devlistp[rip]
	mov	rdx, QWORD PTR [rcx]
	test	rdx, rdx
	je	.L23
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rcx, rdx
	mov	rdx, QWORD PTR [rdx]
	test	rdx, rdx
	je	.L23
	mov	rcx, rdx
	mov	rdx, QWORD PTR [rdx]
	test	rdx, rdx
	jne	.L6
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L26:
	test	rax, rax
	je	.L4
	mov	rdi, QWORD PTR 16[rsp]
	call	[QWORD PTR g_TcFunctions[rip+8]]
.L4:
	cmp	QWORD PTR FALSE[rip], 0
	jne	.L8
.L2:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	TcFindAllDevs, .-TcFindAllDevs
	.comm	g_TcFunctions,16,16
	.comm	devlistp,8,8
	.comm	TC_SUCCESS,8,8
	.comm	TC_API_LOADED,8,8
	.comm	FALSE,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_pcap-tc.c_TcFindAllDevs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	TcFindAllDevs
	.syntax unified
	.arm
	.fpu softvfp
	.type	TcFindAllDevs, %function
TcFindAllDevs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r2, .L27
	sub	sp, sp, #20
	ldr	r6, .L27+4
	ldr	r5, .L27+8
	ldr	r7, .L27+12
	ldr	r4, .L27+16
	ldr	r8, .L27+20
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	str	r3, [sp, #8]
.L8:
	bl	LoadTcFunctions
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L2
	ldr	r3, [r5]
	add	r1, sp, #4
	add	r0, sp, #8
	blx	r3
	ldr	r3, [r7]
	cmp	r3, r0
	bne	.L2
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L4
	mov	r9, #0
	b	.L3
.L22:
	str	r0, [r2]
.L5:
	ldr	r3, [sp, #4]
	add	r9, r9, #1
	cmp	r3, r9
	bls	.L25
.L3:
	ldr	r3, [sp, #8]
	ldr	r0, [r3, r9, lsl #2]
	bl	TcCreatePcapIfFromPort
	cmp	r0, #0
	beq	.L5
	ldr	r2, [r4]
	ldr	r3, [r2]
	cmp	r3, #0
	beq	.L22
.L6:
	mov	r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	mov	r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	b	.L22
.L25:
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r5, #4]
	ldr	r0, [sp, #8]
	blx	r3
.L4:
	ldr	r3, [r8]
	cmp	r3, #0
	bne	.L8
.L2:
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	.LC0
	.word	TC_API_LOADED
	.word	g_TcFunctions
	.word	TC_SUCCESS
	.word	devlistp
	.word	FALSE
	.size	TcFindAllDevs, .-TcFindAllDevs
	.comm	g_TcFunctions,8,4
	.comm	devlistp,4,4
	.comm	TC_SUCCESS,4,4
	.comm	TC_API_LOADED,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
