	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addr_ctxtype_show
_addr_ctxtype_show:                     ## @addr_ctxtype_show
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rcx,%rax,4), %edi
	movl	$2, %esi
	movl	$3, %edx
	callq	_BMVAL
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ETM_CTX_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_ETM_CTX_CTXID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_5
LBB0_4:
	movq	_ETM_CTX_VMID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rax, %rcx
LBB0_5:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_scnprintf
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_ETM_CTX_NONE,8,3               ## @ETM_CTX_NONE
L_.str.1:                               ## @.str.1
	.asciz	"none"

	.comm	_ETM_CTX_CTXID,8,3              ## @ETM_CTX_CTXID
L_.str.2:                               ## @.str.2
	.asciz	"ctxid"

	.comm	_ETM_CTX_VMID,8,3               ## @ETM_CTX_VMID
L_.str.3:                               ## @.str.3
	.asciz	"vmid"

L_.str.4:                               ## @.str.4
	.asciz	"all"

	.no_dead_strip	_addr_ctxtype_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addr_ctxtype_show
_addr_ctxtype_show:                     ; @addr_ctxtype_show
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x19, x0
	bl	_spin_lock
	ldp	x8, x9, [x19, #8]
	ldr	w0, [x9, x8, lsl #2]
	mov	w1, #2
	mov	w2, #3
	bl	_BMVAL
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ETM_CTX_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETM_CTX_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x8, _ETM_CTX_CTXID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETM_CTX_CTXID@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _ETM_CTX_VMID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETM_CTX_VMID@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, l_.str.4@PAGE
Lloh17:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh18:
	adrp	x10, l_.str.3@PAGE
Lloh19:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x0, x8
	csel	x3, x10, x9, eq
LBB0_5:
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_scnprintf
	mov	x20, x0
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_ETM_CTX_NONE,8,3               ; @ETM_CTX_NONE
l_.str.1:                               ; @.str.1
	.asciz	"none"

	.comm	_ETM_CTX_CTXID,8,3              ; @ETM_CTX_CTXID
l_.str.2:                               ; @.str.2
	.asciz	"ctxid"

	.comm	_ETM_CTX_VMID,8,3               ; @ETM_CTX_VMID
l_.str.3:                               ; @.str.3
	.asciz	"vmid"

l_.str.4:                               ; @.str.4
	.asciz	"all"

	.no_dead_strip	_addr_ctxtype_show
.subsections_via_symbols
