	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt2032_set_tv_freq
_mt2032_set_tv_freq:                    ## @mt2032_set_tv_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi), %eax
	movl	$38900000, %eax                 ## imm = 0x2519120
	movl	$45750000, %ecx                 ## imm = 0x2BA16F0
	cmovel	%eax, %ecx
	movl	$32900000, %eax                 ## imm = 0x1F603A0
	movl	$40750000, %r8d                 ## imm = 0x26DCBB0
	cmovel	%eax, %r8d
	movl	$39900000, %eax                 ## imm = 0x260D360
	movl	$46750000, %r9d                 ## imm = 0x2C95930
	cmovel	%eax, %r9d
	imull	$62500, 4(%rsi), %esi           ## imm = 0xF424
	movl	$1090000000, %edx               ## imm = 0x40F81480
	callq	_mt2032_set_if_freq
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.no_dead_strip	_mt2032_set_tv_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt2032_set_tv_freq
_mt2032_set_tv_freq:                    ; @mt2032_set_tv_freq
	.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
Lloh0:
	adrp	x8, _V4L2_STD_525_60@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x1]
	tst	w8, w9
	mov	w8, #5872
	movk	w8, #698, lsl #16
	mov	w9, #37152
	movk	w9, #593, lsl #16
	csel	w3, w9, w8, eq
	mov	w8, #52144
	movk	w8, #621, lsl #16
	mov	w9, #928
	movk	w9, #502, lsl #16
	csel	w4, w9, w8, eq
	mov	w8, #22832
	movk	w8, #713, lsl #16
	mov	w9, #54112
	movk	w9, #608, lsl #16
	csel	w5, w9, w8, eq
	mov	w8, #62500
	mul	w1, w10, w8
	mov	w2, #5248
	movk	w2, #16632, lsl #16
	bl	_mt2032_set_if_freq
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.no_dead_strip	_mt2032_set_tv_freq
.subsections_via_symbols
