	.file	"extr_motu-transaction.c_snd_motu_transaction_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_motu_transaction_write
	.type	snd_motu_transaction_write, @function
snd_motu_transaction_write:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10, rdx
	test	cl, 3
	jne	.L7
	test	rcx, rcx
	je	.L7
	cmp	rcx, 4
	mov	r11d, DWORD PTR TCODE_WRITE_QUADLET_REQUEST[rip]
	mov	edi, DWORD PTR [rdi]
	mov	r8, rcx
	cmovne	r11d, DWORD PTR TCODE_WRITE_BLOCK_REQUEST[rip]
	mov	rdx, QWORD PTR SND_MOTU_ADDR_BASE[rip]
	xor	r9d, r9d
	mov	rcx, r10
	add	rdx, rsi
	mov	esi, r11d
	jmp	snd_fw_transaction@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	snd_motu_transaction_write, .-snd_motu_transaction_write
	.comm	TCODE_WRITE_QUADLET_REQUEST,4,4
	.comm	TCODE_WRITE_BLOCK_REQUEST,4,4
	.comm	SND_MOTU_ADDR_BASE,8,8
	.comm	EINVAL,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_motu-transaction.c_snd_motu_transaction_write.c"
	.text
	.align	2
	.global	snd_motu_transaction_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_motu_transaction_write, %function
snd_motu_transaction_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r3
	ands	r3, r3, #3
	movne	r3, #1
	cmp	ip, #0
	push	{r4, lr}
	movne	lr, r3
	moveq	lr, #1
	cmp	lr, #0
	sub	sp, sp, #8
	beq	.L2
	ldr	r3, .L8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L2:
	mov	lr, r1
	mov	r4, #0
	cmp	ip, #4
	ldreq	r3, .L8+4
	ldrne	r3, .L8+8
	ldr	r1, [r3]
	ldr	r3, .L8+12
	str	ip, [sp]
	ldr	ip, [r3]
	ldr	r0, [r0]
	mov	r3, r2
	str	r4, [sp, #4]
	add	r2, lr, ip
	bl	snd_fw_transaction
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	EINVAL
	.word	TCODE_WRITE_QUADLET_REQUEST
	.word	TCODE_WRITE_BLOCK_REQUEST
	.word	SND_MOTU_ADDR_BASE
	.size	snd_motu_transaction_write, .-snd_motu_transaction_write
	.comm	TCODE_WRITE_QUADLET_REQUEST,4,4
	.comm	TCODE_WRITE_BLOCK_REQUEST,4,4
	.comm	SND_MOTU_ADDR_BASE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
