	.file	"extr_xt_DSCP.c_tos_tg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tos_tg, @function
tos_tg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR [rsi]
	call	ip_hdr@PLT
	mov	rdi, rax
	call	ipv4_get_dsfield@PLT
	mov	r12d, DWORD PTR [rbx]
	not	r12d
	and	r12d, eax
	xor	r12d, DWORD PTR 4[rbx]
	cmp	eax, r12d
	jne	.L7
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR XT_CONTINUE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, 4
	mov	rdi, rbp
	call	skb_ensure_writable@PLT
	test	rax, rax
	je	.L3
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR NF_DROP[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	ip_hdr@PLT
	mov	edx, r12d
	xor	esi, esi
	mov	rdi, rax
	call	ipv4_change_dsfield@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	tos_tg, .-tos_tg
	.comm	XT_CONTINUE,4,4
	.comm	NF_DROP,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_xt_DSCP.c_tos_tg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tos_tg, %function
tos_tg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r1]
	mov	r5, r0
	bl	ip_hdr
	bl	ipv4_get_dsfield
	ldr	r4, [r6]
	ldr	r2, [r6, #4]
	bic	r4, r0, r4
	eor	r4, r4, r2
	cmp	r0, r4
	bne	.L7
.L2:
	ldr	r3, .L8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L7:
	mov	r1, #4
	mov	r0, r5
	bl	skb_ensure_writable
	subs	r6, r0, #0
	beq	.L3
	ldr	r3, .L8+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r5
	bl	ip_hdr
	mov	r2, r4
	mov	r1, r6
	bl	ipv4_change_dsfield
	b	.L2
.L9:
	.align	2
.L8:
	.word	XT_CONTINUE
	.word	NF_DROP
	.size	tos_tg, .-tos_tg
	.comm	XT_CONTINUE,4,4
	.comm	NF_DROP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
