	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_tps
_compute_tps:                           ## @compute_tps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-142, %eax
	movl	(%rdi), %edx
	addl	%eax, %edx
	movl	%edx, %ecx
	shll	$7, %ecx
	movl	$512, %esi                      ## imm = 0x200
	subl	%ecx, %esi
	xorl	%ecx, %ecx
	cmpl	$4, %edx
	cmovbl	%esi, %ecx
	addl	4(%rdi), %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_5:
	orl	$64, %ecx
	jmp	LBB0_6
LBB0_4:
	orl	$48, %ecx
	jmp	LBB0_6
LBB0_3:
	orl	$32, %ecx
	jmp	LBB0_6
LBB0_2:
	orl	$16, %ecx
LBB0_6:
	movl	8(%rdi), %eax
	cmpl	$131, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$132, %eax
	jne	LBB0_10
## %bb.8:
	orl	$8192, %ecx                     ## imm = 0x2000
	jmp	LBB0_10
LBB0_9:
	orl	$16384, %ecx                    ## imm = 0x4000
LBB0_10:
	xorl	%eax, %eax
	cmpl	$128, 12(%rdi)
	movl	16(%rdi), %edx
	sete	%al
	orl	%ecx, %eax
	cmpl	$137, %edx
	je	LBB0_14
## %bb.11:
	cmpl	$138, %edx
	je	LBB0_15
## %bb.12:
	cmpl	$140, %edx
	jne	LBB0_16
## %bb.13:
	orl	$4, %eax
	jmp	LBB0_16
LBB0_14:
	orl	$8, %eax
	jmp	LBB0_16
LBB0_15:
	orl	$12, %eax
LBB0_16:
	movl	20(%rdi), %ecx
	cmpl	$134, %ecx
	je	LBB0_21
## %bb.17:
	cmpl	$135, %ecx
	je	LBB0_20
## %bb.18:
	cmpl	$136, %ecx
	jne	LBB0_22
## %bb.19:
	orl	$1024, %eax                     ## imm = 0x400
	popq	%rbp
	retq
LBB0_21:
	orl	$3072, %eax                     ## imm = 0xC00
LBB0_22:
	popq	%rbp
	retq
LBB0_20:
	orl	$2048, %eax                     ## imm = 0x800
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_compute_tps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_tps
_compute_tps:                           ; @compute_tps
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	sub	w8, w8, #142
	mov	w10, #512
	sub	w10, w10, w8, lsl #7
	cmp	w8, #4
	csel	w8, w10, wzr, lo
	sub	w9, w9, #142
	cmp	w9, #3
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	orr	w8, w8, #0x40
	b	LBB0_6
LBB0_3:
	orr	w8, w8, #0x30
	b	LBB0_6
LBB0_4:
	orr	w8, w8, #0x20
	b	LBB0_6
LBB0_5:
	orr	w8, w8, #0x10
LBB0_6:
	orr	w9, w8, #0x4000
	orr	w10, w8, #0x2000
	ldp	w11, w12, [x0, #8]
	cmp	w11, #132
	csel	w8, w8, w10, ne
	cmp	w11, #131
	csel	w8, w9, w8, eq
	cmp	w12, #128
	cset	w9, eq
	orr	w8, w8, w9
	orr	w9, w8, #0x8
	orr	w10, w8, #0xc
	orr	w11, w8, #0x4
	ldp	w12, w13, [x0, #16]
	cmp	w12, #140
	csel	w8, w8, w11, ne
	cmp	w12, #138
	csel	w8, w10, w8, eq
	cmp	w12, #137
	csel	w8, w9, w8, eq
	orr	w9, w8, #0xc00
	orr	w10, w8, #0x800
	orr	w11, w8, #0x400
	cmp	w13, #136
	csel	w8, w8, w11, ne
	cmp	w13, #135
	csel	w8, w10, w8, eq
	cmp	w13, #134
	csel	w0, w9, w8, eq
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_compute_tps
.subsections_via_symbols
