	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function scsp_slot_write_word
LCPI0_0:
	.long	7                               ## 0x7
	.long	31                              ## 0x1f
	.long	7                               ## 0x7
	.long	31                              ## 0x1f
LCPI0_1:
	.long	3                               ## 0x3
	.long	7                               ## 0x7
	.long	3                               ## 0x3
	.long	7                               ## 0x7
LCPI0_2:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	15                              ## 0xf
	.long	1023                            ## 0x3ff
LCPI0_3:
	.long	3                               ## 0x3
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	255                             ## 0xff
LCPI0_4:
	.long	1                               ## 0x1
	.long	15                              ## 0xf
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_scsp_slot_write_word
	.p2align	4, 0x90
_scsp_slot_write_word:                  ## @scsp_slot_write_word
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movl	%esi, %eax
	shrl	$5, %eax
	andl	$31, %eax
	movl	%eax, %ecx
	shll	$5, %ecx
	subl	%ecx, %esi
	sarl	%esi
	cmpl	$11, %esi
	ja	LBB0_16
## %bb.1:
	movl	%edx, %ebx
	movq	(%rdi), %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movl	%ebx, %ecx
	shrl	$11, %ecx
	andl	$1, %ecx
	imulq	$164, %rax, %r15
	movl	%ecx, (%r14,%r15)
	testl	$4096, %ebx                     ## imm = 0x1000
	je	LBB0_4
## %bb.3:
	callq	_keyonex
LBB0_4:
	movl	%ebx, %eax
	shrl	$9, %eax
	andl	$3, %eax
	movl	%eax, 4(%r14,%r15)
	movl	%ebx, %eax
	shrl	$7, %eax
	andl	$3, %eax
	movl	%eax, 8(%r14,%r15)
	movl	%ebx, %eax
	shrl	$5, %eax
	andl	$3, %eax
	movl	%eax, 12(%r14,%r15)
	movl	%ebx, %eax
	shrl	$4, %eax
	andl	$1, %eax
	movl	%eax, 16(%r14,%r15)
	andl	$15, %ebx
	movw	%bx, 22(%r14,%r15)
	jmp	LBB0_16
LBB0_6:
	imulq	$164, %rax, %rax
	movl	%ebx, 24(%r14,%rax)
	jmp	LBB0_16
LBB0_7:
	imulq	$164, %rax, %rax
	movl	%ebx, 28(%r14,%rax)
	jmp	LBB0_16
LBB0_8:
	movl	%ebx, %ecx
	sarl	$11, %ecx
	imulq	$164, %rax, %rax
	movl	%ecx, 32(%r14,%rax)
	movl	%ebx, %ecx
	shrl	$6, %ecx
	andl	$31, %ecx
	movl	%ecx, 36(%r14,%rax)
	movl	%ebx, %ecx
	shrl	$5, %ecx
	andl	$1, %ecx
	movl	%ecx, 40(%r14,%rax)
	andl	$31, %ebx
	movl	%ebx, 44(%r14,%rax)
	jmp	LBB0_16
LBB0_11:
	movl	%ebx, %ecx
	shrl	$12, %ecx
	andl	$15, %ecx
	imulq	$164, %rax, %rax
	movl	%ecx, 84(%r14,%rax)
	movl	%ebx, %ecx
	shrl	$6, %ecx
	andl	$63, %ecx
	movl	%ecx, 88(%r14,%rax)
	andl	$63, %ebx
	movl	%ebx, 92(%r14,%rax)
	jmp	LBB0_16
LBB0_13:
	movl	%ebx, %ecx
	shrl	$15, %ecx
	andl	$1, %ecx
	imulq	$164, %rax, %rax
	movl	%ecx, 112(%r14,%rax)
	movl	%ebx, %ecx
	shrl	$10, %ecx
	andl	$31, %ecx
	movl	%ebx, %edx
	shrl	$8, %edx
	movl	%ebx, %esi
	shrl	$5, %esi
	movd	%edx, %xmm0
	movl	%ebx, %edx
	shrl	$3, %edx
	pinsrd	$1, %esi, %xmm0
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %ebx, %xmm0
	movl	%ecx, 116(%r14,%rax)
	pand	LCPI0_1(%rip), %xmm0
	movdqu	%xmm0, 120(%r14,%rax)
	jmp	LBB0_16
