	.file	"extr_xt_SECMARK.c_secmark_tg_check.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mangle"
.LC1:
	.string	"security"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"only valid in 'mangle' or 'security' table, not '%s'\n"
	.align 8
.LC3:
	.string	"mode already set to %hu cannot mix with rules for mode %hu\n"
	.section	.rodata.str1.1
.LC4:
	.string	"invalid mode: %hu\n"
	.text
	.p2align 4
	.type	secmark_tg_check, @function
secmark_tg_check:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rdi]
	call	strcmp@PLT
	test	rax, rax
	jne	.L17
.L2:
	mov	r8d, DWORD PTR mode[rip]
	mov	esi, DWORD PTR 0[rbp]
	test	r8d, r8d
	jne	.L18
.L4:
	cmp	esi, 128
	je	.L5
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	pr_info_ratelimited@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	cmp	r8d, esi
	je	.L4
	mov	edx, esi
	lea	rdi, .LC3[rip]
	mov	esi, r8d
	xor	eax, eax
	call	pr_info_ratelimited@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	pr_info_ratelimited@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	call	checkentry_lsm@PLT
	test	eax, eax
	jne	.L1
	mov	edx, DWORD PTR mode[rip]
	test	edx, edx
	jne	.L1
	mov	edx, DWORD PTR 0[rbp]
	mov	DWORD PTR mode[rip], edx
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	secmark_tg_check, .-secmark_tg_check
	.comm	mode,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_xt_SECMARK.c_secmark_tg_check.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mangle\000"
	.align	2
.LC1:
	.ascii	"security\000"
	.align	2
.LC2:
	.ascii	"only valid in 'mangle' or 'security' table, not '%s"
	.ascii	"'\012\000"
	.align	2
.LC3:
	.ascii	"mode already set to %hu cannot mix with rules for m"
	.ascii	"ode %hu\012\000"
	.align	2
.LC4:
	.ascii	"invalid mode: %hu\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	secmark_tg_check, %function
secmark_tg_check:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r1, .L19
	ldr	r0, [r0]
	ldr	r5, [r4, #4]
	bl	strcmp
	cmp	r0, #0
	bne	.L17
.L2:
	ldr	r4, .L19+4
	ldr	r1, [r5]
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L18
.L4:
	cmp	r1, #128
	beq	.L5
	ldr	r0, .L19+8
	bl	pr_info_ratelimited
	ldr	r3, .L19+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L18:
	cmp	r3, r1
	beq	.L4
	mov	r2, r1
	ldr	r0, .L19+16
	mov	r1, r3
	bl	pr_info_ratelimited
	ldr	r3, .L19+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r1, .L19+20
	ldr	r0, [r4]
	bl	strcmp
	cmp	r0, #0
	beq	.L2
	ldr	r1, [r4]
	ldr	r0, .L19+24
	bl	pr_info_ratelimited
	ldr	r3, .L19+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r5
	bl	checkentry_lsm
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, [r4]
	cmp	r3, #0
	ldreq	r3, [r5]
	streq	r3, [r4]
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	mode
	.word	.LC4
	.word	EINVAL
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	secmark_tg_check, .-secmark_tg_check
	.comm	mode,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
