	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctxid_masks_store
_ctxid_masks_store:                     ## @ctxid_masks_store
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_task_active_pid_ns
	cmpq	_init_pid_ns@GOTPCREL(%rip), %rax
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
LBB0_2:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.4:
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.5:
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.6:
	movq	%rbx, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	(%rbx), %ecx
	leal	-1(%rcx), %eax
	cmpl	$7, %eax
	ja	LBB0_9
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movzbl	-32(%rbp), %eax
	movq	%rax, 16(%rbx)
	jmp	LBB0_19
LBB0_9:
	testl	%ecx, %ecx
	jg	LBB0_19
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_unlock
	jmp	LBB0_2
LBB0_11:
	movzwl	-32(%rbp), %eax
	movq	%rax, 16(%rbx)
	jmp	LBB0_19
LBB0_12:
	movq	-32(%rbp), %rax
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movq	%rax, 16(%rbx)
	jmp	LBB0_19
LBB0_13:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_19
LBB0_14:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	movzbl	-40(%rbp), %eax
	jmp	LBB0_18
LBB0_15:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	movzwl	-40(%rbp), %eax
	jmp	LBB0_18
LBB0_16:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	movq	-40(%rbp), %rax
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	jmp	LBB0_18
LBB0_17:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	movq	-40(%rbp), %rax
LBB0_18:
	movq	%rax, 24(%rbx)
LBB0_19:
	movq	16(%rbx), %rax
	movq	_ETMv4_EVENT_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_22 Depth=1
	shrq	$8, %rax
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%rdx
	movslq	(%rbx), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_10
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %esi
	andl	%eax, %esi
	testb	$1, %sil
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	testb	$2, %sil
	jne	LBB0_28
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	testb	$4, %sil
	jne	LBB0_29
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	testb	$8, %sil
	jne	LBB0_30
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpq	$3, %rdx
	jne	LBB0_20
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	32(%rbx), %rdi
	andl	$-256, (%rdi,%rdx,4)
	testb	$2, %sil
	je	LBB0_24
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	32(%rbx), %rdi
	andl	$-65281, (%rdi,%rdx,4)          ## imm = 0xFFFF00FF
	testb	$4, %sil
	je	LBB0_25
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	32(%rbx), %rdi
	andl	$-16711681, (%rdi,%rdx,4)       ## imm = 0xFF00FFFF
	testb	$8, %sil
	je	LBB0_26
LBB0_30:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	32(%rbx), %rsi
	andl	$16777215, (%rsi,%rdx,4)        ## imm = 0xFFFFFF
	cmpq	$3, %rdx
	jne	LBB0_20
LBB0_31:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	24(%rbx), %rax
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_init_pid_ns,4,2                ## @init_pid_ns
	.comm	_EINVAL,8,3                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lx %lx"

	.comm	_ETMv4_EVENT_MASK,8,3           ## @ETMv4_EVENT_MASK
	.no_dead_strip	_ctxid_masks_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctxid_masks_store
_ctxid_masks_store:                     ; @ctxid_masks_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x20, x0
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_task_active_pid_ns
Lloh3:
	adrp	x8, _init_pid_ns@GOTPAGE
Lloh4:
	ldr	x8, [x8, _init_pid_ns@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_3
LBB0_1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_1
; %bb.4:
	ldr	w8, [x20]
	cbz	w8, LBB0_1
; %bb.5:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_1
; %bb.6:
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock
	ldr	w9, [x20]
	sub	w8, w9, #1
	cmp	w8, #7
	b.hi	LBB0_9
; %bb.7:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	ldrb	w8, [sp, #8]
	str	x8, [x20, #16]
	b	LBB0_19
LBB0_9:
	cmp	w9, #1
	b.ge	LBB0_19
LBB0_10:
	mov	x0, x21
	bl	_spin_unlock
	b	LBB0_2
LBB0_11:
	ldrh	w8, [sp, #8]
	str	x8, [x20, #16]
	b	LBB0_19
LBB0_12:
	ldr	x8, [sp, #8]
	and	x8, x8, #0xffffff
	str	x8, [x20, #16]
	b	LBB0_19
LBB0_13:
	ldr	x8, [sp, #8]
	str	x8, [x20, #16]
	b	LBB0_19
LBB0_14:
	ldr	x8, [sp, #8]
	ldrb	w9, [sp]
	b	LBB0_18
LBB0_15:
	ldr	x8, [sp, #8]
	ldrh	w9, [sp]
	b	LBB0_18
LBB0_16:
	ldp	x9, x8, [sp]
	and	x9, x9, #0xffffff
	b	LBB0_18
LBB0_17:
	ldp	x9, x8, [sp]
LBB0_18:
	stp	x8, x9, [x20, #16]
LBB0_19:
	mov	x8, #0
	ldr	x9, [x20, #16]
Lloh12:
	adrp	x10, _ETMv4_EVENT_MASK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ETMv4_EVENT_MASK@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	lsr	x9, x9, #8
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x8, x8, #1
	ldrsw	x11, [x20]
	cmp	x8, x11
	b.ge	LBB0_10
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	and	w12, w10, w9
	lsl	x11, x8, #2
	tbnz	w12, #0, LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	tbnz	w12, #1, LBB0_28
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	tbnz	w12, #2, LBB0_29
LBB0_25:                                ;   in Loop: Header=BB0_22 Depth=1
	tbnz	w12, #3, LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	cmp	x8, #3
	b.ne	LBB0_20
	b	LBB0_31
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x13, [x20, #32]
	ldr	w14, [x13, x11]
	and	w14, w14, #0xffffff00
	str	w14, [x13, x11]
	tbz	w12, #1, LBB0_24
LBB0_28:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x13, [x20, #32]
	ldr	w14, [x13, x11]
	and	w14, w14, #0xffff00ff
	str	w14, [x13, x11]
	tbz	w12, #2, LBB0_25
LBB0_29:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x13, [x20, #32]
	ldr	w14, [x13, x11]
	and	w14, w14, #0xff00ffff
	str	w14, [x13, x11]
	tbz	w12, #3, LBB0_26
LBB0_30:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x12, [x20, #32]
	ldr	w13, [x12, x11]
	and	w13, w13, #0xffffff
	str	w13, [x12, x11]
	cmp	x8, #3
	b.ne	LBB0_20
LBB0_31:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x9, [x20, #24]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_17-LBB0_8)>>2
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_init_pid_ns,4,2                ; @init_pid_ns
	.comm	_EINVAL,8,3                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lx %lx"

	.comm	_ETMv4_EVENT_MASK,8,3           ; @ETMv4_EVENT_MASK
	.no_dead_strip	_ctxid_masks_store
.subsections_via_symbols
