	.file	"extr_fireworks_transaction.c_efw_response.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	efw_response, @function
efw_response:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbx, QWORD PTR 96[rsp]
	mov	eax, DWORD PTR RCODE_TYPE_ERROR[rip]
	mov	r15, QWORD PTR 88[rsp]
	mov	DWORD PTR [rsp], eax
	cmp	rbx, 3
	jbe	.L12
	mov	rax, QWORD PTR 80[rsp]
	cmp	QWORD PTR MEMORY_SPACE_EFW_RESPONSE[rip], rax
	je	.L4
	mov	edx, DWORD PTR RCODE_ADDRESS_ERROR[rip]
	mov	DWORD PTR [rsp], edx
.L3:
	mov	rsi, r12
	mov	rdi, rbp
	call	fw_send_response@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR [r15]
	mov	r14d, r8d
	mov	r13d, r9d
	call	be32_to_cpu@PLT
	mov	rcx, QWORD PTR SND_EFW_TRANSACTION_USER_SEQNUM_MAX[rip]
	lea	rdx, 1[rcx]
	cmp	rdx, rax
	jl	.L14
	mov	r9, rsp
.L10:
	mov	r8, rbx
	mov	rcx, r15
	mov	edx, r14d
	mov	esi, r13d
	mov	rdi, rbp
	call	handle_resp_for_user@PLT
.L9:
	mov	edx, DWORD PTR [rsp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, DWORD PTR RCODE_DATA_ERROR[rip]
	mov	DWORD PTR [rsp], edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edx, r14d
	mov	r8, rbx
	mov	rcx, r15
	push	rax
	.cfi_def_cfa_offset 96
	mov	esi, r13d
	mov	rdi, rbp
	lea	r9, 16[rsp]
	call	handle_resp_for_kernel@PLT
	cmp	QWORD PTR snd_efw_resp_buf_debug[rip], 0
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	je	.L9
	lea	r9, 4[rsp]
	jmp	.L10
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	efw_response, .-efw_response
	.comm	snd_efw_resp_buf_debug,8,8
	.comm	SND_EFW_TRANSACTION_USER_SEQNUM_MAX,8,8
	.comm	RCODE_TYPE_ERROR,4,4
	.comm	RCODE_DATA_ERROR,4,4
	.comm	RCODE_ADDRESS_ERROR,4,4
	.comm	MEMORY_SPACE_EFW_RESPONSE,8,8
	.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_fireworks_transaction.c_efw_response.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	efw_response, %function
efw_response:
	@ args = 28, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L15
	sub	sp, sp, #36
	ldr	r6, [sp, #76]
	ldr	r3, [r3]
	ldr	r2, .L15+4
	cmp	r6, #3
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	mov	r4, r0
	mov	r5, r1
	ldr	r7, [sp, #72]
	str	r3, [sp, #20]
	bls	.L12
	add	r1, sp, #64
	ldmia	r1, {r0-r1}
	ldr	r3, .L15+8
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	beq	.L4
	ldr	r3, .L15+12
	ldr	r2, [r3]
	str	r2, [sp, #20]
.L3:
	mov	r1, r5
	mov	r0, r4
	bl	fw_send_response
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	ldr	r0, [r7]
	bl	be32_to_cpu
	ldr	r3, .L15+16
	ldr	r3, [r3]
	add	r3, r3, #1
	cmp	r3, r0
	blt	.L14
	add	r2, sp, #20
.L10:
	str	r2, [sp, #4]
	mov	r3, r7
	mov	r0, r4
	ldr	r2, [sp, #56]
	ldr	r1, [sp, #60]
	str	r6, [sp]
	bl	handle_resp_for_user
.L9:
	ldr	r2, [sp, #20]
	b	.L3
.L12:
	ldr	r3, .L15+20
	ldr	r2, [r3]
	str	r2, [sp, #20]
	b	.L3
.L14:
	add	r3, sp, #20
	str	r0, [sp, #8]
	str	r3, [sp, #4]
	mov	r0, r4
	mov	r3, r7
	ldr	r2, [sp, #56]
	ldr	r1, [sp, #60]
	str	r6, [sp]
	bl	handle_resp_for_kernel
	ldr	r3, .L15+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	add	r2, sp, #24
	b	.L10
.L13:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	RCODE_TYPE_ERROR
	.word	.LC0
	.word	MEMORY_SPACE_EFW_RESPONSE
	.word	RCODE_ADDRESS_ERROR
	.word	SND_EFW_TRANSACTION_USER_SEQNUM_MAX
	.word	RCODE_DATA_ERROR
	.word	snd_efw_resp_buf_debug
	.size	efw_response, .-efw_response
	.comm	snd_efw_resp_buf_debug,4,4
	.comm	SND_EFW_TRANSACTION_USER_SEQNUM_MAX,4,4
	.comm	RCODE_TYPE_ERROR,4,4
	.comm	RCODE_DATA_ERROR,4,4
	.comm	RCODE_ADDRESS_ERROR,4,4
	.comm	MEMORY_SPACE_EFW_RESPONSE,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
