	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simple_set_dvb
_simple_set_dvb:                        ## @simple_set_dvb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %r9
	movq	(%rdi), %rsi
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %r10
	movslq	(%r10,%rax,4), %rax
	addq	%r10, %rax
	jmpq	*%rax
LBB0_8:
	movq	_dtv_input@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rsi), %rcx
	movl	(%rax,%rcx,4), %eax
	xorl	%ecx, %ecx
	cmpl	$133, %edx
	sete	%cl
	testl	%eax, %eax
	cmovnel	%eax, %ecx
	leaq	8(%r9), %rsi
	addq	$12, %r9
	movq	%r9, %rdx
	popq	%rbp
	jmp	_simple_set_rf_input            ## TAILCALL
LBB0_2:
	cmpl	$158870000, %ecx                ## imm = 0x97829F0
	jl	LBB0_7
## %bb.3:
	cmpl	$8000000, %r8d                  ## imm = 0x7A1200
	jne	LBB0_7
## %bb.4:
	orb	$8, 12(%r9)
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	cmpl	$444000000, %ecx                ## imm = 0x1A76E700
	setge	%al
	cmpl	$161000000, %ecx                ## imm = 0x998AA40
	leal	2(%rax,%rax), %eax
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	orl	12(%r9), %ecx
	movl	%ecx, 12(%r9)
	cmpl	$8000000, %r8d                  ## imm = 0x7A1200
	jne	LBB0_7
## %bb.6:
	orl	$8, %ecx
	movl	%ecx, 12(%r9)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_dtv_input,8,3                  ## @dtv_input
	.no_dead_strip	_simple_set_dvb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simple_set_dvb
_simple_set_dvb:                        ; @simple_set_dvb
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	sub	w9, w9, #128
	cmp	w9, #4
	b.hi	LBB0_8
; %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:
Lloh2:
	adrp	x9, _dtv_input@GOTPAGE
Lloh3:
	ldr	x9, [x9, _dtv_input@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x8, [x8, #8]
	ldr	w8, [x9, x8, lsl #2]
	cmp	w2, #133
	cset	w9, eq
	cmp	w8, #0
	csel	w3, w9, w8, eq
	add	x8, x1, #8
	add	x2, x1, #12
	mov	x1, x8
	b	_simple_set_rf_input
LBB0_3:
	mov	w8, #10736
	movk	w8, #2424, lsl #16
	cmp	w3, w8
	b.lt	LBB0_8
; %bb.4:
	mov	w8, #4608
	movk	w8, #122, lsl #16
	cmp	w4, w8
	b.ne	LBB0_8
; %bb.5:
	ldr	w8, [x1, #12]
	b	LBB0_7
LBB0_6:
	mov	w8, #59136
	movk	w8, #6774, lsl #16
	mov	w9, #4
	mov	w10, #2
	cmp	w3, w8
	csel	w8, w10, w9, lt
	mov	w9, #43584
	movk	w9, #2456, lsl #16
	cmp	w3, w9
	csinc	w8, w8, wzr, ge
	ldr	w9, [x1, #12]
	orr	w8, w9, w8
	str	w8, [x1, #12]
	mov	w9, #4608
	movk	w9, #122, lsl #16
	cmp	w4, w9
	b.ne	LBB0_8
LBB0_7:
	orr	w8, w8, #0x8
	str	w8, [x1, #12]
LBB0_8:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_dtv_input,8,3                  ; @dtv_input
	.no_dead_strip	_simple_set_dvb
.subsections_via_symbols
