	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solo_g723_config
_solo_g723_config:                      ## @solo_g723_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	imull	$1000000, (%rdi), %eax          ## imm = 0xF4240
	movq	_SAMPLERATE@GOTPCREL(%rip), %rcx
	movq	_BITRATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	(%rcx), %ecx
	imull	%edi, %ecx
	shll	$2, %ecx
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	movq	_SOLO_AUDIO_SAMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_SOLO_AUDIO_BITRATE
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_SOLO_AUDIO_CLK_DIV
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_AUDIO_FDMA_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$1, %edi
	callq	_SOLO_AUDIO_FDMA_INTERVAL
	movl	%eax, %ebx
	movq	_G723_INTR_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SOLO_AUDIO_INTR_ORDER
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_SOLO_G723_EXT_ADDR
	sarl	$16, %eax
	movl	%eax, %edi
	callq	_SOLO_AUDIO_FDMA_BASE
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_AUDIO_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SOLO_AUDIO_ENABLE@GOTPCREL(%rip), %rax
	movq	_SOLO_AUDIO_I2S_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movl	$3, %edi
	callq	_SOLO_AUDIO_I2S_MULTI
	orl	%eax, %ebx
	movq	_OUTMODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SOLO_AUDIO_MODE
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_solo_reg_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SAMPLERATE,4,2                 ## @SAMPLERATE
	.comm	_BITRATE,4,2                    ## @BITRATE
	.comm	_SOLO_AUDIO_SAMPLE,4,2          ## @SOLO_AUDIO_SAMPLE
	.comm	_SOLO_AUDIO_FDMA_INTR,4,2       ## @SOLO_AUDIO_FDMA_INTR
	.comm	_G723_INTR_ORDER,4,2            ## @G723_INTR_ORDER
	.comm	_SOLO_AUDIO_CONTROL,4,2         ## @SOLO_AUDIO_CONTROL
	.comm	_SOLO_AUDIO_ENABLE,4,2          ## @SOLO_AUDIO_ENABLE
	.comm	_SOLO_AUDIO_I2S_MODE,4,2        ## @SOLO_AUDIO_I2S_MODE
	.comm	_OUTMODE_MASK,4,2               ## @OUTMODE_MASK
	.no_dead_strip	_solo_g723_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solo_g723_config
_solo_g723_config:                      ; @solo_g723_config
	.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
	ldr	w8, [x0]
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mul	w8, w8, w9
Lloh0:
	adrp	x9, _SAMPLERATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SAMPLERATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _BITRATE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BITRATE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x10]
	mul	w9, w9, w0
	lsl	w9, w9, #2
	sdiv	w20, w8, w9
Lloh6:
	adrp	x8, _SOLO_AUDIO_SAMPLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOLO_AUDIO_SAMPLE@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	bl	_SOLO_AUDIO_BITRATE
	mov	x22, x0
	mov	x0, x20
	bl	_SOLO_AUDIO_CLK_DIV
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	bl	_solo_reg_write
Lloh9:
	adrp	x8, _SOLO_AUDIO_FDMA_INTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOLO_AUDIO_FDMA_INTR@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	w0, #1
	bl	_SOLO_AUDIO_FDMA_INTERVAL
	mov	x21, x0
Lloh12:
	adrp	x8, _G723_INTR_ORDER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _G723_INTR_ORDER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_SOLO_AUDIO_INTR_ORDER
	orr	w21, w0, w21
	mov	x0, x19
	bl	_SOLO_G723_EXT_ADDR
	asr	w0, w0, #16
	bl	_SOLO_AUDIO_FDMA_BASE
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
Lloh15:
	adrp	x8, _SOLO_AUDIO_CONTROL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SOLO_AUDIO_CONTROL@GOTPAGEOFF]
Lloh17:
	adrp	x9, _SOLO_AUDIO_ENABLE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SOLO_AUDIO_ENABLE@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
Lloh20:
	ldr	w8, [x9]
Lloh21:
	adrp	x9, _SOLO_AUDIO_I2S_MODE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SOLO_AUDIO_I2S_MODE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w21, w9, w8
	mov	w0, #3
	bl	_SOLO_AUDIO_I2S_MULTI
	orr	w21, w21, w0
Lloh24:
	adrp	x8, _OUTMODE_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OUTMODE_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_SOLO_AUDIO_MODE
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	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	_solo_reg_write
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SAMPLERATE,4,2                 ; @SAMPLERATE
	.comm	_BITRATE,4,2                    ; @BITRATE
	.comm	_SOLO_AUDIO_SAMPLE,4,2          ; @SOLO_AUDIO_SAMPLE
	.comm	_SOLO_AUDIO_FDMA_INTR,4,2       ; @SOLO_AUDIO_FDMA_INTR
	.comm	_G723_INTR_ORDER,4,2            ; @G723_INTR_ORDER
	.comm	_SOLO_AUDIO_CONTROL,4,2         ; @SOLO_AUDIO_CONTROL
	.comm	_SOLO_AUDIO_ENABLE,4,2          ; @SOLO_AUDIO_ENABLE
	.comm	_SOLO_AUDIO_I2S_MODE,4,2        ; @SOLO_AUDIO_I2S_MODE
	.comm	_OUTMODE_MASK,4,2               ; @OUTMODE_MASK
	.no_dead_strip	_solo_g723_config
.subsections_via_symbols
