	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function SPEC2_MakeStatus
LCPI0_0:
	.long	4294967168                      ## 0xffffff80
	.long	4294967168                      ## 0xffffff80
	.long	4294967168                      ## 0xffffff80
	.long	4294967168                      ## 0xffffff80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_SPEC2_MakeStatus:                      ## @SPEC2_MakeStatus
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	%edi, %r14d
	movl	(%rsi), %edi
	movl	$16, %esi
	movl	$14, %edx
	callq	__SHIFTR
	movl	%eax, 32(%r12)
	movl	(%r15), %eax
	sarl	$8, %eax
	movl	%eax, (%r12)
	movl	(%r15), %ecx
	movl	%ecx, 4(%r12)
	movq	___pad_analogmode@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	%esi, %edx
	andl	$1792, %edx                     ## imm = 0x700
	leal	-256(%rdx), %edi
	shrl	$8, %edi
	cmpl	$3, %edi
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rdi,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_2:
	movzbl	7(%r15), %edx
	andl	$-16, %edx
	movl	%edx, 8(%r12)
	movzbl	5(%r15), %esi
	movl	%esi, 12(%r12)
	movzbl	6(%r15), %edi
	movl	%edi, 16(%r12)
	movzbl	5(%r15), %edi
	jmp	LBB0_12
LBB0_7:
	notl	%esi
	testl	$1536, %esi                     ## imm = 0x600
	je	LBB0_11
## %bb.8:
	testl	%edx, %edx
	je	LBB0_11
## %bb.9:
	cmpl	$1280, %edx                     ## imm = 0x500
	je	LBB0_11
## %bb.10:
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	jmp	LBB0_14
LBB0_3:
	movzbl	7(%r15), %edx
	andl	$-16, %edx
	movl	%edx, 8(%r12)
	movl	4(%r15), %esi
	shrl	$20, %esi
	andl	$240, %esi
	movl	%esi, 12(%r12)
	movzwl	6(%r15), %edi
	andl	$240, %edi
	movl	%edi, 16(%r12)
	movl	4(%r15), %edi
	shrl	$12, %edi
	andl	$240, %edi
	movl	%edi, 20(%r12)
	jmp	LBB0_6
LBB0_4:
	movl	4(%r15), %edx
	shrl	$24, %edx
	movl	%edx, 8(%r12)
	movzbl	6(%r15), %esi
	movl	%esi, 12(%r12)
	movzbl	5(%r15), %edi
	movl	%edi, 16(%r12)
	movzbl	4(%r15), %edi
	movl	%edi, 20(%r12)
	movq	$0, 24(%r12)
	jmp	LBB0_14
LBB0_5:
	movl	4(%r15), %edx
	shrl	$24, %edx
	movl	%edx, 8(%r12)
	movzbl	6(%r15), %esi
	movl	%esi, 12(%r12)
	movq	$0, 16(%r12)
LBB0_6:
	movzbl	5(%r15), %edi
	movl	%edi, 24(%r12)
	movzbl	4(%r15), %edi
	jmp	LBB0_13
LBB0_11:
	movl	4(%r15), %edx
	shrl	$24, %edx
	movl	%edx, 8(%r12)
	movzbl	6(%r15), %esi
	movl	%esi, 12(%r12)
	movl	4(%r15), %edi
	shrl	$8, %edi
	andl	$240, %edi
	movl	%edi, 16(%r12)
	movl	4(%r15), %edi
	shrl	$4, %edi
	andl	$240, %edi
LBB0_12:
	movl	%edi, 20(%r12)
	movl	$240, %edi
	andl	4(%r15), %edi
	movl	%edi, 24(%r12)
	movl	4(%r15), %edi
	shll	$4, %edi
	movzbl	%dil, %edi
LBB0_13:
	movl	%edi, 28(%r12)
LBB0_14:
	movd	%eax, %xmm0
	pinsrd	$1, %ecx, %xmm0
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %esi, %xmm0
	paddd	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, (%r12)
	movq	___pad_origin@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%r14d, %rbx
	movq	(%rax,%rbx,8), %rax
	movl	8(%rax), %esi
	movd	%xmm0, %edi
	callq	___pad_clampS8
	movl	%eax, (%r12)
	movl	4(%r12), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	12(%rax), %esi
	callq	___pad_clampS8
	movl	%eax, 4(%r12)
	movl	8(%r12), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	16(%rax), %esi
	callq	___pad_clampS8
	movl	%eax, 8(%r12)
	movl	12(%r12), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	20(%rax), %esi
	callq	___pad_clampS8
	movl	%eax, 12(%r12)
	movl	16(%r12), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	24(%rax), %esi
	callq	___pad_clampU8
	movl	%eax, 16(%r12)
	movl	20(%r12), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	28(%rax), %esi
	callq	___pad_clampU8
	movl	%eax, 20(%r12)
	popq	%rbx
	popq	%r12
	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_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	___pad_analogmode,4,2           ## @__pad_analogmode
	.comm	___pad_origin,8,3               ## @__pad_origin
	.no_dead_strip	_SPEC2_MakeStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SPEC2_MakeStatus
