	.file	"extr_pktsched_qfq.c_qfq_enqueue_ifclassq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: packet does not have pkthdr\n"
	.text
	.p2align 4
	.type	qfq_enqueue_ifclassq, @function
qfq_enqueue_ifclassq:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	IFCQ_LOCK_ASSERT_HELD@PLT
	cmp	ebp, 128
	jne	.L2
	mov	eax, DWORD PTR 0[r13]
	test	DWORD PTR M_PKTHDR[rip], eax
	je	.L23
	mov	rdi, r13
	call	mbuf_get_service_class@PLT
	mov	edi, eax
	call	MBUF_SCIDX@PLT
	mov	rdi, r13
	mov	r14, rax
	call	m_pftag@PLT
	lea	r15, 0[0+r14*4]
	mov	rcx, rax
.L5:
	xor	edi, edi
	cmp	QWORD PTR IFCQ_SC_MAX[rip], r14
	lea	r14, 20[rsp]
	mov	QWORD PTR 8[rsp], rcx
	setg	dil
	call	VERIFY@PLT
	mov	rdx, r13
	mov	esi, ebp
	mov	rdi, r14
	call	pktsched_pkt_encap@PLT
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR 8[r12]
	mov	rdx, r14
	mov	rcx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rax+r15]
	call	qfq_enqueue@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L6
	cmp	eax, 129
	je	.L6
	mov	rdi, r14
	call	pktsched_free_pkt@PLT
	mov	eax, DWORD PTR TRUE[rip]
	mov	DWORD PTR [rbx], eax
.L7:
	lea	eax, -129[r12]
	cmp	eax, 4
	ja	.L8
	lea	rdx, .L10[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L11-.L10
	.long	.L14-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r12d, DWORD PTR EQFULL[rip]
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR FALSE[rip]
	mov	DWORD PTR [rbx], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	xor	edi, edi
	xor	r15d, r15d
	xor	r14d, r14d
	call	VERIFY@PLT
	xor	ecx, ecx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 12[r12]
	call	if_name@PLT
	mov	edi, DWORD PTR LOG_ERR[rip]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	log@PLT
	mov	rdi, r12
	call	IFCQ_CONVERT_LOCK@PLT
	mov	rdi, r13
	call	m_freem@PLT
	mov	eax, DWORD PTR TRUE[rip]
	mov	DWORD PTR [rbx], eax
	mov	r12d, DWORD PTR ENOBUFS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r12d, DWORD PTR EQSUSPENDED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r12d, DWORD PTR ENOBUFS[rip]
	jmp	.L1
.L8:
	xor	edi, edi
	call	VERIFY@PLT
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qfq_enqueue_ifclassq, .-qfq_enqueue_ifclassq
	.comm	TRUE,4,4
	.comm	M_PKTHDR,4,4
	.comm	LOG_ERR,4,4
	.comm	IFCQ_SC_MAX,8,8
	.comm	FALSE,4,4
	.comm	EQSUSPENDED,4,4
	.comm	EQFULL,4,4
	.comm	ENOBUFS,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_pktsched_qfq.c_qfq_enqueue_ifclassq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: packet does not have pkthdr\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qfq_enqueue_ifclassq, %function
qfq_enqueue_ifclassq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L20
	sub	sp, sp, #8
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	IFCQ_LOCK_ASSERT_HELD
	cmp	r6, #128
	bne	.L2
	ldr	r3, .L20+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L17
	mov	r0, r4
	bl	mbuf_get_service_class
	bl	MBUF_SCIDX
	mov	r8, r0
	mov	r0, r4
	bl	m_pftag
	mov	r10, r0
	lsl	r9, r8, #2
.L5:
	ldr	r3, .L20+8
	ldr	r0, [r3]
	cmp	r0, r8
	movle	r0, #0
	movgt	r0, #1
	bl	VERIFY
	mov	r2, r4
	mov	r1, r6
	mov	r0, sp
	bl	pktsched_pkt_encap
	ldr	r1, [r5]
	mov	r3, r10
	mov	r2, sp
	ldr	r1, [r1, r9]
	ldr	r0, [r5, #4]
	bl	qfq_enqueue
	cmp	r0, #0
	cmpne	r0, #129
	mov	r4, r0
	bne	.L18
	ldr	r3, .L20+12
	ldr	r3, [r3]
	str	r3, [r7]
.L7:
	sub	r3, r4, #129
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L11
	.word	.L14
	.word	.L12
	.word	.L11
	.word	.L9
.L11:
	ldr	r3, .L20+16
	ldr	r4, [r3]
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r9, #0
	mov	r0, r9
	mov	r10, r9
	mov	r8, r9
	bl	VERIFY
	b	.L5
.L18:
	mov	r0, sp
	bl	pktsched_free_pkt
	ldr	r3, .L20+20
	ldr	r3, [r3]
	str	r3, [r7]
	b	.L7
.L17:
	ldr	r3, .L20+24
	ldr	r0, [r5, #8]
	ldr	r6, [r3]
	bl	if_name
	ldr	r1, .L20+28
	mov	r2, r0
	mov	r0, r6
	bl	log
	mov	r0, r5
	bl	IFCQ_CONVERT_LOCK
	mov	r0, r4
	bl	m_freem
	ldr	r2, .L20+20
	ldr	r3, .L20+32
	ldr	r2, [r2]
	str	r2, [r7]
	ldr	r4, [r3]
	b	.L1
.L14:
	mov	r4, #0
	b	.L1
.L9:
	ldr	r3, .L20+32
	ldr	r4, [r3]
	b	.L1
.L12:
	ldr	r3, .L20+36
	ldr	r4, [r3]
	b	.L1
.L19:
	bl	__stack_chk_fail
.L8:
	mov	r0, #0
	bl	VERIFY
	b	.L1
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	M_PKTHDR
	.word	IFCQ_SC_MAX
	.word	FALSE
	.word	EQFULL
	.word	TRUE
	.word	LOG_ERR
	.word	.LC0
	.word	ENOBUFS
	.word	EQSUSPENDED
	.size	qfq_enqueue_ifclassq, .-qfq_enqueue_ifclassq
	.comm	TRUE,4,4
	.comm	M_PKTHDR,4,4
	.comm	LOG_ERR,4,4
	.comm	IFCQ_SC_MAX,4,4
	.comm	FALSE,4,4
	.comm	EQSUSPENDED,4,4
	.comm	EQFULL,4,4
	.comm	ENOBUFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
