	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0297_set_qam
_stv0297_set_qam:                       ## @stv0297_set_qam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	addl	$-128, %esi
	cmpl	$5, %esi
	jae	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.stv0297_set_qam(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$112, %edx
	callq	_stv0297_writereg_mask
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stv0297_set_qam
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.stv0297_set_qam
l_switch.table.stv0297_set_qam:
	.long	64                              ## 0x40
	.long	16                              ## 0x10
	.long	48                              ## 0x30
	.long	0                               ## 0x0
	.long	32                              ## 0x20

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0297_set_qam
_stv0297_set_qam:                       ; @stv0297_set_qam
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #128
	cmp	w8, #5
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.stv0297_set_qam@PAGE
Lloh1:
	add	x9, x9, l_switch.table.stv0297_set_qam@PAGEOFF
	ldr	w3, [x9, w8, sxtw #2]
	mov	w1, #0
	mov	w2, #112
	bl	_stv0297_writereg_mask
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stv0297_set_qam
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.stv0297_set_qam
l_switch.table.stv0297_set_qam:
	.long	64                              ; 0x40
	.long	16                              ; 0x10
	.long	48                              ; 0x30
	.long	0                               ; 0x0
	.long	32                              ; 0x20

.subsections_via_symbols
