	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uw2453_synth_set_channel
_uw2453_synth_set_channel:              ## @uw2453_synth_set_channel
	.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	%rdi, %r14
	movslq	%esi, %rbx
	testl	%edx, %edx
	jne	LBB0_1
## %bb.2:
	movq	_uw2453_std_synth@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_uw2453_autocal_synth@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movl	-4(%rax,%rbx,4), %esi
	movl	$1, %edi
	callq	_UW2453_REGWRITE
	movq	_RF_RV_BITS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_zd_rfwrite_locked
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	decq	%rbx
	movq	_uw2453_synth_divide@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movl	$2, %edi
	callq	_UW2453_REGWRITE
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zd_rfwrite_locked              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uw2453_autocal_synth,8,3       ## @uw2453_autocal_synth
	.comm	_uw2453_std_synth,8,3           ## @uw2453_std_synth
	.comm	_RF_RV_BITS,4,2                 ## @RF_RV_BITS
	.comm	_uw2453_synth_divide,8,3        ## @uw2453_synth_divide
	.no_dead_strip	_uw2453_synth_set_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uw2453_synth_set_channel
_uw2453_synth_set_channel:              ; @uw2453_synth_set_channel
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _uw2453_std_synth@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uw2453_std_synth@GOTPAGEOFF]
Lloh2:
	adrp	x9, _uw2453_autocal_synth@GOTPAGE
Lloh3:
	ldr	x9, [x9, _uw2453_autocal_synth@GOTPAGEOFF]
	sub	w20, w1, #1
	cmp	w2, #0
	csel	x8, x8, x9, eq
	ldr	x8, [x8]
	ldr	w1, [x8, w20, sxtw #2]
	mov	w0, #1
	bl	_UW2453_REGWRITE
	mov	x1, x0
Lloh4:
	adrp	x21, _RF_RV_BITS@GOTPAGE
Lloh5:
	ldr	x21, [x21, _RF_RV_BITS@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_zd_rfwrite_locked
	cbz	w0, LBB0_2
; %bb.1:
	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
LBB0_2:
	sxtw	x8, w20
Lloh6:
	adrp	x9, _uw2453_synth_divide@GOTPAGE
Lloh7:
	ldr	x9, [x9, _uw2453_synth_divide@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w1, [x9, x8, lsl #2]
	mov	w0, #2
	bl	_UW2453_REGWRITE
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	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
	b	_zd_rfwrite_locked
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_uw2453_autocal_synth,8,3       ; @uw2453_autocal_synth
	.comm	_uw2453_std_synth,8,3           ; @uw2453_std_synth
	.comm	_RF_RV_BITS,4,2                 ; @RF_RV_BITS
	.comm	_uw2453_synth_divide,8,3        ; @uw2453_synth_divide
	.no_dead_strip	_uw2453_synth_set_channel
.subsections_via_symbols
