	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_g723_init                 ## -- Begin function solo_g723_init
	.p2align	4, 0x90
_solo_g723_init:                        ## @solo_g723_init
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	addq	$32, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	24(%r15), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movq	(%r15), %rdi
	addq	$4, %rdi
	movq	_SNDRV_DEFAULT_IDX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	16(%r15), %r9
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	callq	_snd_card_new
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movq	16(%r15), %r14
	movq	(%r14), %rdi
	movq	_SOLO6X10_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_strscpy
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$8, %edx
	callq	_strscpy
	movslq	24(%r14), %rbx
	movq	8(%r14), %r12
	movq	(%r15), %rdi
	callq	_pci_name
	movq	(%r15), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	_SNDRV_DEV_LOWLEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	_solo_g723_init.ops(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_snd_device_new
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movq	16(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$8, %edx
	callq	_strscpy
	movl	8(%r15), %eax
	movl	%eax, -88(%rbp)
	leaq	-88(%rbp), %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movq	%r15, %rdi
	callq	_solo_snd_pcm_init
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_snd_card_register
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_solo_g723_config
	movq	(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-80(%rbp), %rdx
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_snd_card_free
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_solo_g723_init.ops,4,2 ## @solo_g723_init.ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Softlogic%d"

	.comm	_SNDRV_DEFAULT_IDX1,4,2         ## @SNDRV_DEFAULT_IDX1
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_SOLO6X10_NAME,8,3              ## @SOLO6X10_NAME
L_.str.1:                               ## @.str.1
	.asciz	"SOLO-6x10 Audio"

L_.str.2:                               ## @.str.2
	.asciz	"%s on %s IRQ %d"

	.comm	_SNDRV_DEV_LOWLEVEL,4,2         ## @SNDRV_DEV_LOWLEVEL
L_.str.3:                               ## @.str.3
	.asciz	"SOLO-6x10"

	.comm	_snd_solo_capture_volume,4,2    ## @snd_solo_capture_volume
L_.str.4:                               ## @.str.4
	.asciz	"Alsa sound card as %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_g723_init                 ; -- Begin function solo_g723_init
	.p2align	2
_solo_g723_init:                        ; @solo_g723_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, x0, #32
	mov	w1, #0
	bl	_atomic_set
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #40
	bl	_sprintf
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _SNDRV_DEFAULT_IDX1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SNDRV_DEFAULT_IDX1@GOTPAGEOFF]
	add	x0, x8, #4
Lloh7:
	ldr	w1, [x9]
Lloh8:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x5, x19, #16
	add	x2, sp, #40
	mov	w4, #0
	bl	_snd_card_new
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	x20, [x19, #16]
	ldr	x0, [x20]
Lloh11:
	adrp	x8, _SOLO6X10_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SOLO6X10_NAME@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	mov	w2, #8
	bl	_strscpy
	ldr	x0, [x20, #8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #8
	bl	_strscpy
	ldrsw	x21, [x20, #24]
	ldr	x22, [x20, #8]
	ldr	x0, [x19]
	bl	_pci_name
	ldr	x8, [x19]
	ldr	w8, [x8]
	stp	x0, x8, [sp, #8]
	str	x22, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_sprintf
Lloh18:
	adrp	x8, _SNDRV_DEV_LOWLEVEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SNDRV_DEV_LOWLEVEL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x3, _solo_g723_init.ops@PAGE
Lloh22:
	add	x3, x3, _solo_g723_init.ops@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_snd_device_new
	tbnz	w0, #31, LBB0_7
; %bb.2:
	ldr	x0, [x20, #16]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #8
	bl	_strscpy
	ldr	w8, [x19, #8]
	str	w8, [sp, #32]
	add	x0, sp, #32
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_solo_snd_pcm_init
	tbnz	w0, #31, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_snd_card_register
	tbnz	w0, #31, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_solo_g723_config
	ldr	x8, [x19]
	add	x0, x8, #4
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #40
	bl	_dev_info
	mov	w21, #0
	b	LBB0_8
LBB0_6:
	mov	x21, x0
	b	LBB0_8
LBB0_7:
	mov	x21, x0
	mov	x0, x20
	bl	_snd_card_free
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_solo_g723_init.ops,4,2 ; @solo_g723_init.ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Softlogic%d"

	.comm	_SNDRV_DEFAULT_IDX1,4,2         ; @SNDRV_DEFAULT_IDX1
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_SOLO6X10_NAME,8,3              ; @SOLO6X10_NAME
l_.str.1:                               ; @.str.1
	.asciz	"SOLO-6x10 Audio"

l_.str.2:                               ; @.str.2
	.asciz	"%s on %s IRQ %d"

	.comm	_SNDRV_DEV_LOWLEVEL,4,2         ; @SNDRV_DEV_LOWLEVEL
l_.str.3:                               ; @.str.3
	.asciz	"SOLO-6x10"

	.comm	_snd_solo_capture_volume,4,2    ; @snd_solo_capture_volume
l_.str.4:                               ; @.str.4
	.asciz	"Alsa sound card as %s\n"

.subsections_via_symbols
