	.file	"extr_cfg.c_func_partition_bb_head.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	func_partition_bb_head, @function
func_partition_bb_head:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR 16[rdi]
	mov	rbp, QWORD PTR 8[rdi]
	call	INIT_LIST_HEAD@PLT
	mov	rdi, r12
	mov	rsi, rbx
	call	func_append_bb@PLT
	test	rax, rax
	je	.L9
	cmp	rbx, rbp
	jbe	.L10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L22:
	add	rbx, 8
.L6:
	cmp	rbp, rbx
	jb	.L11
.L10:
	mov	edi, DWORD PTR 4[rbx]
	call	is_jmp_insn@PLT
	test	rax, rax
	je	.L22
	mov	edi, DWORD PTR 4[rbx]
	call	BPF_OP@PLT
	cmp	QWORD PTR BPF_EXIT[rip], rax
	mov	r13, rax
	je	.L22
	cmp	QWORD PTR BPF_CALL[rip], rax
	je	.L22
	movsx	rax, DWORD PTR [rbx]
	mov	rdi, r12
	lea	rsi, 8[rbx+rax*8]
	call	func_append_bb@PLT
	test	rax, rax
	je	.L9
	add	rbx, 8
	cmp	QWORD PTR BPF_JA[rip], r13
	je	.L6
	mov	rsi, rbx
	mov	rdi, r12
	call	func_append_bb@PLT
	test	rax, rax
	jne	.L6
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	func_partition_bb_head, .-func_partition_bb_head
	.comm	BPF_JA,8,8
	.comm	BPF_EXIT,8,8
	.comm	BPF_CALL,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_cfg.c_func_partition_bb_head.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	func_partition_bb_head, %function
func_partition_bb_head:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	ldr	r4, [r0, #8]
	ldr	r6, [r0, #4]
	bl	INIT_LIST_HEAD
	mov	r1, r4
	mov	r0, r7
	bl	func_append_bb
	cmp	r0, #0
	beq	.L9
	cmp	r4, r6
	bhi	.L11
	ldr	r8, .L22
	ldr	r9, .L22+4
	ldr	r10, .L22+8
	b	.L10
.L20:
	add	r5, r4, #8
.L6:
	cmp	r6, r5
	mov	r4, r5
	bcc	.L11
.L10:
	ldr	r0, [r4, #4]
	bl	is_jmp_insn
	cmp	r0, #0
	beq	.L20
	ldr	r0, [r4, #4]
	bl	BPF_OP
	ldr	r3, [r8]
	mov	fp, r0
	cmp	r3, r0
	add	r5, r4, #8
	beq	.L6
	ldr	r3, [r9]
	cmp	r3, r0
	beq	.L20
	ldr	r1, [r4]
	mov	r0, r7
	add	r1, r1, #1
	add	r1, r4, r1, lsl #3
	bl	func_append_bb
	cmp	r0, #0
	beq	.L9
	ldr	r3, [r10]
	cmp	r3, fp
	beq	.L6
	mov	r1, r5
	mov	r0, r7
	bl	func_append_bb
	cmp	r0, #0
	bne	.L6
.L9:
	mov	r0, #1
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	.align	2
.L22:
	.word	BPF_EXIT
	.word	BPF_CALL
	.word	BPF_JA
	.size	func_partition_bb_head, .-func_partition_bb_head
	.comm	BPF_JA,4,4
	.comm	BPF_EXIT,4,4
	.comm	BPF_CALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
