	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_Get_Colibri_CarrierOffset ## -- Begin function cx231xx_Get_Colibri_CarrierOffset
	.p2align	4, 0x90
_cx231xx_Get_Colibri_CarrierOffset:     ## @cx231xx_Get_Colibri_CarrierOffset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TUNER_MODE_FM_RADIO@GOTPCREL(%rip), %rcx
	movl	$1100000, %eax                  ## imm = 0x10C8E0
	cmpq	%rdi, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_V4L2_STD_MN@GOTPCREL(%rip), %rax
	movq	_V4L2_STD_NTSC_M_JP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movl	$4832000, %eax                  ## imm = 0x49BB00
	testq	%rsi, %rcx
	je	LBB0_2
LBB0_4:
	popq	%rbp
	retq
LBB0_2:
	movq	_V4L2_STD_PAL_B@GOTPCREL(%rip), %rax
	movq	_V4L2_STD_PAL_G@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movl	$2700000, %eax                  ## imm = 0x2932E0
	testq	%rsi, %rcx
	jne	LBB0_4
## %bb.3:
	movq	_V4L2_STD_PAL_D@GOTPCREL(%rip), %rax
	movq	_V4L2_STD_PAL_I@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	andq	%rsi, %rcx
	movl	$2100000, %eax                  ## imm = 0x200B20
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNER_MODE_FM_RADIO,8,3        ## @TUNER_MODE_FM_RADIO
	.comm	_V4L2_STD_MN,8,3                ## @V4L2_STD_MN
	.comm	_V4L2_STD_NTSC_M_JP,8,3         ## @V4L2_STD_NTSC_M_JP
	.comm	_V4L2_STD_PAL_B,8,3             ## @V4L2_STD_PAL_B
	.comm	_V4L2_STD_PAL_G,8,3             ## @V4L2_STD_PAL_G
	.comm	_V4L2_STD_PAL_D,8,3             ## @V4L2_STD_PAL_D
	.comm	_V4L2_STD_PAL_I,8,3             ## @V4L2_STD_PAL_I
	.comm	_V4L2_STD_SECAM,8,3             ## @V4L2_STD_SECAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_Get_Colibri_CarrierOffset ; -- Begin function cx231xx_Get_Colibri_CarrierOffset
	.p2align	2
_cx231xx_Get_Colibri_CarrierOffset:     ; @cx231xx_Get_Colibri_CarrierOffset
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TUNER_MODE_FM_RADIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TUNER_MODE_FM_RADIO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #51424
	movk	w0, #16, lsl #16
	ret
LBB0_2:
Lloh3:
	adrp	x8, _V4L2_STD_MN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_STD_MN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _V4L2_STD_NTSC_M_JP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_STD_NTSC_M_JP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x8, x9, x8
	tst	x8, x1
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #47872
	movk	w0, #73, lsl #16
	ret
LBB0_4:
Lloh9:
	adrp	x8, _V4L2_STD_PAL_B@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_STD_PAL_B@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _V4L2_STD_PAL_G@GOTPAGE
Lloh13:
	ldr	x9, [x9, _V4L2_STD_PAL_G@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	orr	x8, x9, x8
	tst	x8, x1
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #13024
	movk	w0, #41, lsl #16
	ret
LBB0_6:
Lloh15:
	adrp	x8, _V4L2_STD_PAL_D@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_STD_PAL_D@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _V4L2_STD_PAL_I@GOTPAGE
Lloh19:
	ldr	x9, [x9, _V4L2_STD_PAL_I@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _V4L2_STD_SECAM@GOTPAGE
Lloh22:
	ldr	x10, [x10, _V4L2_STD_SECAM@GOTPAGEOFF]
	orr	x8, x9, x8
Lloh23:
	ldr	x9, [x10]
	orr	x8, x8, x9
	tst	x8, x1
	mov	w8, #2848
	movk	w8, #32, lsl #16
	csel	x0, xzr, x8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNER_MODE_FM_RADIO,8,3        ; @TUNER_MODE_FM_RADIO
	.comm	_V4L2_STD_MN,8,3                ; @V4L2_STD_MN
	.comm	_V4L2_STD_NTSC_M_JP,8,3         ; @V4L2_STD_NTSC_M_JP
	.comm	_V4L2_STD_PAL_B,8,3             ; @V4L2_STD_PAL_B
	.comm	_V4L2_STD_PAL_G,8,3             ; @V4L2_STD_PAL_G
	.comm	_V4L2_STD_PAL_D,8,3             ; @V4L2_STD_PAL_D
	.comm	_V4L2_STD_PAL_I,8,3             ; @V4L2_STD_PAL_I
	.comm	_V4L2_STD_SECAM,8,3             ; @V4L2_STD_SECAM
.subsections_via_symbols
