	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv090x_set_viterbi
_stv090x_set_viterbi:                   ## @stv090x_set_viterbi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	cmpl	$129, %eax
	je	LBB0_15
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_26
## %bb.3:
	movq	_FECM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_STV090x_WRITE_DEMOD
	testl	%eax, %eax
	js	LBB0_25
## %bb.4:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$63, %edx
	jmp	LBB0_23
LBB0_5:
	movq	_FECM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_STV090x_WRITE_DEMOD
	testl	%eax, %eax
	js	LBB0_25
## %bb.6:
	movl	$-131, %eax
	addl	4(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$32, %edx
	jmp	LBB0_9
LBB0_15:
	movq	_FECM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_STV090x_WRITE_DEMOD
	testl	%eax, %eax
	js	LBB0_25
## %bb.16:
	movl	4(%rbx), %eax
	cmpl	$132, %eax
	je	LBB0_21
## %bb.17:
	cmpl	$135, %eax
	je	LBB0_20
## %bb.18:
	cmpl	$136, %eax
	jne	LBB0_22
## %bb.19:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	jmp	LBB0_23
LBB0_21:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16, %edx
	jmp	LBB0_23
LBB0_20:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	jmp	LBB0_23
LBB0_22:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$19, %edx
LBB0_23:
	callq	_STV090x_WRITE_DEMOD
	testl	%eax, %eax
	jns	LBB0_26
LBB0_25:
	movq	_FE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movl	$-1, %r14d
LBB0_26:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$47, %edx
	jmp	LBB0_9
LBB0_12:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	jmp	LBB0_9
LBB0_11:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	jmp	LBB0_9
LBB0_10:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	jmp	LBB0_9
LBB0_8:
	movq	_PRVIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
LBB0_9:
	callq	_STV090x_WRITE_DEMOD
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jns	LBB0_26
	jmp	LBB0_25
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_FECM,4,2                       ## @FECM
	.comm	_PRVIT,4,2                      ## @PRVIT
	.comm	_FE_ERROR,4,2                   ## @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_set_viterbi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv090x_set_viterbi
_stv090x_set_viterbi:                   ; @stv090x_set_viterbi
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_14
; %bb.3:
Lloh0:
	adrp	x8, _FECM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FECM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16
	bl	_STV090x_WRITE_DEMOD
	tbnz	w0, #31, LBB0_16
; %bb.4:
Lloh3:
	adrp	x8, _PRVIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #63
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
	b	LBB0_16
LBB0_5:
Lloh6:
	adrp	x8, _FECM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FECM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_STV090x_WRITE_DEMOD
	tbnz	w0, #31, LBB0_16
; %bb.6:
	ldr	w8, [x19, #4]
	sub	w8, w8, #131
	cmp	w8, #5
	b.hi	LBB0_20
; %bb.7:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh11:
	adrp	x8, _PRVIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #32
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
	b	LBB0_16
LBB0_9:
Lloh14:
	adrp	x8, _FECM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FECM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #128
	bl	_STV090x_WRITE_DEMOD
	tbnz	w0, #31, LBB0_16
; %bb.10:
	ldr	w8, [x19, #4]
	cmp	w8, #132
	b.eq	LBB0_18
; %bb.11:
	cmp	w8, #135
	b.eq	LBB0_15
; %bb.12:
	cmp	w8, #136
	b.ne	LBB0_19
LBB0_13:
Lloh17:
	adrp	x8, _PRVIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_STV090x_WRITE_DEMOD
	tbnz	w0, #31, LBB0_16
LBB0_14:
	mov	w0, #0
	b	LBB0_17
LBB0_15:
Lloh20:
	adrp	x8, _PRVIT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
LBB0_16:
Lloh23:
	adrp	x8, _FE_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FE_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x2, l_.str@PAGE
Lloh27:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	w0, #-1
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh28:
	adrp	x8, _PRVIT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
	b	LBB0_16
LBB0_19:
Lloh31:
	adrp	x8, _PRVIT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #19
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
	b	LBB0_16
LBB0_20:
Lloh34:
	adrp	x8, _PRVIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #47
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
	b	LBB0_16
LBB0_21:
Lloh37:
	adrp	x8, _PRVIT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
	b	LBB0_16
LBB0_22:
Lloh40:
	adrp	x8, _PRVIT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PRVIT@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_STV090x_WRITE_DEMOD
	tbz	w0, #31, LBB0_14
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_20-LBB0_8)>>2
	.byte	(LBB0_21-LBB0_8)>>2
	.byte	(LBB0_22-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
                                        ; -- End function
	.comm	_FECM,4,2                       ; @FECM
	.comm	_PRVIT,4,2                      ; @PRVIT
	.comm	_FE_ERROR,4,2                   ; @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_set_viterbi
.subsections_via_symbols
