	.file	"extr_jit.c_bpf_to_bpf_call.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"BUG: BPF-to-BPF call has no destination recorded\n"
	.text
	.p2align 4
	.type	bpf_to_bpf_call, @function
bpf_to_bpf_call:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 8[rdi]
	mov	esi, DWORD PTR STACK_FRAME_ALIGN[rip]
	call	round_up@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	rdi, rbp
	call	stack_imm@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, eax
	call	ur_load_imm_any@PLT
	mov	rdi, rbp
	mov	r15d, DWORD PTR ALU_OP_ADD[rip]
	mov	r14d, eax
	call	stack_reg@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	stack_reg@PLT
	mov	edx, r13d
	mov	r8d, r14d
	mov	ecx, r15d
	mov	esi, eax
	mov	rdi, rbp
	call	emit_alu@PLT
	mov	r13d, DWORD PTR NFP_CSR_ACT_LM_ADDR0[rip]
	mov	rdi, rbp
	call	stack_reg@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	edx, r13d
	call	emit_csr_wr@PLT
.L2:
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L17
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	cmp	QWORD PTR [rax+rdx*8], 0
	jne	.L18
	call	nfp_prog_current_offset@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	ecx, 1
	mov	rdi, rbp
	mov	esi, DWORD PTR BR_UNC[rip]
	lea	r13, 2[rax]
	call	emit_br@PLT
	mov	rdi, rbp
	call	nfp_prog_current_offset@PLT
	mov	r14, rax
.L6:
	mov	r15d, DWORD PTR RELO_IMMED_REL[rip]
	mov	rdi, rbp
	call	ret_reg@PLT
	mov	rdi, rbp
	mov	rdx, r13
	mov	esi, eax
	mov	ecx, r15d
	call	wrp_immed_relo@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	nfp_prog_confirm_current_offset@PLT
	test	eax, eax
	je	.L19
	test	r12, r12
	je	.L8
	mov	rdi, rbp
	call	stack_imm@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, eax
	call	ur_load_imm_any@PLT
	mov	rdi, rbp
	mov	r15d, DWORD PTR ALU_OP_SUB[rip]
	mov	r13d, eax
	call	stack_reg@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	stack_reg@PLT
	mov	edx, r12d
	mov	r8d, r13d
	mov	ecx, r15d
	mov	esi, eax
	mov	rdi, rbp
	call	emit_alu@PLT
	mov	r12d, DWORD PTR NFP_CSR_ACT_LM_ADDR0[rip]
	mov	rdi, rbp
	call	stack_reg@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	edx, r12d
	call	emit_csr_wr@PLT
	mov	esi, 3
	mov	rdi, rbp
	call	wrp_nops@PLT
.L8:
	mov	rdi, rbp
	call	nfp_prog_current_offset@PLT
	sub	rax, r14
	mov	QWORD PTR [rbx], rax
	xor	eax, eax
.L1:
	add	rsp, 8
	.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