LBB0_15:
	movl	%ebx, %ecx
	shrl	$13, %ecx
	movl	%ebx, %edx
	shrl	$8, %edx
	movl	%ebx, %esi
	shrl	$5, %esi
	movd	%ecx, %xmm0
	pinsrd	$1, %edx, %xmm0
	pinsrd	$2, %esi, %xmm0
	pinsrd	$3, %ebx, %xmm0
	imulq	$164, %rax, %rax
	pand	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 148(%r14,%rax)
	jmp	LBB0_16
LBB0_5:
	imulq	$164, %rax, %rax
	movl	$983040, %ecx                   ## imm = 0xF0000
	andl	20(%r14,%rax), %ecx
	orl	%ebx, %ecx
	movl	%ecx, 20(%r14,%rax)
	jmp	LBB0_16
LBB0_9:
	movl	%ebx, %ecx
	shrl	$15, %ecx
	andl	$1, %ecx
	imulq	$164, %rax, %rax
	movl	%ebx, %edx
	shrl	$14, %edx
	movl	%ebx, %esi
	shrl	$10, %esi
	movd	%edx, %xmm0
	movl	%ebx, %edx
	shrl	$5, %edx
	pinsrd	$1, %esi, %xmm0
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %ebx, %xmm0
	movl	%ecx, 48(%r14,%rax)
	pand	LCPI0_4(%rip), %xmm0
	movdqu	%xmm0, 52(%r14,%rax)
	jmp	LBB0_16
LBB0_10:
	movl	%ebx, %ecx
	shrl	$10, %ecx
	movl	%ebx, %edx
	shrl	$9, %edx
	movl	%ebx, %esi
	shrl	$8, %esi
	movd	%ecx, %xmm0
	pinsrd	$1, %edx, %xmm0
	pinsrd	$2, %esi, %xmm0
	pinsrd	$3, %ebx, %xmm0
	imulq	$164, %rax, %rax
	pand	LCPI0_3(%rip), %xmm0
	movdqu	%xmm0, 68(%r14,%rax)
	jmp	LBB0_16
LBB0_12:
	movl	%ebx, %ecx
	shrl	$15, %ecx
	movl	%ebx, %edx
	shrl	$10, %edx
	movl	%ebx, %esi
	shrl	$11, %esi
	movd	%ecx, %xmm0
	pinsrd	$1, %edx, %xmm0
	pinsrd	$2, %esi, %xmm0
	pinsrd	$3, %ebx, %xmm0
	imulq	$164, %rax, %rax
	pand	LCPI0_2(%rip), %xmm0
	movdqu	%xmm0, 96(%r14,%rax)
	jmp	LBB0_16
LBB0_14:
	movl	%ebx, %ecx
	shrl	$7, %ecx
	andl	$1, %ecx
	imulq	$164, %rax, %rax
	movl	%ecx, 136(%r14,%rax)
	movl	%ebx, %ecx
	shrl	$3, %ecx
	andl	$15, %ecx
	movl	%ecx, 140(%r14,%rax)
	andl	$7, %ebx
	movl	%ebx, 144(%r14,%rax)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-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
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.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
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function scsp_slot_write_word
lCPI0_0:
	.long	4294967283                      ; 0xfffffff3
	.long	4294967288                      ; 0xfffffff8
lCPI0_1:
	.long	7                               ; 0x7
	.long	31                              ; 0x1f
lCPI0_2:
	.long	4294967289                      ; 0xfffffff9
	.long	4294967293                      ; 0xfffffffd
lCPI0_3:
	.long	1                               ; 0x1
	.long	15                              ; 0xf
lCPI0_6:
	.long	4294967281                      ; 0xfffffff1
	.long	4294967286                      ; 0xfffffff6
