	.file	"extr_m68kops.h_m68k_op_asl_16_s.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	m68k_op_asl_16_s, @function
m68k_op_asl_16_s:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, DWORD PTR DY[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, DWORD PTR REG_IR[rip]
	sar	ebx, 9
	call	MASK_OUT_ABOVE_16@PLT
	sub	ebx, 1
	and	ebx, 7
	mov	edi, eax
	mov	ebp, eax
	add	ebx, 1
	mov	ecx, ebx
	sal	edi, cl
	call	MASK_OUT_ABOVE_16@PLT
	mov	edi, DWORD PTR CYC_SHIFT[rip]
	mov	r12d, eax
	imul	edi, ebx
	call	USE_CYCLES@PLT
	mov	edi, DWORD PTR DY[rip]
	call	MASK_OUT_BELOW_16@PLT
	mov	edi, r12d
	or	eax, r12d
	mov	DWORD PTR DY[rip], eax
	call	NFLAG_16@PLT
	mov	ecx, 8
	mov	DWORD PTR FLAG_Z[rip], r12d
	sub	ecx, ebx
	mov	DWORD PTR FLAG_N[rip], eax
	mov	eax, ebp
	movsx	rbx, ebx
	sar	eax, cl
	mov	DWORD PTR FLAG_C[rip], eax
	mov	DWORD PTR FLAG_X[rip], eax
	mov	rax, QWORD PTR m68ki_shift_16_table[rip]
	mov	edx, DWORD PTR 4[rax+rbx*4]
	pop	rbx
	.cfi_def_cfa_offset 24
	and	ebp, edx
	setne	cl
	xor	eax, eax
	cmp	edx, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	setne	al
	pop	r12
	.cfi_def_cfa_offset 8
	and	eax, ecx
	sal	eax, 7
	mov	DWORD PTR FLAG_V[rip], eax
	ret
	.cfi_endproc
.LFE0:
	.size	m68k_op_asl_16_s, .-m68k_op_asl_16_s
	.comm	m68ki_shift_16_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
	.comm	CYC_SHIFT,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_m68kops.h_m68k_op_asl_16_s.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	m68k_op_asl_16_s, %function
m68k_op_asl_16_s:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L4
	ldr	r3, .L4+4
	ldr	r0, [r8]
	ldr	r4, [r3]
	bl	MASK_OUT_ABOVE_16
	asr	r4, r4, #9
	sub	r4, r4, #1
	and	r4, r4, #7
	add	r6, r4, #1
	mov	r5, r0
	lsl	r0, r0, r6
	bl	MASK_OUT_ABOVE_16
	ldr	r3, .L4+8
	mov	r7, r0
	ldr	r0, [r3]
	add	r4, r4, #2
	mul	r0, r6, r0
	bl	USE_CYCLES
	ldr	r0, [r8]
	bl	MASK_OUT_BELOW_16
	orr	r3, r0, r7
	mov	r0, r7
	str	r3, [r8]
	bl	NFLAG_16
	ldr	r2, .L4+12
	rsb	r6, r6, #8
	str	r7, [r2]
	ldr	r2, .L4+16
	asr	r6, r5, r6
	ldr	r3, .L4+20
	str	r6, [r2]
	ldr	r1, .L4+24
	ldr	r2, .L4+28
	ldr	r3, [r3]
	str	r0, [r2]
	str	r6, [r1]
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, .L4+32
	ands	r5, r3, r5
	movne	r0, #1
	moveq	r0, #0
	cmp	r3, r5
	moveq	r5, #0
	andne	r5, r0, #1
	lsl	r5, r5, #7
	str	r5, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	DY
	.word	REG_IR
	.word	CYC_SHIFT
	.word	FLAG_Z
	.word	FLAG_C
	.word	m68ki_shift_16_table
	.word	FLAG_X
	.word	FLAG_N
	.word	FLAG_V
	.size	m68k_op_asl_16_s, .-m68k_op_asl_16_s
	.comm	m68ki_shift_16_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
	.comm	CYC_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
