	.file	"extr_xonar_wm87x6.c_xonar_ds_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Headphone"
.LC1:
	.string	"WM8776"
.LC2:
	.string	"WM8766"
	.text
	.p2align 4
	.type	xonar_ds_init, @function
xonar_ds_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR GPIO_DS_OUTPUT_ENABLE[rip]
	mov	DWORD PTR 4[r12], 300
	mov	DWORD PTR 8[r12], eax
	call	wm8776_init@PLT
	mov	rdi, rbx
	call	wm8766_init@PLT
	mov	esi, DWORD PTR OXYGEN_GPIO_CONTROL[rip]
	mov	rdi, rbx
	mov	edx, DWORD PTR GPIO_DS_INPUT_ROUTE[rip]
	or	edx, DWORD PTR GPIO_DS_OUTPUT_FRONTLR[rip]
	call	oxygen_set_bits16@PLT
	mov	edx, DWORD PTR GPIO_DS_HP_DETECT[rip]
	mov	esi, DWORD PTR OXYGEN_GPIO_CONTROL[rip]
	mov	rdi, rbx
	call	oxygen_clear_bits16@PLT
	mov	edx, DWORD PTR GPIO_DS_INPUT_ROUTE[rip]
	mov	esi, DWORD PTR OXYGEN_GPIO_DATA[rip]
	mov	rdi, rbx
	call	oxygen_set_bits16@PLT
	mov	edx, DWORD PTR GPIO_DS_HP_DETECT[rip]
	mov	esi, DWORD PTR OXYGEN_GPIO_INTERRUPT_MASK[rip]
	mov	rdi, rbx
	call	oxygen_set_bits16@PLT
	mov	eax, DWORD PTR OXYGEN_INT_GPIO[rip]
	or	DWORD PTR 4[rbx], eax
	mov	rdi, rbx
	call	xonar_enable_output@PLT
	mov	edx, DWORD PTR SND_JACK_HEADPHONE[rip]
	mov	edi, DWORD PTR [rbx]
	mov	rcx, r12
	xor	r9d, r9d
	xor	r8d, r8d
	lea	rsi, .LC0[rip]
	call	snd_jack_new@PLT
	mov	rdi, rbx
	call	xonar_ds_handle_hp_jack@PLT
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	snd_component_add@PLT
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rsi, .LC2[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	snd_component_add@PLT
	.cfi_endproc
.LFE0:
	.size	xonar_ds_init, .-xonar_ds_init
	.comm	SND_JACK_HEADPHONE,4,4
	.comm	OXYGEN_INT_GPIO,4,4
	.comm	OXYGEN_GPIO_INTERRUPT_MASK,4,4
	.comm	OXYGEN_GPIO_DATA,4,4
	.comm	OXYGEN_GPIO_CONTROL,4,4
	.comm	GPIO_DS_OUTPUT_FRONTLR,4,4
	.comm	GPIO_DS_OUTPUT_ENABLE,4,4
	.comm	GPIO_DS_INPUT_ROUTE,4,4
	.comm	GPIO_DS_HP_DETECT,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_xonar_wm87x6.c_xonar_ds_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Headphone\000"
	.align	2
.LC1:
	.ascii	"WM8776\000"
	.align	2
.LC2:
	.ascii	"WM8766\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xonar_ds_init, %function
xonar_ds_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #300
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L4
	ldr	r5, [r0, #8]
	ldr	r3, [r3]
	sub	sp, sp, #8
	stmib	r5, {r2, r3}
	bl	wm8776_init
	mov	r0, r4
	bl	wm8766_init
	ldr	r7, .L4+4
	ldr	r3, .L4+8
	ldr	r2, [r7]
	ldr	r3, [r3]
	ldr	r8, .L4+12
	ldr	r6, .L4+16
	orr	r2, r2, r3
	ldr	r1, [r8]
	mov	r0, r4
	bl	oxygen_set_bits16
	ldr	r1, [r8]
	ldr	r2, [r6]
	mov	r0, r4
	bl	oxygen_clear_bits16
	ldr	r3, .L4+20
	ldr	r2, [r7]
	ldr	r1, [r3]
	mov	r0, r4
	bl	oxygen_set_bits16
	ldr	r3, .L4+24
	ldr	r2, [r6]
	ldr	r1, [r3]
	mov	r0, r4
	bl	oxygen_set_bits16
	ldr	r2, .L4+28
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	mov	r0, r4
	orr	r3, r3, r2
	str	r3, [r4, #4]
	bl	xonar_enable_output
	mov	r2, #0
	ldr	r1, .L4+32
	ldr	r0, [r4]
	str	r2, [sp, #4]
	str	r2, [sp]
	ldr	r2, [r1]
	mov	r3, r5
	ldr	r1, .L4+36
	bl	snd_jack_new
	mov	r0, r4
	bl	xonar_ds_handle_hp_jack
	ldr	r0, [r4]
	ldr	r1, .L4+40
	bl	snd_component_add
	ldr	r0, [r4]
	ldr	r1, .L4+44
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	snd_component_add
.L5:
	.align	2
.L4:
	.word	GPIO_DS_OUTPUT_ENABLE
	.word	GPIO_DS_INPUT_ROUTE
	.word	GPIO_DS_OUTPUT_FRONTLR
	.word	OXYGEN_GPIO_CONTROL
	.word	GPIO_DS_HP_DETECT
	.word	OXYGEN_GPIO_DATA
	.word	OXYGEN_GPIO_INTERRUPT_MASK
	.word	OXYGEN_INT_GPIO
	.word	SND_JACK_HEADPHONE
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	xonar_ds_init, .-xonar_ds_init
	.comm	SND_JACK_HEADPHONE,4,4
	.comm	OXYGEN_INT_GPIO,4,4
	.comm	OXYGEN_GPIO_INTERRUPT_MASK,4,4
	.comm	OXYGEN_GPIO_DATA,4,4
	.comm	OXYGEN_GPIO_CONTROL,4,4
	.comm	GPIO_DS_OUTPUT_FRONTLR,4,4
	.comm	GPIO_DS_OUTPUT_ENABLE,4,4
	.comm	GPIO_DS_INPUT_ROUTE,4,4
	.comm	GPIO_DS_HP_DETECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
