	.file	"extr_m68kopac.c_m68k_op_asl_8_s.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	m68k_op_asl_8_s
	.type	m68k_op_asl_8_s, @function
m68k_op_asl_8_s:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ebx, DWORD PTR REG_IR[rip]
	mov	edi, DWORD PTR DY[rip]
	call	MASK_OUT_ABOVE_8@PLT
	sar	ebx, 9
	sub	ebx, 1
	mov	r13d, eax
	mov	ebp, eax
	and	ebx, 7
	add	ebx, 1
	mov	ecx, ebx
	sal	r13d, cl
	mov	edi, r13d
	call	MASK_OUT_ABOVE_8@PLT
	mov	edi, DWORD PTR DY[rip]
	mov	r12d, eax
	call	MASK_OUT_BELOW_8@PLT
	mov	edi, r12d
	mov	DWORD PTR FLAG_C[rip], r13d
	or	eax, r12d
	mov	DWORD PTR FLAG_X[rip], r13d
	mov	DWORD PTR DY[rip], eax
	call	NFLAG_8@PLT
	movsx	rdx, ebx
	mov	DWORD PTR FLAG_Z[rip], r12d
	mov	DWORD PTR FLAG_N[rip], eax
	mov	rax, QWORD PTR m68ki_shift_8_table[rip]
	mov	eax, DWORD PTR 4[rax+rdx*4]
	and	ebp, eax
	je	.L2
	cmp	eax, ebp
	jne	.L5
	xor	ebp, ebp
	cmp	ebx, 8
	jne	.L2
.L5:
	mov	ebp, 128
.L2:
	mov	DWORD PTR FLAG_V[rip], ebp
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	m68k_op_asl_8_s, .-m68k_op_asl_8_s
	.comm	m68ki_shift_8_table,8,8
	.comm	REG_IR,4,4
	.comm	FLAG_Z,4,4
	.comm	FLAG_X,4,4
	.comm	FLAG_V,4,4
	.comm	FLAG_N,4,4
	.comm	FLAG_C,4,4
	.comm	DY,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_m68kopac.c_m68k_op_asl_8_s.c"
	.text
	.align	2
	.global	m68k_op_asl_8_s
	.syntax unified
	.arm
	.fpu softvfp
	.type	m68k_op_asl_8_s, %function
m68k_op_asl_8_s:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L9
	ldr	r3, .L9+4
	ldr	r0, [r8]
	ldr	r4, [r3]
	bl	MASK_OUT_ABOVE_8
	asr	r4, r4, #9
	sub	r4, r4, #1
	and	r4, r4, #7
	add	r9, r4, #1
	lsl	r7, r0, r9
	mov	r5, r0
	mov	r0, r7
	bl	MASK_OUT_ABOVE_8
	mov	r6, r0
	ldr	r0, [r8]
	bl	MASK_OUT_BELOW_8
	ldr	r2, .L9+8
	ldr	r3, .L9+12
	orr	r0, r0, r6
	str	r0, [r8]
	mov	r0, r6
	str	r7, [r2]
	str	r7, [r3]
	bl	NFLAG_8
	ldr	r3, .L9+16
	ldr	r1, .L9+20
	ldr	r2, .L9+24
	ldr	r3, [r3]
	add	r4, r4, #2
	str	r6, [r1]
	str	r0, [r2]
	ldr	r0, [r3, r4, lsl #2]
	ands	r5, r0, r5
	beq	.L2
	sub	r9, r9, #8
	clz	r9, r9
	lsr	r9, r9, #5
	cmp	r0, r5
	moveq	r5, r9
	orrne	r5, r9, #1
	lsl	r5, r5, #7
.L2:
	ldr	r3, .L9+28
	str	r5, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	DY
	.word	REG_IR
	.word	FLAG_C
	.word	FLAG_X
	.word	m68ki_shift_8_table
	.word	FLAG_Z
	.word	FLAG_N
	.word	FLAG_V
	.size	m68k_op_asl_8_s, .-m68k_op_asl_8_s
	.comm	m68ki_shift_8_table,4,4
	.comm	REG_IR,4,4
	.comm	FLAG_Z,4,4
	.comm	FLAG_X,4,4
	.comm	FLAG_V,4,4
	.comm	FLAG_N,4,4
	.comm	FLAG_C,4,4
	.comm	DY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
