	.file	"extr_trident_main.c_snd_trident_write_eso_reg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_trident_write_eso_reg, @function
snd_trident_write_eso_reg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [rsi], edx
	mov	esi, DWORD PTR T4D_LFO_GC_CIR[rip]
	call	TRID_REG@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rsi, rax
	call	outb@PLT
	mov	rax, QWORD PTR TRIDENT_DEVICE_ID_NX[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L2
	mov	esi, DWORD PTR CH_DX_ESO_DELTA[rip]
	mov	rdi, rbp
	call	TRID_REG@PLT
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rsi, 2[rax]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	outw@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR CH_NX_DELTA_ESO[rip]
	mov	rdi, rbp
	call	TRID_REG@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, rax
	mov	eax, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	sal	edi, 16
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	and	edi, -16777216
	and	eax, 16777215
	or	edi, eax
	jmp	outl@PLT
	.cfi_endproc
.LFE0:
	.size	snd_trident_write_eso_reg, .-snd_trident_write_eso_reg
	.comm	TRIDENT_DEVICE_ID_NX,8,8
	.comm	T4D_LFO_GC_CIR,4,4
	.comm	CH_NX_DELTA_ESO,4,4
	.comm	CH_DX_ESO_DELTA,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_trident_main.c_snd_trident_write_eso_reg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_trident_write_eso_reg, %function
snd_trident_write_eso_reg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, r5, r6, lr}
	str	r2, [r1]
	ldr	r6, [r1, #8]
	mov	r4, r1
	ldr	r1, [r3]
	mov	r5, r0
	bl	TRID_REG
	mov	r1, r0
	mov	r0, r6
	bl	outb
	ldr	r3, .L5+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L5+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r4, [r4]
	bl	TRID_REG
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	add	r1, r1, #2
	b	outw
.L2:
	ldr	r1, .L5+12
	ldm	r4, {r2, r3}
	lsl	r4, r3, #16
	mov	r0, r5
	ldr	r1, [r1]
	bic	r3, r2, #-16777216
	and	r4, r4, #-16777216
	orr	r4, r4, r3
	bl	TRID_REG
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	outl
.L6:
	.align	2
.L5:
	.word	T4D_LFO_GC_CIR
	.word	TRIDENT_DEVICE_ID_NX
	.word	CH_DX_ESO_DELTA
	.word	CH_NX_DELTA_ESO
	.size	snd_trident_write_eso_reg, .-snd_trident_write_eso_reg
	.comm	TRIDENT_DEVICE_ID_NX,4,4
	.comm	T4D_LFO_GC_CIR,4,4
	.comm	CH_NX_DELTA_ESO,4,4
	.comm	CH_DX_ESO_DELTA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