.L18:
	.cfi_restore_state
	call	nfp_prog_current_offset@PLT
	mov	r8d, DWORD PTR RELO_BR_GO_CALL_PUSH_REGS[rip]
	mov	edx, DWORD PTR BR_OFF_RELO[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR BR_UNC[rip]
	mov	ecx, 2
	lea	r13, 3[rax]
	call	emit_br_relo@PLT
	mov	rdi, rbp
	call	nfp_prog_current_offset@PLT
	mov	r15d, DWORD PTR RELO_IMMED_REL[rip]
	mov	rdi, rbp
	mov	r14, rax
	call	imm_b@PLT
	mov	ecx, r15d
	xor	edx, edx
	mov	rdi, rbp
	mov	esi, eax
	call	wrp_immed_relo@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L17:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	eax, DWORD PTR ELOOP[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bpf_to_bpf_call, .-bpf_to_bpf_call
	.comm	STACK_FRAME_ALIGN,4,4
	.comm	RELO_IMMED_REL,4,4
	.comm	RELO_BR_GO_CALL_PUSH_REGS,4,4
	.comm	NFP_CSR_ACT_LM_ADDR0,4,4
	.comm	ELOOP,4,4
	.comm	EINVAL,4,4
	.comm	BR_UNC,4,4
	.comm	BR_OFF_RELO,4,4
	.comm	ALU_OP_SUB,4,4
	.comm	ALU_OP_ADD,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_jit.c_bpf_to_bpf_call.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"BUG: BPF-to-BPF call has no destination recorded\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpf_to_bpf_call, %function
bpf_to_bpf_call:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L20
	mov	r4, r0
	mov	r8, r1
	ldr	r0, [r0, #4]
	ldr	r1, [r3]
	sub	sp, sp, #12
	bl	round_up
	subs	r7, r0, #0
	beq	.L2
	mov	r0, r4
	bl	stack_imm
	mov	r1, r7
	mov	r2, r0
	mov	r0, r4
	bl	ur_load_imm_any
	mov	r6, r0
	mov	r0, r4
	bl	stack_reg
	mov	r5, r0
	mov	r0, r4
	bl	stack_reg
	ldr	r3, .L20+4
	str	r6, [sp]
	mov	r2, r0
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r4
	bl	emit_alu
	mov	r0, r4
	bl	stack_reg
	ldr	r3, .L20+8
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r4
	bl	emit_csr_wr
.L2:
	ldr	r3, [r8, #8]
	cmp	r3, #0
	beq	.L17
	ldr	r2, [r3]
	ldr	r3, [r4]
	mov	r0, r4
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L18
	bl	nfp_prog_current_offset
	ldr	r2, .L20+12
	mov	r5, r0
	ldr	r1, [r2]
	mov	r3, #1
	ldr	r2, [r8, #4]
	mov	r0, r4
	bl	emit_br
	mov	r0, r4
	bl	nfp_prog_current_offset
	mov	r6, r0
	ldr	r9, .L20+16
	add	r5, r5, #2
.L6:
	mov	r0, r4
	bl	ret_reg
	mov	r2, r5
	mov	r1, r0
	ldr	r3, [r9]
	mov	r0, r4
	bl	wrp_immed_relo
	mov	r1, r5
	mov	r0, r4
	bl	nfp_prog_confirm_current_offset
	cmp	r0, #0
	beq	.L19
	cmp	r7, #0
	beq	.L8
	mov	r0, r4
	bl	stack_imm
	mov	r1, r7
	mov	r2, r0
	mov	r0, r4
	bl	ur_load_imm_any
	mov	r7, r0
	mov	r0, r4
	bl	stack_reg
	mov	r5, r0
	mov	r0, r4
	bl	stack_reg
	ldr	r3, .L20+20
	str	r7, [sp]
	mov	r2, r0
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r4
	bl	emit_alu
	mov	r0, r4
	bl	stack_reg
	ldr	r3, .L20+8
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r4
	bl	emit_csr_wr
	mov	r1, #3
	mov	r0, r4
	bl	wrp_nops
.L8:
	mov	r0, r4
	bl	nfp_prog_current_offset
	mov	r3, r0
	mov	r0, #0
	sub	r6, r3, r6
	str	r6, [r8]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L18:
	bl	nfp_prog_current_offset
	ldr	r3, .L20+24
	ldr	r2, .L20+28
	ldr	r1, [r3]
	ldr	r3, .L20+12
	str	r1, [sp]
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, #2
	mov	r5, r0
	mov	r0, r4
	bl	emit_br_relo
	mov	r0, r4
	bl	nfp_prog_current_offset
	mov	r6, r0
	mov	r0, r4
	bl	imm_b
	ldr	r9, .L20+16
	mov	r1, r0
	mov	r2, #0
	mov	r0, r4
	ldr	r3, [r9]
	add	r5, r5, #3
	bl	wrp_immed_relo
	b	.L6
.L19:
	ldr	r3, .L20+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	ldr	r0, .L20+36
	bl	pr_err
	ldr	r3, .L20+40
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L21:
	.align	2
.L20:
	.word	STACK_FRAME_ALIGN
	.word	ALU_OP_ADD
	.word	NFP_CSR_ACT_LM_ADDR0
	.word	BR_UNC
	.word	RELO_IMMED_REL
	.word	ALU_OP_SUB
	.word	RELO_BR_GO_CALL_PUSH_REGS
	.word	BR_OFF_RELO
	.word	EINVAL
	.word	.LC0
	.word	ELOOP
	.size	bpf_to_bpf_call, .-bpf_to_bpf_call
	.comm	STACK_FRAME_ALIGN,4,4
	.comm	RELO_IMMED_REL,4,4
	.comm	RELO_BR_GO_CALL_PUSH_REGS,4,4
	.comm	NFP_CSR_ACT_LM_ADDR0,4,4
	.comm	ELOOP,4,4
	.comm	EINVAL,4,4
	.comm	BR_UNC,4,4
	.comm	BR_OFF_RELO,4,4
	.comm	ALU_OP_SUB,4,4
	.comm	ALU_OP_ADD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
