	.file	"extr_sati_log_sense.c_sati_translate_sense_values.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sati_translate_sense_values, @function
sati_translate_sense_values:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, DWORD PTR SCSI_DIAGNOSTIC_FAILURE_ON_COMPONENT[rip]
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	mov	edx, 21
	call	sati_set_data_byte@PLT
	cmp	ebx, 8
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rbx*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L2-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, DWORD PTR SCSI_SENSE_HARDWARE_ERROR[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 136
.L13:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, 22
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	sati_set_data_byte@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	ecx, DWORD PTR SCSI_SENSE_ABORTED_COMMAND[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 129
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	mov	ecx, DWORD PTR SCSI_SENSE_ABORTED_COMMAND[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 130
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	mov	ecx, DWORD PTR SCSI_SENSE_ABORTED_COMMAND[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 131
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L8:
	mov	ecx, DWORD PTR SCSI_SENSE_HARDWARE_ERROR[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 132
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L7:
	mov	ecx, DWORD PTR SCSI_SENSE_HARDWARE_ERROR[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 133
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L6:
	mov	ecx, DWORD PTR SCSI_SENSE_HARDWARE_ERROR[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 134
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ecx, DWORD PTR SCSI_SENSE_MEDIUM_ERROR[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	ecx, 135
	jmp	.L13
.L2:
	mov	ecx, DWORD PTR SCSI_SENSE_NO_SENSE[rip]
	mov	edx, 20
	mov	rsi, r12
	mov	rdi, rbp
	call	sati_set_data_byte@PLT
	mov	edx, 21
	mov	rsi, r12
	mov	rdi, rbp
	mov	ecx, DWORD PTR SCSI_ASC_NO_ADDITIONAL_SENSE[rip]
	call	sati_set_data_byte@PLT
	xor	ecx, ecx
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	sati_translate_sense_values, .-sati_translate_sense_values
	.comm	SCSI_SENSE_NO_SENSE,4,4
	.comm	SCSI_SENSE_MEDIUM_ERROR,4,4
	.comm	SCSI_SENSE_HARDWARE_ERROR,4,4
	.comm	SCSI_SENSE_ABORTED_COMMAND,4,4
	.comm	SCSI_DIAGNOSTIC_FAILURE_ON_COMPONENT,4,4
	.comm	SCSI_ASC_NO_ADDITIONAL_SENSE,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_sati_log_sense.c_sati_translate_sense_values.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sati_translate_sense_values, %function
sati_translate_sense_values:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	ldr	r3, .L14
	mov	r2, #21
	ldr	r3, [r3]
	mov	r5, r0
	mov	r6, r1
	bl	sati_set_data_byte
	sub	r2, r4, #1
	cmp	r2, #7
	ldrls	pc, [pc, r2, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L14+4
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #136
	mov	r2, #22
	b	sati_set_data_byte
.L11:
	ldr	r3, .L14+8
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #129
	mov	r2, #22
	b	sati_set_data_byte
.L10:
	ldr	r3, .L14+8
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #130
	mov	r2, #22
	b	sati_set_data_byte
.L9:
	ldr	r3, .L14+8
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #131
	mov	r2, #22
	b	sati_set_data_byte
.L8:
	ldr	r3, .L14+4
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #132
	mov	r2, #22
	b	sati_set_data_byte
.L7:
	ldr	r3, .L14+4
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #133
	mov	r2, #22
	b	sati_set_data_byte
.L6:
	ldr	r3, .L14+4
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #134
	mov	r2, #22
	b	sati_set_data_byte
.L5:
	ldr	r3, .L14+12
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #135
	mov	r2, #22
	b	sati_set_data_byte
.L2:
	ldr	r3, .L14+16
	mov	r1, r6
	mov	r2, #20
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	ldr	r3, .L14+20
	mov	r1, r6
	mov	r2, #21
	mov	r0, r5
	ldr	r3, [r3]
	bl	sati_set_data_byte
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r3, #0
	mov	r2, #22
	b	sati_set_data_byte
.L15:
	.align	2
.L14:
	.word	SCSI_DIAGNOSTIC_FAILURE_ON_COMPONENT
	.word	SCSI_SENSE_HARDWARE_ERROR
	.word	SCSI_SENSE_ABORTED_COMMAND
	.word	SCSI_SENSE_MEDIUM_ERROR
	.word	SCSI_SENSE_NO_SENSE
	.word	SCSI_ASC_NO_ADDITIONAL_SENSE
	.size	sati_translate_sense_values, .-sati_translate_sense_values
	.comm	SCSI_SENSE_NO_SENSE,4,4
	.comm	SCSI_SENSE_MEDIUM_ERROR,4,4
	.comm	SCSI_SENSE_HARDWARE_ERROR,4,4
	.comm	SCSI_SENSE_ABORTED_COMMAND,4,4
	.comm	SCSI_DIAGNOSTIC_FAILURE_ON_COMPONENT,4,4
	.comm	SCSI_ASC_NO_ADDITIONAL_SENSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
