	.file	"extr_coresight-etm4x-sysfs.c_addr_ctxtype_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vmid"
.LC1:
	.string	"none"
.LC2:
	.string	"ctxid"
.LC3:
	.string	"all"
.LC4:
	.string	"%s\n"
	.text
	.p2align 4
	.type	addr_ctxtype_show, @function
addr_ctxtype_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdi]
	call	dev_get_drvdata@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	spin_lock@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, 2
	mov	edi, DWORD PTR [rax+rdx*4]
	mov	edx, 3
	call	BMVAL@PLT
	cmp	QWORD PTR ETM_CTX_NONE[rip], rax
	lea	rcx, .LC1[rip]
	je	.L2
	cmp	QWORD PTR ETM_CTX_CTXID[rip], rax
	lea	rcx, .LC2[rip]
	je	.L2
	cmp	QWORD PTR ETM_CTX_VMID[rip], rax
	lea	rcx, .LC0[rip]
	lea	rax, .LC3[rip]
	cmovne	rcx, rax
.L2:
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rdi, r12
	lea	rdx, .LC4[rip]
	call	scnprintf@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	spin_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	addr_ctxtype_show, .-addr_ctxtype_show
	.comm	PAGE_SIZE,4,4
	.comm	ETM_CTX_VMID,8,8
	.comm	ETM_CTX_NONE,8,8
	.comm	ETM_CTX_CTXID,8,8
	.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_coresight-etm4x-sysfs.c_addr_ctxtype_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vmid\000"
	.align	2
.LC1:
	.ascii	"none\000"
	.align	2
.LC2:
	.ascii	"ctxid\000"
	.align	2
.LC3:
	.ascii	"all\000"
	.align	2
.LC4:
	.ascii	"%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	addr_ctxtype_show, %function
addr_ctxtype_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, [r0]
	mov	r5, r2
	bl	dev_get_drvdata
	mov	r4, r0
	bl	spin_lock
	ldmib	r4, {r1, r3}
	mov	r2, #3
	ldr	r0, [r3, r1, lsl #2]
	mov	r1, #2
	bl	BMVAL
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r3, [r3]
	ldr	r1, [r2]
	cmp	r3, r0
	beq	.L3
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	ldr	ip, [r2]
	ldr	r2, .L8+20
	cmp	ip, r0
	movne	r3, r2
.L2:
	ldr	r2, .L8+24
	mov	r0, r5
	bl	scnprintf
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	spin_unlock
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L8+28
	b	.L2
.L3:
	ldr	r3, .L8+32
	b	.L2
.L9:
	.align	2
.L8:
	.word	ETM_CTX_NONE
	.word	PAGE_SIZE
	.word	ETM_CTX_CTXID
	.word	ETM_CTX_VMID
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	.LC2
	.word	.LC1
	.size	addr_ctxtype_show, .-addr_ctxtype_show
	.comm	PAGE_SIZE,4,4
	.comm	ETM_CTX_VMID,4,4
	.comm	ETM_CTX_NONE,4,4
	.comm	ETM_CTX_CTXID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
