	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_afe_set_mode           ## -- Begin function cx231xx_afe_set_mode
	.p2align	4, 0x90
_cx231xx_afe_set_mode:                  ## @cx231xx_afe_set_mode
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	cmpl	$132, %esi
	je	LBB0_3
## %bb.1:
	xorl	%r15d, %r15d
	cmpl	$129, %ebx
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_cx231xx_Setup_AFE_for_LowIF
LBB0_4:
	cmpl	%ebx, (%r14)
	jne	LBB0_5
	jmp	LBB0_7
LBB0_3:
	movq	%r14, %rdi
	callq	_cx231xx_afe_setup_AFE_for_baseband
	movl	%eax, %r15d
	cmpl	%ebx, (%r14)
	je	LBB0_7
LBB0_5:
	movq	8(%r14), %rsi
	movq	_CX231XX_VMUX_TELEVISION@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_cx231xx_afe_adjust_ref_count
	movl	%eax, %r15d
LBB0_7:
	movl	%ebx, (%r14)
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CX231XX_VMUX_TELEVISION,8,3    ## @CX231XX_VMUX_TELEVISION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_afe_set_mode           ; -- Begin function cx231xx_afe_set_mode
	.p2align	2
_cx231xx_afe_set_mode:                  ; @cx231xx_afe_set_mode
	.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, x1
	mov	x20, x0
	cmp	w1, #132
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #129
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_cx231xx_Setup_AFE_for_LowIF
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_cx231xx_afe_setup_AFE_for_baseband
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, w19
	b.eq	LBB0_8
; %bb.6:
	ldr	x1, [x20, #8]
Lloh0:
	adrp	x8, _CX231XX_VMUX_TELEVISION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX231XX_VMUX_TELEVISION@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_cx231xx_afe_adjust_ref_count
LBB0_8:
	str	w19, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CX231XX_VMUX_TELEVISION,8,3    ; @CX231XX_VMUX_TELEVISION
.subsections_via_symbols
