	.file	"extr_m68kdasm.c_d68020_bfchg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"D%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"bfchg   %s {%s:%s}; (2+)"
	.text
	.p2align 4
	.type	d68020_bfchg, @function
d68020_bfchg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR M68020_PLUS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	LIMIT_CPU_TYPES@PLT
	xor	eax, eax
	call	read_imm_16@PLT
	mov	ebx, eax
	mov	edi, eax
	call	BIT_B@PLT
	mov	edx, ebx
	sar	edx, 6
	test	rax, rax
	je	.L2
	lea	r12, 2[rsp]
	and	edx, 7
	xor	eax, eax
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	sprintf@PLT
	mov	edi, ebx
	call	BIT_5@PLT
	test	rax, rax
	je	.L4
.L10:
	and	ebx, 7
	lea	rsi, .LC0[rip]
	xor	eax, eax
	mov	edx, ebx
	lea	rbx, 5[rsp]
	mov	rdi, rbx
	call	sprintf@PLT
.L5:
	mov	edi, DWORD PTR g_cpu_ir[rip]
	call	get_ea_mode_str_8@PLT
	movsx	rdi, DWORD PTR g_dasm_str[rip]
	mov	r8, rbx
	mov	rcx, r12
	mov	rdx, rax
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	sprintf@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	r12, 2[rsp]
	and	edx, 31
	xor	eax, eax
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	call	sprintf@PLT
	mov	edi, ebx
	call	BIT_5@PLT
	test	rax, rax
	jne	.L10
.L4:
	mov	rax, QWORD PTR g_5bit_data_table[rip]
	and	ebx, 31
	lea	rsi, .LC1[rip]
	mov	edx, DWORD PTR [rax+rbx*4]
	lea	rbx, 5[rsp]
	xor	eax, eax
	mov	rdi, rbx
	call	sprintf@PLT
	jmp	.L5
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	d68020_bfchg, .-d68020_bfchg
	.comm	g_dasm_str,4,4
	.comm	g_cpu_ir,4,4
	.comm	g_5bit_data_table,8,8
	.comm	M68020_PLUS,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_m68kdasm.c_d68020_bfchg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"D%d\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"bfchg   %s {%s:%s}; (2+)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	d68020_bfchg, %function
d68020_bfchg:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L10
	ldr	r2, .L10+4
	sub	sp, sp, #24
	ldr	r0, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	bl	LIMIT_CPU_TYPES
	bl	read_imm_16
	mov	r4, r0
	bl	BIT_B
	add	r5, sp, #12
	cmp	r0, #0
	asr	r2, r4, #6
	movne	r0, r5
	moveq	r0, r5
	ldrne	r1, .L10+8
	ldreq	r1, .L10+12
	andne	r2, r2, #7
	andeq	r2, r2, #31
	bl	sprintf
	mov	r0, r4
	bl	BIT_5
	cmp	r0, #0
	beq	.L4
	add	r6, sp, #16
	mov	r0, r6
	ldr	r1, .L10+8
	and	r2, r4, #7
	bl	sprintf
.L5:
	ldr	r2, .L10+16
	ldr	r3, .L10+20
	ldr	r0, [r2]
	ldr	r4, [r3]
	bl	get_ea_mode_str_8
	mov	r3, r5
	mov	r2, r0
	ldr	r1, .L10+24
	mov	r0, r4
	str	r6, [sp]
	bl	sprintf
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L10+28
	and	r4, r4, #31
	ldr	r3, [r3]
	add	r6, sp, #16
	mov	r0, r6
	ldr	r2, [r3, r4, lsl #2]
	ldr	r1, .L10+12
	bl	sprintf
	b	.L5
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	M68020_PLUS
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	g_cpu_ir
	.word	g_dasm_str
	.word	.LC2
	.word	g_5bit_data_table
	.size	d68020_bfchg, .-d68020_bfchg
	.comm	g_dasm_str,4,4
	.comm	g_cpu_ir,4,4
	.comm	g_5bit_data_table,4,4
	.comm	M68020_PLUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
