	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ap192_set_rate_val
_ap192_set_rate_val:                    ## @ap192_set_rate_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	callq	_revo_set_rate_val
	xorl	%eax, %eax
	cmpl	$48001, %ebx                    ## imm = 0xBB81
	setae	%al
	shll	$9, %eax
	xorl	%edx, %edx
	cmpl	$96001, %ebx                    ## imm = 0x17701
	setae	%dl
	movl	$1024, %ebx                     ## imm = 0x400
	cmovbl	%eax, %ebx
	shll	$8, %edx
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snd_ice1712_gpio_write_bits
	movq	%r14, %rdi
	movl	$1536, %esi                     ## imm = 0x600
	movl	%ebx, %edx
	callq	_snd_ice1712_gpio_write_bits
	movq	%r14, %rdi
	movl	$2048, %esi                     ## imm = 0x800
	xorl	%edx, %edx
	callq	_snd_ice1712_gpio_write_bits
	movq	%r14, %rdi
	movl	$2048, %esi                     ## imm = 0x800
	movl	$2048, %edx                     ## imm = 0x800
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_ice1712_gpio_write_bits    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ap192_set_rate_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ap192_set_rate_val
_ap192_set_rate_val:                    ; @ap192_set_rate_val
	.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, x1
	mov	w8, #48000
	cmp	w1, w8
	cset	w21, hi
	ldr	x8, [x0]
	ldr	x20, [x8]
	bl	_revo_set_rate_val
	mov	w8, #30464
	movk	w8, #1, lsl #16
	cmp	w19, w8
	cset	w8, hi
	lsl	w2, w8, #8
	lsl	w8, w21, #9
	mov	w9, #1024
	csel	w19, w9, w8, hi
	mov	x0, x20
	mov	w1, #256
	bl	_snd_ice1712_gpio_write_bits
	mov	x0, x20
	mov	w1, #1536
	mov	x2, x19
	bl	_snd_ice1712_gpio_write_bits
	mov	x0, x20
	mov	w1, #2048
	mov	w2, #0
	bl	_snd_ice1712_gpio_write_bits
	mov	x0, x20
	mov	w1, #2048
	mov	w2, #2048
	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	_snd_ice1712_gpio_write_bits
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ap192_set_rate_val
.subsections_via_symbols
