	.file	"785914.c"
	.intel_syntax noprefix
	.text
	.type	klist_init, @function
klist_init:
.LFB5:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	klist_init, .-klist_init
	.type	is_klist_empty, @function
is_klist_empty:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8[rbp], rax
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	is_klist_empty, .-is_klist_empty
	.type	klist_insert, @function
klist_insert:
.LFB7:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	klist_insert, .-klist_insert
	.type	klist_rm, @function
klist_rm:
.LFB9:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	klist_rm, .-klist_rm
	.type	cpu_cur_get, @function
cpu_cur_get:
.LFB11:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	cpu_cur_get, .-cpu_cur_get
	.type	buf_queue_create, @function
buf_queue_create:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -48[rbp], r8d
	mov	eax, r9d
	mov	BYTE PTR -52[rbp], al
	cmp	QWORD PTR -24[rbp], 0
	jne	.L9
	mov	eax, 6
	jmp	.L10
.L9:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L11
	mov	eax, 6
	jmp	.L10
.L11:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L12
	mov	eax, 6
	jmp	.L10
.L12:
	cmp	DWORD PTR -48[rbp], 0
	jne	.L13
	mov	eax, 5
	jmp	.L10
.L13:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L14
	mov	eax, 701
	jmp	.L10
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	klist_init
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 92[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 96[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	DWORD PTR 88[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR -52[rbp]
	mov	BYTE PTR 120[rax], dl
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 104
	mov	rsi, rax
	lea	rdi, g_kobj_list[rip+96]
	call	klist_insert
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 28[rax], 4
	mov	rax, QWORD PTR -24[rbp]
	lea	rdi, 40[rax]
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, ecx
	mov	ecx, DWORD PTR 16[rbp]
	mov	rsi, rax
	call	ringbuf_init@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 72[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 100[rax], edx
	mov	eax, 0
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	buf_queue_create, .-buf_queue_create
	.globl	krhino_buf_queue_create
	.type	krhino_buf_queue_create, @function
krhino_buf_queue_create:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -28[rbp], ecx
	mov	DWORD PTR -32[rbp], r8d
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	1
	mov	r9d, 1
	mov	r8d, edi
	mov	rdi, rax
	call	buf_queue_create
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	krhino_buf_queue_create, .-krhino_buf_queue_create
	.globl	krhino_fix_buf_queue_create
	.type	krhino_fix_buf_queue_create, @function
krhino_fix_buf_queue_create:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -28[rbp], ecx
	mov	DWORD PTR -32[rbp], r8d
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, DWORD PTR -32[rbp]
	mov	ecx, eax
	mov	edi, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 1
	mov	r8d, edi
	mov	rdi, rax
	call	buf_queue_create
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	krhino_fix_buf_queue_create, .-krhino_fix_buf_queue_create
	.globl	krhino_buf_queue_del
	.type	krhino_buf_queue_del, @function
krhino_buf_queue_del:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L20
	mov	eax, 6
	jmp	.L21
.L20:
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -12[rbp], eax
	call	cpu_cur_get
	movzx	eax, al
	cdqe
	lea	rdx, g_intrpt_nested_level[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L22
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 1000
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 4
	je	.L23
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 8
	jmp	.L21
.L23:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 120[rax]
	cmp	al, 1
	je	.L24
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 9
	jmp	.L21
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 28[rax], 0
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, 48
	mov	rdi, rax
	call	pend_task_rm@PLT
.L25:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	is_klist_empty
	test	al, al
	je	.L26
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 104
	mov	rdi, rax
	call	klist_rm
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 40
	mov	rdi, rax
	call	ringbuf_reset@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	call	core_sched@PLT
	mov	eax, 0
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	krhino_buf_queue_del, .-krhino_buf_queue_del
	.globl	krhino_buf_queue_dyn_create
	.type	krhino_buf_queue_dyn_create, @function
krhino_buf_queue_dyn_create:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L28
	mov	eax, 6
	jmp	.L29
.L28:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L30
	mov	eax, 701
	jmp	.L29
.L30:
	mov	edi, 128
	call	krhino_mm_alloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L31
	mov	eax, 105
	jmp	.L29
.L31:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	krhino_mm_alloc@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	krhino_mm_free@PLT
	mov	eax, 105
	jmp	.L29
.L32:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	edi, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	1
	mov	r9d, 2
	mov	r8d, edi
	mov	rdi, rax
	call	buf_queue_create
	add	rsp, 16
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L33
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	krhino_mm_free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	krhino_mm_free@PLT
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L29
.L33:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	krhino_buf_queue_dyn_create, .-krhino_buf_queue_dyn_create
	.globl	krhino_buf_queue_dyn_del
	.type	krhino_buf_queue_dyn_del, @function
krhino_buf_queue_dyn_del:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L35
	mov	eax, 6
	jmp	.L36
.L35:
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -12[rbp], eax
	call	cpu_cur_get
	movzx	eax, al
	cdqe
	lea	rdx, g_intrpt_nested_level[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L37
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 1000
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 4
	je	.L38
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 8
	jmp	.L36
.L38:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 120[rax]
	cmp	al, 2
	je	.L39
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 9
	jmp	.L36
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 28[rax], 0
	jmp	.L40
.L41:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, 48
	mov	rdi, rax
	call	pend_task_rm@PLT
.L40:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	is_klist_empty
	test	al, al
	je	.L41
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 104
	mov	rdi, rax
	call	klist_rm
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 40
	mov	rdi, rax
	call	ringbuf_reset@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	call	core_sched@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	krhino_mm_free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	krhino_mm_free@PLT
	mov	eax, 0
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	krhino_buf_queue_dyn_del, .-krhino_buf_queue_dyn_del
	.type	buf_queue_send, @function
buf_queue_send:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 4
	je	.L43
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 8
	jmp	.L44
.L43:
	call	cpu_cur_get
	mov	BYTE PTR -25[rbp], al
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 88[rax]
	cmp	DWORD PTR -52[rbp], eax
	jbe	.L45
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 703
	jmp	.L44
.L45:
	cmp	DWORD PTR -52[rbp], 0
	jne	.L46
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 5
	jmp	.L44
.L46:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	is_klist_empty
	test	al, al
	je	.L47
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 40[rax]
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	ringbuf_push@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	je	.L48
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	cmp	DWORD PTR -24[rbp], 106
	jne	.L49
	mov	DWORD PTR -24[rbp], 702
.L49:
	mov	eax, DWORD PTR -24[rbp]
	jmp	.L44
.L48:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 92[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 92[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 96[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 92[rax]
	cmp	edx, eax
	jnb	.L50
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 92[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 96[rax], edx
.L50:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 100[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 72[rax]
	cmp	edx, eax
	jbe	.L51
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 72[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 100[rax], edx
.L51:
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 0
	jmp	.L44
.L47:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, 48
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 136[rax]
	mov	edx, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR 144[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	pend_task_wakeup@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	call	core_sched@PLT
	mov	eax, 0
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	buf_queue_send, .-buf_queue_send
	.globl	krhino_buf_queue_send
	.type	krhino_buf_queue_send, @function
krhino_buf_queue_send:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	cmp	QWORD PTR -8[rbp], 0
	jne	.L53
	mov	eax, 6
	jmp	.L54
.L53:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L55
	mov	eax, 6
	jmp	.L54
.L55:
	mov	edx, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	buf_queue_send
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	krhino_buf_queue_send, .-krhino_buf_queue_send
	.globl	krhino_buf_queue_recv
	.type	krhino_buf_queue_recv, @function
krhino_buf_queue_recv:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L57
	mov	eax, 6
	jmp	.L58
.L57:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L59
	mov	eax, 6
	jmp	.L58
.L59:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L60
	mov	eax, 6
	jmp	.L58
.L60:
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -8[rbp], eax
	call	cpu_cur_get
	mov	BYTE PTR -9[rbp], al
	movzx	eax, BYTE PTR -9[rbp]
	cdqe
	lea	rdx, g_intrpt_nested_level[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L61
	cmp	QWORD PTR -32[rbp], 0
	je	.L61
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 1000
	jmp	.L58
.L61:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 4
	je	.L62
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 8
	jmp	.L58
.L62:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 40
	mov	rdi, rax
	call	ringbuf_is_empty@PLT
	test	al, al
	jne	.L63
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 40[rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	ringbuf_pop@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 92[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 92[rax], edx
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 0
	jmp	.L58
.L63:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L64
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 400
	jmp	.L58
.L64:
	movzx	eax, BYTE PTR -9[rbp]
	cdqe
	lea	rdx, g_sched_lock[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L65
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 200
	jmp	.L58
.L65:
	movzx	eax, BYTE PTR -9[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_active_task[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 136[rax], rdx
	movzx	eax, BYTE PTR -9[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_active_task[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	pend_to_blk_obj@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	call	core_sched@PLT
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -8[rbp], eax
	call	cpu_cur_get
	mov	BYTE PTR -9[rbp], al
	movzx	eax, BYTE PTR -9[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_active_task[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	pend_state_end_proc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L66
	movzx	eax, BYTE PTR -9[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_active_task[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR 144[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L67
.L66:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 0
	nop
.L67:
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, DWORD PTR -4[rbp]
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	krhino_buf_queue_recv, .-krhino_buf_queue_recv
	.globl	krhino_buf_queue_flush
	.type	krhino_buf_queue_flush, @function
krhino_buf_queue_flush:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L69
	mov	eax, 6
	jmp	.L70
.L69:
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -4[rbp], eax
	call	cpu_cur_get
	movzx	eax, al
	cdqe
	lea	rdx, g_intrpt_nested_level[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L71
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 1000
	jmp	.L70
.L71:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 4
	je	.L72
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 8
	jmp	.L70
.L72:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 40
	mov	rdi, rax
	call	ringbuf_reset@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 92[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 96[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 72[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 100[rax], edx
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 0
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	krhino_buf_queue_flush, .-krhino_buf_queue_flush
	.globl	krhino_buf_queue_info_get
	.type	krhino_buf_queue_info_get, @function
krhino_buf_queue_info_get:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L74
	mov	eax, 6
	jmp	.L75
.L74:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L76
	mov	eax, 6
	jmp	.L75
.L76:
	call	cpu_intrpt_save@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 4
	je	.L77
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 8
	jmp	.L75
.L77:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 72[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 100[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	rax, rdx
	sub	rax, rcx
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 88[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 92[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 96[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	cpu_intrpt_restore@PLT
	mov	eax, 0
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	krhino_buf_queue_info_get, .-krhino_buf_queue_info_get
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"785914.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	klist_init, %function
klist_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	klist_init, .-klist_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_klist_empty, %function
is_klist_empty:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_klist_empty, .-is_klist_empty
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	klist_insert, %function
klist_insert:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	klist_insert, .-klist_insert
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	klist_rm, %function
klist_rm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	klist_rm, .-klist_rm
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpu_cur_get, %function
cpu_cur_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cpu_cur_get, .-cpu_cur_get
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	buf_queue_create, %function
buf_queue_create:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L9
	mov	r3, #6
	b	.L10
.L9:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L11
	mov	r3, #6
	b	.L10
.L11:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L12
	mov	r3, #6
	b	.L10
.L12:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L13
	mov	r3, #5
	b	.L10
.L13:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L15
	b	.L10
.L14:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	klist_init
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #56]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #60]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #4]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldrb	r2, [fp, #8]
	strb	r2, [r3, #76]
	bl	cpu_intrpt_save
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #68
	mov	r1, r3
	ldr	r0, .L15+4
	bl	klist_insert
	ldr	r0, [fp, #-8]
	bl	cpu_intrpt_restore
	ldr	r3, [fp, #-16]
	mov	r2, #4
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	add	r0, r3, #24
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #12]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	bl	ringbuf_init
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #64]
	mov	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	701
	.word	g_kobj_list+48
	.size	buf_queue_create, .-buf_queue_create
	.align	2
	.global	krhino_buf_queue_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_create, %function
krhino_buf_queue_create:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	buf_queue_create
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	krhino_buf_queue_create, .-krhino_buf_queue_create
	.align	2
	.global	krhino_fix_buf_queue_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_fix_buf_queue_create, %function
krhino_fix_buf_queue_create:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	mul	r2, r3, r2
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	buf_queue_create
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	krhino_fix_buf_queue_create, .-krhino_fix_buf_queue_create
	.align	2
	.global	krhino_buf_queue_del
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_del, %function
krhino_buf_queue_del:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L22
	mov	r3, #6
	b	.L23
.L22:
	bl	cpu_intrpt_save
	str	r0, [fp, #-12]
	bl	cpu_cur_get
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L29
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #1000
	b	.L23
.L24:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #4
	beq	.L25
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #8
	b	.L23
.L25:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #76]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L26
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #9
	b	.L23
.L26:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #16]
	b	.L27
.L28:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	sub	r3, r3, #24
	mov	r0, r3
	bl	pend_task_rm
.L27:
	ldr	r0, [fp, #-8]
	bl	is_klist_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-16]
	add	r3, r3, #68
	mov	r0, r3
	bl	klist_rm
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	mov	r0, r3
	bl	ringbuf_reset
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	bl	core_sched
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	g_intrpt_nested_level
	.size	krhino_buf_queue_del, .-krhino_buf_queue_del
	.align	2
	.global	krhino_buf_queue_dyn_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_dyn_create, %function
krhino_buf_queue_dyn_create:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L32
	mov	r3, #6
	b	.L33
.L32:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L38
	b	.L33
.L34:
	mov	r0, #80
	bl	krhino_mm_alloc
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L35
	mov	r3, #105
	b	.L33
.L35:
	ldr	r0, [fp, #-24]
	bl	krhino_mm_alloc
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L36
	ldr	r0, [fp, #-12]
	bl	krhino_mm_free
	mov	r3, #105
	b	.L33
.L36:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #20]
	mov	r3, #1
	str	r3, [sp, #8]
	mov	r3, #2
	str	r3, [sp, #4]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	buf_queue_create
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	krhino_mm_free
	ldr	r0, [fp, #-12]
	bl	krhino_mm_free
	ldr	r3, [fp, #-8]
	b	.L33
.L37:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	mov	r3, #0
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	701
	.size	krhino_buf_queue_dyn_create, .-krhino_buf_queue_dyn_create
	.align	2
	.global	krhino_buf_queue_dyn_del
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_dyn_del, %function
krhino_buf_queue_dyn_del:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L41
	mov	r3, #6
	b	.L42
.L41:
	bl	cpu_intrpt_save
	str	r0, [fp, #-12]
	bl	cpu_cur_get
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L48
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L43
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #1000
	b	.L42
.L43:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #4
	beq	.L44
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #8
	b	.L42
.L44:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #76]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L45
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #9
	b	.L42
.L45:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #16]
	b	.L46
.L47:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	sub	r3, r3, #24
	mov	r0, r3
	bl	pend_task_rm
.L46:
	ldr	r0, [fp, #-8]
	bl	is_klist_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-16]
	add	r3, r3, #68
	mov	r0, r3
	bl	klist_rm
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	mov	r0, r3
	bl	ringbuf_reset
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	bl	core_sched
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	krhino_mm_free
	ldr	r0, [fp, #-16]
	bl	krhino_mm_free
	mov	r3, #0
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	g_intrpt_nested_level
	.size	krhino_buf_queue_dyn_del, .-krhino_buf_queue_dyn_del
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	buf_queue_send, %function
buf_queue_send:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	bl	cpu_intrpt_save
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	cmp	r3, #4
	beq	.L51
	ldr	r0, [fp, #-16]
	bl	cpu_intrpt_restore
	mov	r3, #8
	b	.L52
.L51:
	bl	cpu_cur_get
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bls	.L53
	ldr	r0, [fp, #-16]
	bl	cpu_intrpt_restore
	ldr	r3, .L60
	b	.L52
.L53:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L54
	ldr	r0, [fp, #-16]
	bl	cpu_intrpt_restore
	mov	r3, #5
	b	.L52
.L54:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	is_klist_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-32]
	add	r3, r3, #24
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	ringbuf_push
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L56
	ldr	r0, [fp, #-16]
	bl	cpu_intrpt_restore
	ldr	r3, [fp, #-20]
	cmp	r3, #106
	bne	.L57
	ldr	r3, .L60+4
	str	r3, [fp, #-20]
.L57:
	ldr	r3, [fp, #-20]
	b	.L52
.L56:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #56]
	add	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3, #56]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #60]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #56]
	cmp	r2, r3
	bcs	.L58
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #56]
	ldr	r3, [fp, #-32]
	str	r2, [r3, #60]
.L58:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #64]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #40]
	cmp	r2, r3
	bls	.L59
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-32]
	str	r2, [r3, #64]
.L59:
	ldr	r0, [fp, #-16]
	bl	cpu_intrpt_restore
	mov	r3, #0
	b	.L52
.L55:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	sub	r3, r3, #24
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #76]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #80]
	ldr	r0, [fp, #-8]
	bl	pend_task_wakeup
	ldr	r0, [fp, #-16]
	bl	cpu_intrpt_restore
	bl	core_sched
	mov	r3, #0
.L52:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	703
	.word	702
	.size	buf_queue_send, .-buf_queue_send
	.align	2
	.global	krhino_buf_queue_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_send, %function
krhino_buf_queue_send:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L63
	mov	r3, #6
	b	.L64
.L63:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L65
	mov	r3, #6
	b	.L64
.L65:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	buf_queue_send
	mov	r3, r0
.L64:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	krhino_buf_queue_send, .-krhino_buf_queue_send
	.align	2
	.global	krhino_buf_queue_recv
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_recv, %function
krhino_buf_queue_recv:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L67
	mov	r3, #6
	b	.L68
.L67:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L69
	mov	r3, #6
	b	.L68
.L69:
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L70
	mov	r3, #6
	b	.L68
.L70:
	bl	cpu_intrpt_save
	str	r0, [fp, #-12]
	bl	cpu_cur_get
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L78
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L71
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #1000
	b	.L68
.L71:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	cmp	r3, #4
	beq	.L72
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #8
	b	.L68
.L72:
	ldr	r3, [fp, #-24]
	add	r3, r3, #24
	mov	r0, r3
	bl	ringbuf_is_empty
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-24]
	add	r3, r3, #24
	ldr	r2, [fp, #8]
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	ringbuf_pop
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #56]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #56]
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #0
	b	.L68
.L73:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L74
	ldr	r3, [fp, #8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #400
	b	.L68
.L74:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L78+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	mov	r3, #200
	b	.L68
.L75:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L78+8
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #4]
	str	r2, [r3, #76]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L78+8
	ldr	r1, [r2, r3, lsl #2]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-24]
	bl	pend_to_blk_obj
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	bl	core_sched
	bl	cpu_intrpt_save
	str	r0, [fp, #-12]
	bl	cpu_cur_get
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L78+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	pend_state_end_proc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L76
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L78+8
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #80]
	ldr	r3, [fp, #8]
	str	r2, [r3]
	b	.L77
.L76:
	ldr	r3, [fp, #8]
	mov	r2, #0
	str	r2, [r3]
	nop
.L77:
	ldr	r0, [fp, #-12]
	bl	cpu_intrpt_restore
	ldr	r3, [fp, #-8]
.L68:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	g_intrpt_nested_level
	.word	g_sched_lock
	.word	g_active_task
	.size	krhino_buf_queue_recv, .-krhino_buf_queue_recv
	.align	2
	.global	krhino_buf_queue_flush
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_flush, %function
krhino_buf_queue_flush:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L81
	mov	r3, #6
	b	.L82
.L81:
	bl	cpu_intrpt_save
	str	r0, [fp, #-8]
	bl	cpu_cur_get
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L85
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L83
	ldr	r0, [fp, #-8]
	bl	cpu_intrpt_restore
	mov	r3, #1000
	b	.L82
.L83:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #4
	beq	.L84
	ldr	r0, [fp, #-8]
	bl	cpu_intrpt_restore
	mov	r3, #8
	b	.L82
.L84:
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	mov	r0, r3
	bl	ringbuf_reset
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #56]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #60]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #64]
	ldr	r0, [fp, #-8]
	bl	cpu_intrpt_restore
	mov	r3, #0
.L82:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	g_intrpt_nested_level
	.size	krhino_buf_queue_flush, .-krhino_buf_queue_flush
	.align	2
	.global	krhino_buf_queue_info_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	krhino_buf_queue_info_get, %function
krhino_buf_queue_info_get:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L88
	mov	r3, #6
	b	.L89
.L88:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L90
	mov	r3, #6
	b	.L89
.L90:
	bl	cpu_intrpt_save
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	cmp	r3, #4
	beq	.L91
	ldr	r0, [fp, #-8]
	bl	cpu_intrpt_restore
	mov	r3, #8
	b	.L89
.L91:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #64]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #56]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #60]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #12]
	ldr	r0, [fp, #-8]
	bl	cpu_intrpt_restore
	mov	r3, #0
.L89:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	krhino_buf_queue_info_get, .-krhino_buf_queue_info_get
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
