	.file	"extr_kdebug.c_kdebug_check_trace_string.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	kdebug_check_trace_string, @function
kdebug_check_trace_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR KDBG_EVENTID_MASK[rip]
	not	eax
	and	eax, edi
	je	.L2
.L8:
	mov	r12d, DWORD PTR EINVAL[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ebx, esi
	mov	r12d, eax
	call	kdebug_validate_debugid@PLT
	test	rax, rax
	jne	.L10
	test	ebx, ebx
	je	.L1
	and	ebx, DWORD PTR STR_ID_SIG_MASK[rip]
	cmp	ebx, DWORD PTR g_str_id_signature[rip]
	je	.L1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r12d, DWORD PTR EPERM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	kdebug_check_trace_string, .-kdebug_check_trace_string
	.comm	g_str_id_signature,4,4
	.comm	STR_ID_SIG_MASK,4,4
	.comm	KDBG_EVENTID_MASK,4,4
	.comm	EPERM,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_kdebug.c_kdebug_check_trace_string.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kdebug_check_trace_string, %function
kdebug_check_trace_string:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	ldr	r3, [r3]
	bics	r3, r0, r3
	beq	.L2
	ldr	r3, .L12+4
	ldr	r0, [r3]
	bx	lr
.L2:
	push	{r4, lr}
	mov	r4, r1
	bl	kdebug_validate_debugid
	cmp	r0, #0
	bne	.L11
	cmp	r4, #0
	popeq	{r4, pc}
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	ldr	r1, [r2]
	ldr	r3, [r3]
	and	r1, r1, r4
	cmp	r1, r3
	ldrne	r3, .L12+4
	ldrne	r0, [r3]
	pop	{r4, pc}
.L11:
	ldr	r3, .L12+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	KDBG_EVENTID_MASK
	.word	EINVAL
	.word	STR_ID_SIG_MASK
	.word	g_str_id_signature
	.word	EPERM
	.size	kdebug_check_trace_string, .-kdebug_check_trace_string
	.comm	g_str_id_signature,4,4
	.comm	STR_ID_SIG_MASK,4,4
	.comm	KDBG_EVENTID_MASK,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