_SPEC2_MakeStatus:                      ; @SPEC2_MakeStatus
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x1]
	mov	w1, #16
	mov	w2, #14
	bl	__SHIFTR
	str	w0, [x19, #32]
	ldr	w8, [x21]
	asr	w8, w8, #8
	str	w8, [x19]
	ldr	w9, [x21]
Lloh0:
	adrp	x10, ___pad_analogmode@GOTPAGE
Lloh1:
	ldr	x10, [x10, ___pad_analogmode@GOTPAGEOFF]
	str	w9, [x19, #4]
Lloh2:
	ldr	w11, [x10]
	and	w10, w11, #0x700
	sub	w12, w10, #256
	lsr	w12, w12, #8
	cmp	w12, #3
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w13, [x10, x12]
	add	x11, x11, x13, lsl #2
	br	x11
LBB0_2:
	ldrb	w10, [x21, #7]
	and	w10, w10, #0xf0
	str	w10, [x19, #8]
	ldrb	w11, [x21, #5]
	str	w11, [x19, #12]
	ldrb	w12, [x21, #6]
	str	w12, [x19, #16]
	ldrb	w12, [x21, #5]
	b	LBB0_11
LBB0_3:
	mvn	w11, w11
	and	w11, w11, #0x600
	cmp	w11, #0
	ccmp	w10, #0, #4, ne
	b.eq	LBB0_10
; %bb.4:
	cmp	w10, #1280
	b.eq	LBB0_10
; %bb.5:
	ldp	w10, w11, [x19, #8]
	b	LBB0_13
LBB0_6:
	ldrb	w10, [x21, #7]
	and	w10, w10, #0xf0
	str	w10, [x19, #8]
	ldr	w11, [x21, #4]
	lsr	w11, w11, #20
	and	w11, w11, #0xf0
	str	w11, [x19, #12]
	ldrh	w12, [x21, #6]
	and	w12, w12, #0xf0
	str	w12, [x19, #16]
	ldr	w12, [x21, #4]
	lsr	w12, w12, #12
	and	w12, w12, #0xf0
	str	w12, [x19, #20]
	b	LBB0_9
LBB0_7:
	ldr	w10, [x21, #4]
	lsr	w10, w10, #24
	str	w10, [x19, #8]
	ldrb	w11, [x21, #6]
	str	w11, [x19, #12]
	ldrb	w12, [x21, #5]
	str	w12, [x19, #16]
	ldrb	w12, [x21, #4]
	str	xzr, [x19, #24]
	str	w12, [x19, #20]
	b	LBB0_13
LBB0_8:
	ldr	w10, [x21, #4]
	lsr	w10, w10, #24
	str	w10, [x19, #8]
	ldrb	w11, [x21, #6]
	str	xzr, [x19, #16]
	str	w11, [x19, #12]
LBB0_9:
	ldrb	w12, [x21, #5]
	str	w12, [x19, #24]
	ldrb	w12, [x21, #4]
	b	LBB0_12
LBB0_10:
	ldr	w10, [x21, #4]
	lsr	w10, w10, #24
	str	w10, [x19, #8]
	ldrb	w11, [x21, #6]
	str	w11, [x19, #12]
	ldr	w12, [x21, #4]
	lsr	w12, w12, #8
	and	w12, w12, #0xf0
	str	w12, [x19, #16]
	ldr	w12, [x21, #4]
	lsr	w12, w12, #4
	and	w12, w12, #0xf0
LBB0_11:
	str	w12, [x19, #20]
	ldr	w12, [x21, #4]
	and	w12, w12, #0xf0
	str	w12, [x19, #24]
	ldr	w12, [x21, #4]
	ubfiz	w12, w12, #4, #4
LBB0_12:
	str	w12, [x19, #28]
LBB0_13:
	sub	w0, w8, #128
	sub	w8, w9, #128
	stp	w0, w8, [x19]
	sub	w8, w10, #128
	sub	w9, w11, #128
Lloh5:
	adrp	x21, ___pad_origin@GOTPAGE
Lloh6:
	ldr	x21, [x21, ___pad_origin@GOTPAGEOFF]
	stp	w8, w9, [x19, #8]
	ldr	x8, [x21]
	sbfiz	x20, x20, #3, #32
	ldr	x8, [x8, x20]
	ldr	w1, [x8, #8]
	bl	___pad_clampS8
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
	ldr	w1, [x8, #12]
	bl	___pad_clampS8
	str	w0, [x19, #4]
	ldr	w0, [x19, #8]
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
	ldr	w1, [x8, #16]
	bl	___pad_clampS8
	str	w0, [x19, #8]
	ldr	w0, [x19, #12]
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
	ldr	w1, [x8, #20]
	bl	___pad_clampS8
	str	w0, [x19, #12]
	ldr	w0, [x19, #16]
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
	ldr	w1, [x8, #24]
	bl	___pad_clampU8
	str	w0, [x19, #16]
	ldr	w0, [x19, #20]
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
	ldr	w1, [x8, #28]
	bl	___pad_clampU8
	str	w0, [x19, #20]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	___pad_analogmode,4,2           ; @__pad_analogmode
	.comm	___pad_origin,8,3               ; @__pad_origin
	.no_dead_strip	_SPEC2_MakeStatus
.subsections_via_symbols
