	.file	"extr_if.c_if_set_qosmarking_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	if_set_qosmarking_mode
	.type	if_set_qosmarking_mode, @function
if_set_qosmarking_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, DWORD PTR [rdi]
	cmp	esi, 128
	je	.L2
	cmp	esi, 129
	je	.L3
	mov	r12d, DWORD PTR EINVAL[rip]
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR IFEF_QOSMARKING_CAPABLE[rip]
	mov	DWORD PTR [rdi], 128
	not	eax
	and	DWORD PTR 4[rdi], eax
.L5:
	xor	r12d, r12d
	cmp	edx, esi
	je	.L1
	mov	edx, DWORD PTR KEV_DL_QOS_MODE_CHANGED[rip]
	mov	esi, DWORD PTR KEV_DL_SUBCLASS[rip]
	mov	r8d, 4
	xor	ecx, ecx
	call	dlil_post_msg@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	ecx, DWORD PTR net_qos_policy_capable_enabled[rip]
	mov	eax, DWORD PTR 4[rdi]
	mov	DWORD PTR [rdi], 129
	or	eax, DWORD PTR IFEF_QOSMARKING_CAPABLE[rip]
	mov	DWORD PTR 4[rdi], eax
	test	ecx, ecx
	je	.L5
	or	eax, DWORD PTR IFEF_QOSMARKING_ENABLED[rip]
	mov	DWORD PTR 4[rdi], eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	if_set_qosmarking_mode, .-if_set_qosmarking_mode
	.comm	net_qos_policy_capable_enabled,4,4
	.comm	KEV_DL_SUBCLASS,4,4
	.comm	KEV_DL_QOS_MODE_CHANGED,4,4
	.comm	IFEF_QOSMARKING_ENABLED,4,4
	.comm	IFEF_QOSMARKING_CAPABLE,4,4
	.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_if.c_if_set_qosmarking_mode.c"
	.text
	.align	2
	.global	if_set_qosmarking_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	if_set_qosmarking_mode, %function
if_set_qosmarking_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	cmp	r1, #128
	ldr	r3, [r0]
	sub	sp, sp, #12
	beq	.L2
	cmp	r1, #129
	beq	.L3
	ldr	r3, .L14
	ldr	r0, [r3]
.L1:
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L2:
	ldr	ip, .L14+4
	ldr	r2, [r0, #4]
	ldr	ip, [ip]
	str	r1, [r0]
	bic	r2, r2, ip
	str	r2, [r0, #4]
.L5:
	cmp	r3, r1
	moveq	r0, #0
	beq	.L1
	mov	r1, #4
	ldr	r3, .L14+8
	ldr	r2, .L14+12
	str	r1, [sp]
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, #0
	bl	dlil_post_msg
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L3:
	ldr	r2, .L14+4
	ldr	ip, .L14+16
	ldr	lr, [r2]
	ldr	ip, [ip]
	ldr	r2, [r0, #4]
	cmp	ip, #0
	orr	r2, r2, lr
	stm	r0, {r1, r2}
	ldrne	ip, .L14+20
	ldrne	ip, [ip]
	orrne	r2, ip, r2
	strne	r2, [r0, #4]
	b	.L5
.L15:
	.align	2
.L14:
	.word	EINVAL
	.word	IFEF_QOSMARKING_CAPABLE
	.word	KEV_DL_SUBCLASS
	.word	KEV_DL_QOS_MODE_CHANGED
	.word	net_qos_policy_capable_enabled
	.word	IFEF_QOSMARKING_ENABLED
	.size	if_set_qosmarking_mode, .-if_set_qosmarking_mode
	.comm	net_qos_policy_capable_enabled,4,4
	.comm	KEV_DL_SUBCLASS,4,4
	.comm	KEV_DL_QOS_MODE_CHANGED,4,4
	.comm	IFEF_QOSMARKING_ENABLED,4,4
	.comm	IFEF_QOSMARKING_CAPABLE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
