	.file	"extr_au88x0_core.c_vortex_connect_default.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vortex_connect_default, @function
vortex_connect_default:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXOUT[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	esi, DWORD PTR 8[rdi]
	mov	edx, r12d
	mov	rbp, rdi
	mov	r13, QWORD PTR 24[rdi]
	call	vortex_adb_checkinout@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	edx, r12d
	mov	QWORD PTR 0[r13], rax
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXOUT[rip]
	mov	r13, QWORD PTR 24[rbp]
	call	vortex_adb_checkinout@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[r13], rax
	call	VORTEX_IS_QUAD@PLT
	test	rax, rax
	jne	.L8
.L2:
	mov	rdx, QWORD PTR 24[rbp]
	mov	esi, r12d
	mov	rdi, rbp
	call	vortex_connect_codecplay@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	r13, QWORD PTR 16[rbp]
	mov	edx, r12d
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXIN[rip]
	mov	rdi, rbp
	call	vortex_adb_checkinout@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	edx, r12d
	mov	rdi, rbp
	mov	QWORD PTR 0[r13], rax
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXIN[rip]
	mov	r13, QWORD PTR 16[rbp]
	call	vortex_adb_checkinout@PLT
	mov	edi, 1
	mov	QWORD PTR 8[r13], rax
	call	MIX_CAPT@PLT
	xor	edi, edi
	mov	r13d, eax
	call	MIX_CAPT@PLT
	mov	ecx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	vortex_connect_codecrec@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	r13, QWORD PTR 0[rbp]
	mov	edx, r12d
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXOUT[rip]
	mov	rdi, rbp
	call	vortex_adb_checkinout@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	edx, r12d
	mov	rdi, rbp
	mov	QWORD PTR 0[r13], rax
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXOUT[rip]
	mov	r13, QWORD PTR 0[rbp]
	call	vortex_adb_checkinout@PLT
	xor	edi, edi
	mov	QWORD PTR 8[r13], rax
	call	ADB_SPDIFOUT@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	esi, r12d
	mov	rdi, rbp
	mov	r8d, eax
	mov	rcx, QWORD PTR [rdx]
	mov	edx, 20
	call	vortex_connection_mix_adb@PLT
	mov	edi, 1
	call	ADB_SPDIFOUT@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, 20
	mov	r8d, eax
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR 8[rax]
	call	vortex_connection_mix_adb@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	vortex_wt_connect@PLT
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	vortex_Vort3D_connect@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rbp]
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXOUT[rip]
	mov	edx, r12d
	mov	rdi, rbp
	mov	r13, QWORD PTR 24[rbp]
	call	vortex_adb_checkinout@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	edx, r12d
	mov	rdi, rbp
	mov	QWORD PTR 16[r13], rax
	mov	ecx, DWORD PTR VORTEX_RESOURCE_MIXOUT[rip]
	mov	r13, QWORD PTR 24[rbp]
	call	vortex_adb_checkinout@PLT
	mov	QWORD PTR 24[r13], rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	vortex_connect_default, .-vortex_connect_default
	.comm	VORTEX_RESOURCE_MIXOUT,4,4
	.comm	VORTEX_RESOURCE_MIXIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_au88x0_core.c_vortex_connect_default.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vortex_connect_default, %function
vortex_connect_default:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L9
	mov	r2, r1
	sub	sp, sp, #8
	mov	r5, r1
	ldr	r3, [r6]
	ldr	r1, [r0, #4]
	mov	r4, r0
	ldr	r7, [r0, #12]
	bl	vortex_adb_checkinout
	mov	r2, r5
	str	r0, [r7]
	ldr	r1, [r4, #4]
	ldr	r3, [r6]
	mov	r0, r4
	ldr	r7, [r4, #12]
	bl	vortex_adb_checkinout
	mov	r3, r0
	mov	r0, r4
	str	r3, [r7, #4]
	bl	VORTEX_IS_QUAD
	cmp	r0, #0
	bne	.L8
.L2:
	ldr	r7, .L9+4
	mov	r1, r5
	ldr	r2, [r4, #12]
	mov	r0, r4
	bl	vortex_connect_codecplay
	mov	r2, r5
	ldr	r3, [r7]
	ldr	r1, [r4, #4]
	mov	r0, r4
	ldr	r8, [r4, #8]
	bl	vortex_adb_checkinout
	mov	r2, r5
	ldr	r1, [r4, #4]
	ldr	r3, [r7]
	str	r0, [r8]
	mov	r0, r4
	ldr	r7, [r4, #8]
	bl	vortex_adb_checkinout
	mov	r3, r0
	mov	r0, #0
	str	r3, [r7, #4]
	bl	MIX_CAPT
	mov	r7, r0
	mov	r0, #1
	bl	MIX_CAPT
	mov	r2, r7
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	bl	vortex_connect_codecrec
	mov	r2, r5
	ldr	r3, [r6]
	ldr	r1, [r4, #4]
	mov	r0, r4
	ldr	r7, [r4]
	bl	vortex_adb_checkinout
	mov	r2, r5
	ldr	r3, [r6]
	ldr	r1, [r4, #4]
	str	r0, [r7]
	mov	r0, r4
	ldr	r6, [r4]
	bl	vortex_adb_checkinout
	str	r0, [r6, #4]
	ldr	r3, [r4]
	mov	r0, #0
	ldr	r6, [r3]
	bl	ADB_SPDIFOUT
	mov	r1, r5
	mov	r3, r6
	mov	r2, #20
	str	r0, [sp]
	mov	r0, r4
	bl	vortex_connection_mix_adb
	ldr	r3, [r4]
	mov	r0, #1
	ldr	r6, [r3, #4]
	bl	ADB_SPDIFOUT
	mov	r3, r6
	mov	r2, #20
	mov	r1, r5
	str	r0, [sp]
	mov	r0, r4
	bl	vortex_connection_mix_adb
	mov	r1, r5
	mov	r0, r4
	bl	vortex_wt_connect
	mov	r1, r5
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	vortex_Vort3D_connect
.L8:
	mov	r2, r5
	ldr	r3, [r6]
	ldr	r1, [r4, #4]
	mov	r0, r4
	ldr	r7, [r4, #12]
	bl	vortex_adb_checkinout
	mov	r2, r5
	str	r0, [r7, #8]
	ldr	r3, [r6]
	mov	r0, r4
	ldr	r1, [r4, #4]
	ldr	r7, [r4, #12]
	bl	vortex_adb_checkinout
	str	r0, [r7, #12]
	b	.L2
.L10:
	.align	2
.L9:
	.word	VORTEX_RESOURCE_MIXOUT
	.word	VORTEX_RESOURCE_MIXIN
	.size	vortex_connect_default, .-vortex_connect_default
	.comm	VORTEX_RESOURCE_MIXOUT,4,4
	.comm	VORTEX_RESOURCE_MIXIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
