	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_params
_set_params:                            ## @set_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r14
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	movl	8(%rdi), %esi
	movl	%esi, 4(%r14)
	leal	-130(%rcx), %edx
	cmpl	$2, %edx
	jb	LBB0_7
## %bb.1:
	addl	$-128, %ecx
	cmpl	$1, %ecx
	ja	LBB0_12
## %bb.2:
	cmpl	$6000000, %eax                  ## imm = 0x5B8D80
	je	LBB0_3
## %bb.4:
	cmpl	$8000000, %eax                  ## imm = 0x7A1200
	je	LBB0_13
## %bb.5:
	cmpl	$7000000, %eax                  ## imm = 0x6ACFC0
	jne	LBB0_12
## %bb.6:
	movq	_HF_DVBT_7MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	cmpl	$6000001, %eax                  ## imm = 0x5B8D81
	jge	LBB0_9
## %bb.8:
	movq	_HF_DVBC_6MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_9:
	cmpl	$7000001, %eax                  ## imm = 0x6ACFC1
	jae	LBB0_10
## %bb.11:
	movq	_HF_DVBC_7MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_3:
	movq	_HF_DVBT_6MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_HF_DVBT_8MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_HF_DVBC_8MHZ@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_RFTrackingFiltersCorrection
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:
	movl	4(%r14), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_ChannelConfiguration
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_18
## %bb.17:
	movl	(%r14), %edi
	callq	_msleep
	jmp	LBB0_18
LBB0_15:
	movl	%eax, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HF_DVBT_6MHZ,4,2               ## @HF_DVBT_6MHZ
	.comm	_HF_DVBT_7MHZ,4,2               ## @HF_DVBT_7MHZ
	.comm	_HF_DVBT_8MHZ,4,2               ## @HF_DVBT_8MHZ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HF_DVBC_6MHZ,4,2               ## @HF_DVBC_6MHZ
	.comm	_HF_DVBC_7MHZ,4,2               ## @HF_DVBC_7MHZ
	.comm	_HF_DVBC_8MHZ,4,2               ## @HF_DVBC_8MHZ
	.no_dead_strip	_set_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_params
_set_params:                            ; @set_params
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x19, [x0, #16]
	ldp	w8, w9, [x0]
	ldr	w1, [x0, #8]
	str	w1, [x19, #4]
	sub	w10, w9, #130
	cmp	w10, #2
	b.lo	LBB0_6
; %bb.1:
	sub	w9, w9, #128
	cmp	w9, #1
	b.hi	LBB0_7
; %bb.2:
	mov	w9, #36224
	movk	w9, #91, lsl #16
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.3:
	mov	w9, #4608
	movk	w9, #122, lsl #16
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.4:
	mov	w9, #53184
	movk	w9, #106, lsl #16
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
Lloh0:
	adrp	x8, _HF_DVBT_7MHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HF_DVBT_7MHZ@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh2:
	adrp	x9, _HF_DVBC_6MHZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HF_DVBC_6MHZ@GOTPAGEOFF]
Lloh4:
	adrp	x10, _HF_DVBC_8MHZ@GOTPAGE
Lloh5:
	ldr	x10, [x10, _HF_DVBC_8MHZ@GOTPAGEOFF]
Lloh6:
	adrp	x11, _HF_DVBC_7MHZ@GOTPAGE
Lloh7:
	ldr	x11, [x11, _HF_DVBC_7MHZ@GOTPAGEOFF]
	mov	w12, #36225
	movk	w12, #91, lsl #16
	mov	w13, #53185
	movk	w13, #106, lsl #16
	cmp	w8, w13
	csel	x10, x11, x10, lo
	cmp	w8, w12
	csel	x8, x9, x10, lt
	b	LBB0_10
LBB0_7:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_8:
Lloh11:
	adrp	x8, _HF_DVBT_6MHZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HF_DVBT_6MHZ@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x8, _HF_DVBT_8MHZ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HF_DVBT_8MHZ@GOTPAGEOFF]
LBB0_10:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RFTrackingFiltersCorrection
	tbnz	w0, #31, LBB0_13
; %bb.11:
	ldr	w1, [x19, #4]
	mov	x0, x19
	mov	x2, x21
	bl	_ChannelConfiguration
	mov	x20, x0
	tbnz	w0, #31, LBB0_14
; %bb.12:
	ldr	w0, [x19]
	bl	_msleep
	b	LBB0_14
LBB0_13:
	mov	x20, x0
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HF_DVBT_6MHZ,4,2               ; @HF_DVBT_6MHZ
	.comm	_HF_DVBT_7MHZ,4,2               ; @HF_DVBT_7MHZ
	.comm	_HF_DVBT_8MHZ,4,2               ; @HF_DVBT_8MHZ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HF_DVBC_6MHZ,4,2               ; @HF_DVBC_6MHZ
	.comm	_HF_DVBC_7MHZ,4,2               ; @HF_DVBC_7MHZ
	.comm	_HF_DVBC_8MHZ,4,2               ; @HF_DVBC_8MHZ
	.no_dead_strip	_set_params
.subsections_via_symbols
