	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decompress_val                 ## -- Begin function decompress_val
	.p2align	4, 0x90
_decompress_val:                        ## @decompress_val
	.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
	movl	(%rdi), %esi
	leal	-128(%rsi), %eax
	cmpl	$5, %eax
	ja	LBB0_6
## %bb.1:
	movl	%ecx, %r15d
	movq	%rdi, %rbx
	movl	12(%rdi), %r12d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movl	%r12d, 4(%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tcb_code_err_exit              ## TAILCALL
LBB0_2:
	subl	%r12d, %edx
	movl	%edx, 4(%rbx)
	jmp	LBB0_8
LBB0_3:
	movl	%r8d, %r14d
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_tcb_startswith_nc
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_tcb_strmatch_nc
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovel	%r12d, %ecx
	addl	%r15d, %r14d
	addl	%ecx, %r14d
	movl	%r14d, 4(%rbx)
	jmp	LBB0_8
LBB0_5:
	subl	%r12d, %r15d
	movl	%r15d, 4(%rbx)
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx_frag"

L_.str.1:                               ## @.str.1
	.asciz	"rx_frag0_start_idx_raw"

	.comm	_PM_MODE_RDDP,4,2               ## @PM_MODE_RDDP
	.comm	_PM_MODE_DDP,4,2                ## @PM_MODE_DDP
	.comm	_PM_MODE_IANDP,4,2              ## @PM_MODE_IANDP
L_.str.2:                               ## @.str.2
	.asciz	"decompress_val, bad switch: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decompress_val                 ; -- Begin function decompress_val
	.p2align	2
_decompress_val:                        ; @decompress_val
	.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
	ldr	w1, [x0]
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w22, [x0, #12]
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:
	str	w22, [x19, #4]
LBB0_3:
	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
LBB0_4:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	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
	b	_tcb_code_err_exit
LBB0_5:
	sub	w8, w2, w22
	str	w8, [x19, #4]
	b	LBB0_3
LBB0_6:
	mov	x21, x4
	mov	x20, x3
	ldr	w0, [x19, #8]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_tcb_startswith_nc
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_tcb_strmatch_nc
	cmp	w0, #0
	csel	w8, w22, wzr, eq
	add	w9, w21, w20
	add	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_3
LBB0_8:
	sub	w8, w20, w22
	str	w8, [x19, #4]
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx_frag"

l_.str.1:                               ; @.str.1
	.asciz	"rx_frag0_start_idx_raw"

	.comm	_PM_MODE_RDDP,4,2               ; @PM_MODE_RDDP
	.comm	_PM_MODE_DDP,4,2                ; @PM_MODE_DDP
	.comm	_PM_MODE_IANDP,4,2              ; @PM_MODE_IANDP
l_.str.2:                               ; @.str.2
	.asciz	"decompress_val, bad switch: %d"

.subsections_via_symbols
