	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function control_rx_s_carrier_window
_control_rx_s_carrier_window:           ## @control_rx_s_carrier_window
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	shll	$4, %ebx
	movl	(%rdx), %r12d
	movl	%ebx, %edi
	movl	$19, %esi
	callq	_DIV_ROUND_CLOSEST
	xorl	%esi, %esi
	cmpl	%eax, %r12d
	adcl	$19, %esi
	movq	_CNTRL_WIN_3_3@GOTPCREL(%rip), %r14
	movq	%r14, %rcx
	cmpl	%eax, %r12d
	jae	LBB0_2
## %bb.1:
	movq	_CNTRL_WIN_3_4@GOTPCREL(%rip), %rcx
LBB0_2:
	movl	(%rcx), %r12d
	movl	%ebx, %edi
	callq	_DIV_ROUND_CLOSEST
	movl	%eax, (%r13)
	movl	(%r15), %r13d
	movl	%ebx, %edi
	movl	$13, %esi
	callq	_DIV_ROUND_CLOSEST
	xorl	%esi, %esi
	cmpl	%eax, %r13d
	seta	%sil
	jbe	LBB0_4
## %bb.3:
	movq	_CNTRL_WIN_4_3@GOTPCREL(%rip), %r14
LBB0_4:
	xorl	$13, %esi
	orl	(%r14), %r12d
	movl	%ebx, %edi
	callq	_DIV_ROUND_CLOSEST
	movl	%eax, (%r15)
	movq	_CX23888_IR_CNTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CNTRL_WIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cx23888_ir_and_or4             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CNTRL_WIN_3_4,4,2              ## @CNTRL_WIN_3_4
	.comm	_CNTRL_WIN_3_3,4,2              ## @CNTRL_WIN_3_3
	.comm	_CNTRL_WIN_4_3,4,2              ## @CNTRL_WIN_4_3
	.comm	_CX23888_IR_CNTRL_REG,4,2       ## @CX23888_IR_CNTRL_REG
	.comm	_CNTRL_WIN,4,2                  ## @CNTRL_WIN
	.no_dead_strip	_control_rx_s_carrier_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function control_rx_s_carrier_window
_control_rx_s_carrier_window:           ; @control_rx_s_carrier_window
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	lsl	w22, w1, #4
	ldr	w23, [x2]
	mov	w24, #19
	mov	x0, x22
	mov	w1, #19
	bl	_DIV_ROUND_CLOSEST
	cmp	w23, w0
	cinc	w1, w24, lo
Lloh0:
	adrp	x8, _CNTRL_WIN_3_4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNTRL_WIN_3_4@GOTPAGEOFF]
Lloh2:
	adrp	x23, _CNTRL_WIN_3_3@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CNTRL_WIN_3_3@GOTPAGEOFF]
	csel	x8, x8, x23, lo
	ldr	w24, [x8]
	mov	x0, x22
	bl	_DIV_ROUND_CLOSEST
	str	w0, [x20]
	ldr	w20, [x19]
	mov	x0, x22
	mov	w1, #13
	bl	_DIV_ROUND_CLOSEST
	cmp	w20, w0
	mov	w8, #12
	cinc	w1, w8, ls
Lloh4:
	adrp	x8, _CNTRL_WIN_4_3@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CNTRL_WIN_4_3@GOTPAGEOFF]
	csel	x8, x8, x23, hi
	ldr	w20, [x8]
	mov	x0, x22
	bl	_DIV_ROUND_CLOSEST
	orr	w3, w20, w24
	str	w0, [x19]
Lloh6:
	adrp	x8, _CX23888_IR_CNTRL_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CX23888_IR_CNTRL_REG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _CNTRL_WIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CNTRL_WIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cx23888_ir_and_or4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CNTRL_WIN_3_4,4,2              ; @CNTRL_WIN_3_4
	.comm	_CNTRL_WIN_3_3,4,2              ; @CNTRL_WIN_3_3
	.comm	_CNTRL_WIN_4_3,4,2              ; @CNTRL_WIN_4_3
	.comm	_CX23888_IR_CNTRL_REG,4,2       ; @CX23888_IR_CNTRL_REG
	.comm	_CNTRL_WIN,4,2                  ; @CNTRL_WIN
	.no_dead_strip	_control_rx_s_carrier_window
.subsections_via_symbols
