	.file	"extr_hpi6205.c__HPI_6205.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" %d,%d dsp crashed.\n"
.LC1:
	.string	"start of switch\n"
	.text
	.p2align 4
	.type	_HPI_6205, @function
_HPI_6205:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	rdx, QWORD PTR [rsi]
	test	rdi, rdi
	je	.L2
	cmp	DWORD PTR [rdi], 9
	jg	.L17
.L2:
	cmp	QWORD PTR HPI_SUBSYS_CREATE_ADAPTER[rip], rdx
	je	.L3
	mov	eax, DWORD PTR HPI_ERROR_PROCESSING_MESSAGE[rip]
	mov	DWORD PTR [r12], eax
.L3:
	mov	edi, DWORD PTR VERBOSE[rip]
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	HPI_DEBUG_LOG@PLT
	cmp	DWORD PTR 8[rbp], 128
	je	.L18
	mov	eax, DWORD PTR HPI_ERROR_INVALID_TYPE[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	DWORD PTR [r12], eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmp	QWORD PTR HPI_ADAPTER_DEBUG_READ[rip], rdx
	je	.L2
	mov	esi, DWORD PTR 12[rsi]
	mov	ecx, DWORD PTR HPI_ERROR_DSP_HARDWARE[rip]
	mov	rdi, r12
	call	hpi_init_response@PLT
	mov	edx, DWORD PTR 12[rbp]
	mov	rcx, QWORD PTR 0[rbp]
	xor	eax, eax
	mov	edi, DWORD PTR WARNING[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rsi, .LC0[rip]
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	HPI_DEBUG_LOG@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	eax, DWORD PTR 12[rbp]
	sub	eax, 129
	cmp	eax, 4
	ja	.L5
	lea	rdx, .L7[rip]
	mov	rsi, rbp
	mov	rdi, r13
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	mov	rdx, r12
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L11-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L8-.L7
	.long	.L6-.L7
	.text
	.p2align 4,,10
	.p2align 3
.L8:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	control_message@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	instream_message@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	outstream_message@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	subsys_message@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	adapter_message@PLT
.L5:
	.cfi_restore_state
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	hw_message@PLT
	.cfi_endproc
.LFE0:
	.size	_HPI_6205, .-_HPI_6205
	.comm	WARNING,4,4
	.comm	VERBOSE,4,4
	.comm	HPI_SUBSYS_CREATE_ADAPTER,8,8
	.comm	HPI_ERROR_PROCESSING_MESSAGE,4,4
	.comm	HPI_ERROR_INVALID_TYPE,4,4
	.comm	HPI_ERROR_DSP_HARDWARE,4,4
	.comm	HPI_ADAPTER_DEBUG_READ,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_hpi6205.c__HPI_6205.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" %d,%d dsp crashed.\012\000"
	.align	2
.LC1:
	.ascii	"start of switch\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_HPI_6205, %function
_HPI_6205:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r6, r0, #0
	mov	r5, r2
	mov	r4, r1
	ldr	r2, [r1]
	beq	.L2
	ldr	r3, [r6]
	cmp	r3, #9
	bgt	.L17
.L2:
	ldr	r3, .L19
	ldr	r1, .L19+4
	ldr	r3, [r3]
	cmp	r3, r2
	ldrne	r3, .L19+8
	ldrne	r3, [r3]
	strne	r3, [r5]
	ldr	r3, .L19+12
	ldr	r0, [r3]
	bl	HPI_DEBUG_LOG
	ldr	r3, [r4, #4]
	cmp	r3, #128
	beq	.L18
	ldr	r3, .L19+16
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r3, .L19+20
	ldr	r3, [r3]
	cmp	r3, r2
	beq	.L2
	ldr	r3, .L19+24
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, [r1, #8]
	bl	hpi_init_response
	ldr	r2, .L19+28
	ldr	r3, [r4]
	ldr	r0, [r2]
	ldr	r1, .L19+32
	ldr	r2, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	HPI_DEBUG_LOG
.L18:
	ldr	r3, [r4, #8]
	mov	r2, r5
	sub	r3, r3, #129
	mov	r1, r4
	mov	r0, r6
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L6
.L6:
	pop	{r4, r5, r6, lr}
	b	adapter_message
.L8:
	pop	{r4, r5, r6, lr}
	b	control_message
.L9:
	pop	{r4, r5, r6, lr}
	b	instream_message
.L10:
	pop	{r4, r5, r6, lr}
	b	outstream_message
.L11:
	pop	{r4, r5, r6, lr}
	b	subsys_message
.L5:
	pop	{r4, r5, r6, lr}
	b	hw_message
.L20:
	.align	2
.L19:
	.word	HPI_SUBSYS_CREATE_ADAPTER
	.word	.LC1
	.word	HPI_ERROR_PROCESSING_MESSAGE
	.word	VERBOSE
	.word	HPI_ERROR_INVALID_TYPE
	.word	HPI_ADAPTER_DEBUG_READ
	.word	HPI_ERROR_DSP_HARDWARE
	.word	WARNING
	.word	.LC0
	.size	_HPI_6205, .-_HPI_6205
	.comm	WARNING,4,4
	.comm	VERBOSE,4,4
	.comm	HPI_SUBSYS_CREATE_ADAPTER,4,4
	.comm	HPI_ERROR_PROCESSING_MESSAGE,4,4
	.comm	HPI_ERROR_INVALID_TYPE,4,4
	.comm	HPI_ERROR_DSP_HARDWARE,4,4
	.comm	HPI_ADAPTER_DEBUG_READ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
