	.file	"extr_tascam-transaction.c_calculate_message_bytes.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	calculate_message_bytes, @function
calculate_message_bytes:
.LFB0:
	.cfi_startproc
	endbr64
	lea	eax, -240[rdi]
	cmp	eax, 15
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L12-.L4
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L5-.L4
	.long	.L5-.L4
	.long	.L11-.L4
	.long	.L5-.L4
	.long	.L11-.L4
	.long	.L5-.L4
	.long	.L11-.L4
	.long	.L11-.L4
	.long	.L11-.L4
	.long	.L5-.L4
	.long	.L11-.L4
	.long	.L11-.L4
	.text
.L2:
	and	edi, 240
	cmp	edi, 192
	je	.L12
	jg	.L9
	cmp	edi, 160
	jg	.L10
	cmp	edi, 127
	jle	.L5
	movabs	rax, 4295032833
	add	edi, -128
	bt	rax, rdi
	jnc	.L5
.L13:
	mov	eax, 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, 2
	cmp	edi, 208
	je	.L1
	mov	eax, 3
	cmp	edi, 224
	je	.L1
.L5:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, 2
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, 3
	cmp	edi, 176
	jne	.L5
	ret
	.cfi_endproc
.LFE0:
	.size	calculate_message_bytes, .-calculate_message_bytes
	.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_tascam-transaction.c_calculate_message_bytes.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculate_message_bytes, %function
calculate_message_bytes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	r3, r0, #240
	cmp	r3, #15
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L16
	.word	.L17
	.word	.L16
	.word	.L5
	.word	.L5
	.word	.L11
	.word	.L5
	.word	.L11
	.word	.L5
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L5
	.word	.L11
	.word	.L11
.L11:
	mov	r0, #1
	bx	lr
.L2:
	and	r3, r0, #240
	cmp	r3, #192
	beq	.L16
	bgt	.L9
	cmp	r3, #160
	beq	.L17
	bgt	.L10
	and	r0, r0, #224
	cmp	r0, #128
	beq	.L17
.L5:
	ldr	r3, .L20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L9:
	cmp	r3, #208
	bne	.L19
.L16:
	mov	r0, #2
	bx	lr
.L10:
	cmp	r3, #176
	bne	.L5
.L17:
	mov	r0, #3
	bx	lr
.L8:
	mov	r0, #0
	bx	lr
.L19:
	cmp	r3, #224
	bne	.L5
	b	.L17
.L21:
	.align	2
.L20:
	.word	EINVAL
	.size	calculate_message_bytes, .-calculate_message_bytes
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
