	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0900_set_dvbs2_rolloff
_stv0900_set_dvbs2_rolloff:             ## @stv0900_set_dvbs2_rolloff
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$16, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MANUALSX_ROLLOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_stv0900_write_bits
	movq	_MATSTR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stv0900_read_reg
	movl	%eax, %edx
	andl	$3, %edx
	movq	_ROLLOFF_CONTROL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	cmpl	$33, %eax
	jge	LBB0_3
## %bb.4:
	movq	_MANUALSX_ROLLOFF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_MANUALS2_ROLLOFF@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%edx, %edx
LBB0_6:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_stv0900_write_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MANUALSX_ROLLOFF,4,2           ## @MANUALSX_ROLLOFF
	.comm	_MATSTR1,4,2                    ## @MATSTR1
	.comm	_ROLLOFF_CONTROL,4,2            ## @ROLLOFF_CONTROL
	.comm	_MANUALS2_ROLLOFF,4,2           ## @MANUALS2_ROLLOFF
	.no_dead_strip	_stv0900_set_dvbs2_rolloff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0900_set_dvbs2_rolloff
_stv0900_set_dvbs2_rolloff:             ; @stv0900_set_dvbs2_rolloff
	.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, #16
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MANUALSX_ROLLOFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MANUALSX_ROLLOFF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_stv0900_write_bits
Lloh3:
	adrp	x8, _MATSTR1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MATSTR1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stv0900_read_reg
	and	w2, w0, #0x3
Lloh6:
	adrp	x8, _ROLLOFF_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROLLOFF_CONTROL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	w2, #0
Lloh8:
	adrp	x9, _MANUALS2_ROLLOFF@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MANUALS2_ROLLOFF@GOTPAGEOFF]
Lloh10:
	adrp	x10, _MANUALSX_ROLLOFF@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MANUALSX_ROLLOFF@GOTPAGEOFF]
	cmp	w8, #33
	csel	x8, x10, x9, lt
LBB0_3:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_stv0900_write_bits
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MANUALSX_ROLLOFF,4,2           ; @MANUALSX_ROLLOFF
	.comm	_MATSTR1,4,2                    ; @MATSTR1
	.comm	_ROLLOFF_CONTROL,4,2            ; @ROLLOFF_CONTROL
	.comm	_MANUALS2_ROLLOFF,4,2           ; @MANUALS2_ROLLOFF
	.no_dead_strip	_stv0900_set_dvbs2_rolloff
.subsections_via_symbols
