	.file	"extr_common.c_build_pinned_obj_table.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"/proc/mounts"
.LC2:
	.string	"bpf"
	.text
	.p2align 4
	.globl	build_pinned_obj_table
	.type	build_pinned_obj_table, @function
build_pinned_obj_table:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	QWORD PTR 24[rsp], rdi
	lea	rdi, .LC1[rip]
	mov	DWORD PTR 4[rsp], esi
	lea	rsi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 44[rsp], 0
	mov	QWORD PTR 36[rsp], 0
	mov	DWORD PTR 32[rsp], 12
	call	setmntent@PLT
	test	rax, rax
	je	.L16
	mov	r13, rax
	lea	rax, 48[rsp]
	lea	r12, 36[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 32[rsp]
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r13
	call	getmntent@PLT
	test	rax, rax
	je	.L26
.L14:
	mov	rdx, QWORD PTR [rax]
	mov	edi, DWORD PTR 8[rax]
	lea	rsi, .LC2[rip]
	mov	QWORD PTR 56[rsp], 0
	mov	QWORD PTR 48[rsp], rdx
	mov	edx, 3
	call	strncmp@PLT
	test	rax, rax
	jne	.L3
	mov	rdi, QWORD PTR 16[rsp]
	xor	edx, edx
	xor	esi, esi
	call	fts_open@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbp
	call	fts_read@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L27
.L12:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR FTS_F[rip], eax
	je	.L6
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, 1
	call	open_obj_pinned@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L6
	mov	edi, eax
	call	get_fd_type@PLT
	cmp	eax, DWORD PTR 4[rsp]
	jne	.L24
	xor	esi, esi
	mov	edx, 12
	mov	rdi, r12
	call	memset@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	rsi, r12
	mov	edi, r15d
	call	bpf_obj_get_info_by_fd@PLT
	test	eax, eax
	jne	.L24
	mov	edi, 12
	call	malloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L28
	mov	edx, 12
	xor	esi, esi
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR 36[rsp]
	mov	edi, DWORD PTR 4[rbx]
	mov	DWORD PTR [r14], eax
	call	strdup@PLT
	mov	edx, DWORD PTR [r14]
	lea	rsi, 4[r14]
	mov	DWORD PTR 8[r14], eax
	mov	rax, QWORD PTR 24[rsp]
	mov	edi, DWORD PTR [rax]
	call	hash_add@PLT
.L24:
	mov	edi, r15d
	call	close@PLT
	mov	rdi, rbp
	call	fts_read@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L12
.L27:
	mov	rdi, rbp
	call	fts_close@PLT
	mov	rdi, r13
	call	getmntent@PLT
	test	rax, rax
	jne	.L14
.L26:
	mov	rdi, r13
	call	fclose@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L29
	add	rsp, 88
	.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
.L28:
	.cfi_restore_state
	mov	edi, r15d
	call	close@PLT
	mov	rdi, rbp
	call	fts_close@PLT
	mov	rdi, r13
	call	fclose@PLT
	mov	eax, -1
	jmp	.L1
.L16:
	mov	eax, -1
	jmp	.L1
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	build_pinned_obj_table, .-build_pinned_obj_table
	.comm	FTS_F,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_common.c_build_pinned_obj_table.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"/proc/mounts\000"
	.align	2
.LC2:
	.ascii	"bpf\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	build_pinned_obj_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_pinned_obj_table, %function
build_pinned_obj_table:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r3, #12
	mov	r8, #0
	sub	sp, sp, #52
	str	r2, [sp, #12]
	ldr	r2, .L30
	mov	r9, r1
	ldr	r0, .L30+4
	ldr	r1, .L30+8
	ldr	r2, [r2]
	str	r2, [sp, #44]
	mov	r2,#0
	str	r8, [sp, #24]
	str	r8, [sp, #28]
	str	r8, [sp, #32]
	str	r3, [sp, #20]
	bl	setmntent
	subs	r10, r0, #0
	beq	.L16
	ldr	fp, .L30+12
	ldr	r7, .L30+16
.L3:
	mov	r0, r10
	bl	getmntent
	subs	r4, r0, #0
	beq	.L26
.L14:
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	mov	r2, #3
	mov	r1, fp
	str	r3, [sp, #36]
	str	r8, [sp, #40]
	bl	strncmp
	subs	r2, r0, #0
	bne	.L3
	mov	r1, r2
	add	r0, sp, #36
	bl	fts_open
	subs	r6, r0, #0
	beq	.L3
.L6:
	mov	r0, r6
	bl	fts_read
	subs	r4, r0, #0
	beq	.L27
.L12:
	ldr	r2, [r4]
	ldr	r3, [r7]
	tst	r2, r3
	beq	.L6
	mov	r1, #1
	ldr	r0, [r4, #4]
	bl	open_obj_pinned
	subs	r5, r0, #0
	blt	.L6
	bl	get_fd_type
	cmp	r0, r9
	bne	.L24
	add	r2, sp, #20
	mov	r0, r5
	add	r1, sp, #24
	str	r8, [sp, #24]
	str	r8, [sp, #28]
	str	r8, [sp, #32]
	bl	bpf_obj_get_info_by_fd
	subs	r2, r0, #0
	bne	.L24
	mov	r0, #12
	str	r2, [sp, #4]
	bl	malloc
	subs	r3, r0, #0
	ldr	r2, [sp, #4]
	beq	.L28
	ldr	ip, [sp, #24]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	add	r1, r3, #4
	ldr	r0, [r4, #4]
	str	ip, [r3]
	str	r1, [sp, #8]
	str	r3, [sp, #4]
	bl	strdup
	ldr	r3, [sp, #4]
	ldr	r1, [sp, #8]
	str	r0, [r3, #8]
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	ldr	r0, [r3]
	bl	hash_add
.L24:
	mov	r0, r5
	bl	close
	mov	r0, r6
	bl	fts_read
	subs	r4, r0, #0
	bne	.L12
.L27:
	mov	r0, r6
	bl	fts_close
	mov	r0, r10
	bl	getmntent
	subs	r4, r0, #0
	bne	.L14
.L26:
	mov	r0, r10
	bl	fclose
	mov	r0, r4
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mvn	r0, #0
	b	.L1
.L29:
	bl	__stack_chk_fail
.L28:
	mov	r0, r5
	bl	close
	mov	r0, r6
	bl	fts_close
	mov	r0, r10
	bl	fclose
	mvn	r0, #0
	b	.L1
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	FTS_F
	.size	build_pinned_obj_table, .-build_pinned_obj_table
	.comm	FTS_F,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
