	.file	"extr_opl3_lib.c_snd_opl3_timer1_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_opl3_timer1_stop, @function
snd_opl3_timer1_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	snd_timer_chip@PLT
	mov	rsi, r12
	lea	rbp, 4[rax]
	mov	rbx, rax
	mov	rdi, rbp
	call	spin_lock_irqsave@PLT
	movzx	eax, BYTE PTR OPL3_TIMER1_START[rip]
	movzx	edx, BYTE PTR [rbx]
	mov	rdi, rbx
	or	dl, BYTE PTR OPL3_TIMER1_MASK[rip]
	not	eax
	and	edx, eax
	mov	BYTE PTR [rbx], dl
	movzx	edx, dl
	mov	esi, DWORD PTR OPL3_LEFT[rip]
	or	esi, DWORD PTR OPL3_REG_TIMER_CONTROL[rip]
	call	[QWORD PTR 8[rbx]]
	mov	rsi, r12
	mov	rdi, rbp
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_opl3_timer1_stop, .-snd_opl3_timer1_stop
	.comm	OPL3_TIMER1_START,1,1
	.comm	OPL3_TIMER1_MASK,1,1
	.comm	OPL3_REG_TIMER_CONTROL,4,4
	.comm	OPL3_LEFT,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_opl3_lib.c_snd_opl3_timer1_stop.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_opl3_timer1_stop, %function
snd_opl3_timer1_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	snd_timer_chip
	mov	r6, #0
	mov	r4, r0
	add	r5, r0, #4
	mov	r1, r6
	mov	r0, r5
	bl	spin_lock_irqsave
	ldr	r1, .L4
	ldr	r3, .L4+4
	ldrb	r2, [r4]	@ zero_extendqisi2
	ldrb	r1, [r1]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r2, r2, r1
	bic	r2, r2, r3
	ldr	r1, .L4+8
	ldr	r3, .L4+12
	strb	r2, [r4]
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r3, [r4, #8]
	blx	r3
	mov	r1, r6
	mov	r0, r5
	bl	spin_unlock_irqrestore
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	OPL3_TIMER1_MASK
	.word	OPL3_TIMER1_START
	.word	OPL3_LEFT
	.word	OPL3_REG_TIMER_CONTROL
	.size	snd_opl3_timer1_stop, .-snd_opl3_timer1_stop
	.comm	OPL3_TIMER1_START,1,1
	.comm	OPL3_TIMER1_MASK,1,1
	.comm	OPL3_REG_TIMER_CONTROL,4,4
	.comm	OPL3_LEFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
