	.file	"extr_btf_dumper.c_btf_dumper_datasec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	btf_dumper_datasec, @function
btf_dumper_datasec:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 4[rdi]
	call	btf__type_by_id@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR 4[rax]
	mov	r12, rax
	call	BTF_INFO_VLEN@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r14d, eax
	call	jsonw_start_object@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR [r12]
	call	btf__name_by_offset@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, eax
	call	jsonw_name@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	jsonw_start_array@PLT
	test	r14d, r14d
	jle	.L4
	lea	eax, -1[r14]
	lea	rbx, 8[r12]
	lea	r14, 16[r12+rax*8]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	add	rbx, 8
	cmp	rbx, r14
	je	.L4
.L6:
	movsx	rcx, DWORD PTR [rbx]
	mov	esi, DWORD PTR 4[rbx]
	xor	edx, edx
	mov	rdi, rbp
	add	rcx, r13
	call	btf_dumper_do_type@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L5:
	mov	edi, DWORD PTR 0[rbp]
	call	jsonw_end_array@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	jsonw_end_object@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	btf_dumper_datasec, .-btf_dumper_datasec
	.comm	EINVAL,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_btf_dumper.c_btf_dumper_datasec.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	btf_dumper_datasec, %function
btf_dumper_datasec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	ldr	r0, [r0, #4]
	mov	r8, r2
	bl	btf__type_by_id
	subs	r4, r0, #0
	beq	.L10
	ldr	r0, [r4, #4]
	bl	BTF_INFO_VLEN
	mov	r9, r0
	ldr	r0, [r7]
	bl	jsonw_start_object
	ldr	r1, [r4]
	ldr	r0, [r7, #4]
	ldr	r5, [r7]
	bl	btf__name_by_offset
	mov	r1, r0
	mov	r0, r5
	bl	jsonw_name
	ldr	r0, [r7]
	bl	jsonw_start_array
	cmp	r9, #0
	ble	.L4
	mov	r6, #0
	b	.L6
.L11:
	cmp	r9, r6
	add	r4, r4, #8
	beq	.L4
.L6:
	ldr	r3, [r4, #8]
	mov	r2, #0
	mov	r0, r7
	ldr	r1, [r4, #12]
	add	r3, r8, r3
	bl	btf_dumper_do_type
	subs	r5, r0, #0
	add	r6, r6, #1
	beq	.L11
.L5:
	ldr	r0, [r7]
	bl	jsonw_end_array
	ldr	r0, [r7]
	bl	jsonw_end_object
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r5, #0
	b	.L5
.L10:
	ldr	r3, .L12
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	.align	2
.L12:
	.word	EINVAL
	.size	btf_dumper_datasec, .-btf_dumper_datasec
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