lCPI0_7:
	.long	4294967284                      ; 0xfffffff4
	.long	4294967290                      ; 0xfffffffa
lCPI0_8:
	.long	15                              ; 0xf
	.long	63                              ; 0x3f
lCPI0_9:
	.long	4294967286                      ; 0xfffffff6
	.long	4294967287                      ; 0xfffffff7
lCPI0_10:
	.long	3                               ; 0x3
	.long	1                               ; 0x1
lCPI0_13:
	.long	4294967290                      ; 0xfffffffa
	.long	4294967291                      ; 0xfffffffb
lCPI0_14:
	.long	31                              ; 0x1f
	.long	1                               ; 0x1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_4:
	.long	4294967281                      ; 0xfffffff1
	.long	4294967286                      ; 0xfffffff6
	.long	4294967288                      ; 0xfffffff8
	.long	4294967291                      ; 0xfffffffb
lCPI0_5:
	.long	1                               ; 0x1
	.long	31                              ; 0x1f
	.long	3                               ; 0x3
	.long	7                               ; 0x7
lCPI0_11:
	.long	4294967281                      ; 0xfffffff1
	.long	4294967282                      ; 0xfffffff2
	.long	4294967286                      ; 0xfffffff6
	.long	4294967291                      ; 0xfffffffb
lCPI0_12:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	15                              ; 0xf
	.long	31                              ; 0x1f
lCPI0_15:
	.long	4294967287                      ; 0xfffffff7
	.long	4294967289                      ; 0xfffffff9
	.long	4294967291                      ; 0xfffffffb
	.long	4294967292                      ; 0xfffffffc
lCPI0_16:
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_scsp_slot_write_word
	.p2align	2
_scsp_slot_write_word:                  ; @scsp_slot_write_word
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ubfx	w20, w1, #5, #5
	sub	w8, w1, w20, lsl #5
	asr	w8, w8, #1
	cmp	w8, #11
	b.hi	LBB0_16
; %bb.1:
	mov	x19, x2
	ldr	x21, [x0]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ubfx	w8, w19, #11, #1
	mov	w9, #164
	mul	x9, x20, x9
	str	w8, [x21, x9]
	tbz	w19, #12, LBB0_4
; %bb.3:
	bl	_keyonex
LBB0_4:
	dup.4s	v0, w19
Lloh2:
	adrp	x8, lCPI0_15@PAGE
Lloh3:
	ldr	q1, [x8, lCPI0_15@PAGEOFF]
	ushl.4s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
Lloh4:
	adrp	x9, lCPI0_16@PAGE
Lloh5:
	ldr	q1, [x9, lCPI0_16@PAGEOFF]
	and.16b	v0, v0, v1
	stur	q0, [x8, #4]
	and	w9, w19, #0xf
	strh	w9, [x8, #22]
	b	LBB0_16
LBB0_5:
	mov	w8, #164
	madd	x8, x20, x8, x21
	str	w19, [x8, #24]
	b	LBB0_16
LBB0_6:
	mov	w8, #164
	madd	x8, x20, x8, x21
	str	w19, [x8, #28]
	b	LBB0_16
LBB0_7:
	asr	w8, w19, #11
	mov	w9, #164
	madd	x9, x20, x9, x21
	str	w8, [x9, #32]
	dup.2s	v0, w19
Lloh6:
	adrp	x8, lCPI0_13@PAGE
Lloh7:
	ldr	d1, [x8, lCPI0_13@PAGEOFF]
	ushl.2s	v0, v0, v1
Lloh8:
	adrp	x8, lCPI0_14@PAGE
Lloh9:
	ldr	d1, [x8, lCPI0_14@PAGEOFF]
	and.8b	v0, v0, v1
	stur	d0, [x9, #36]
	and	w8, w19, #0x1f
	str	w8, [x9, #44]
	b	LBB0_16
LBB0_8:
	dup.2s	v0, w19
Lloh10:
	adrp	x8, lCPI0_7@PAGE
Lloh11:
	ldr	d1, [x8, lCPI0_7@PAGEOFF]
	ushl.2s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
Lloh12:
	adrp	x9, lCPI0_8@PAGE
Lloh13:
	ldr	d1, [x9, lCPI0_8@PAGEOFF]
	and.8b	v0, v0, v1
	stur	d0, [x8, #84]
	and	w9, w19, #0x3f
	str	w9, [x8, #92]
	b	LBB0_16
LBB0_9:
	dup.4s	v0, w19
Lloh14:
	adrp	x8, lCPI0_4@PAGE
Lloh15:
	ldr	q1, [x8, lCPI0_4@PAGEOFF]
	ushl.4s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
Lloh16:
	adrp	x9, lCPI0_5@PAGE
Lloh17:
	ldr	q1, [x9, lCPI0_5@PAGEOFF]
	and.16b	v0, v0, v1
	str	q0, [x8, #112]
	ubfx	w9, w19, #3, #2
	and	w10, w19, #0x7
	stp	w9, w10, [x8, #128]
	b	LBB0_16
LBB0_10:
	dup.2s	v0, w19
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
Lloh20:
	adrp	x9, lCPI0_1@PAGE
Lloh21:
	ldr	d1, [x9, lCPI0_1@PAGEOFF]
	and.8b	v0, v0, v1
	stur	d0, [x8, #148]
	ubfx	w9, w19, #5, #3
	and	w10, w19, #0x1f
	stp	w9, w10, [x8, #156]
	b	LBB0_16
LBB0_11:
	mov	w8, #164
	madd	x8, x20, x8, x21
	ldr	w9, [x8, #20]
	and	w9, w9, #0xf0000
	orr	w9, w9, w19
	str	w9, [x8, #20]
	b	LBB0_16
LBB0_12:
	dup.4s	v0, w19
Lloh22:
	adrp	x8, lCPI0_11@PAGE
Lloh23:
	ldr	q1, [x8, lCPI0_11@PAGEOFF]
	ushl.4s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
Lloh24:
	adrp	x9, lCPI0_12@PAGE
Lloh25:
	ldr	q1, [x9, lCPI0_12@PAGEOFF]
	and.16b	v0, v0, v1
	str	q0, [x8, #48]
	and	w9, w19, #0x1f
	str	w9, [x8, #64]
	b	LBB0_16
LBB0_13:
	dup.2s	v0, w19
Lloh26:
	adrp	x8, lCPI0_9@PAGE
Lloh27:
	ldr	d1, [x8, lCPI0_9@PAGEOFF]
	ushl.2s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
Lloh28:
	adrp	x9, lCPI0_10@PAGE
Lloh29:
	ldr	d1, [x9, lCPI0_10@PAGEOFF]
	and.8b	v0, v0, v1
	stur	d0, [x8, #68]
	ubfx	w9, w19, #8, #1
	and	w10, w19, #0xff
	stp	w9, w10, [x8, #76]
	b	LBB0_16
LBB0_14:
	dup.2s	v0, w19
Lloh30:
	adrp	x8, lCPI0_6@PAGE
Lloh31:
	ldr	d1, [x8, lCPI0_6@PAGEOFF]
	ushl.2s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
	movi.2s	v1, #1
	and.8b	v0, v0, v1
	str	d0, [x8, #96]
	ubfx	w9, w19, #11, #4
	and	w10, w19, #0x3ff
	stp	w9, w10, [x8, #104]
	b	LBB0_16
LBB0_15:
	dup.2s	v0, w19
Lloh32:
	adrp	x8, lCPI0_2@PAGE
Lloh33:
	ldr	d1, [x8, lCPI0_2@PAGEOFF]
	ushl.2s	v0, v0, v1
	mov	w8, #164
	madd	x8, x20, x8, x21
Lloh34:
	adrp	x9, lCPI0_3@PAGE
Lloh35:
	ldr	d1, [x9, lCPI0_3@PAGEOFF]
	and.8b	v0, v0, v1
	str	d0, [x8, #136]
	and	w9, w19, #0x7
	str	w9, [x8, #144]
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpLdr	Lloh30, Lloh31
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdr	Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
