	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_bfset_32_d             ## -- Begin function m68k_op_bfset_32_d
	.p2align	4, 0x90
_m68k_op_bfset_32_d:                    ## @m68k_op_bfset_32_d
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CPU_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CPU_TYPE_IS_EC020_PLUS
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	xorl	%eax, %eax
	callq	_OPER_I_16
	movl	%eax, %ebx
	movl	%eax, %r14d
	shrl	$6, %r14d
	movl	%eax, %edi
	callq	_BIT_B
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_REG_D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	$7, %r14d
	movl	(%rax,%r14,4), %r14d
	jmp	LBB0_4
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m68ki_exception_illegal        ## TAILCALL
LBB0_2:
	andl	$31, %r14d
LBB0_4:
	movl	%ebx, %edi
	callq	_BIT_5
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_REG_D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	$7, %ebx
	movl	(%rax,%rbx,4), %ebx
LBB0_6:
	andl	$31, %r14d
	negb	%bl
	movl	$-1, %edi
	movl	%ebx, %ecx
	shll	%cl, %edi
	callq	_MASK_OUT_ABOVE_32
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_ROR_32
	movl	%eax, %ebx
	movq	_DY@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	%r14d, %ecx
	shll	%cl, %edi
	callq	_NFLAG_32
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r15), %eax
	movl	%eax, %ecx
	andl	%ebx, %ecx
	movq	_FLAG_Z@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_VFLAG_CLEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FLAG_V@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_CFLAG_CLEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FLAG_C@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	orl	%ebx, %eax
	movl	%eax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_TYPE,4,2                   ## @CPU_TYPE
	.comm	_DY,4,2                         ## @DY
	.comm	_REG_D,8,3                      ## @REG_D
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.comm	_VFLAG_CLEAR,4,2                ## @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.comm	_CFLAG_CLEAR,4,2                ## @CFLAG_CLEAR
	.comm	_FLAG_C,4,2                     ## @FLAG_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_bfset_32_d             ; -- Begin function m68k_op_bfset_32_d
	.p2align	2
_m68k_op_bfset_32_d:                    ; @m68k_op_bfset_32_d
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _CPU_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CPU_TYPE_IS_EC020_PLUS
	cbz	x0, LBB0_3
; %bb.1:
	bl	_OPER_I_16
	mov	x19, x0
	bl	_BIT_B
Lloh3:
	adrp	x20, _REG_D@GOTPAGE
Lloh4:
	ldr	x20, [x20, _REG_D@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ubfx	w9, w19, #6, #3
	ldr	w21, [x8, w9, uxtw #2]
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_m68ki_exception_illegal
LBB0_4:
	ubfx	w21, w19, #6, #5
LBB0_5:
	mov	x0, x19
	bl	_BIT_5
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x20]
	and	w9, w19, #0x7
	ldr	w19, [x8, w9, uxtw #2]
LBB0_7:
	and	w20, w21, #0x1f
	neg	w8, w19
	mov	w9, #-1
	lsl	w0, w9, w8
	bl	_MASK_OUT_ABOVE_32
	mov	x1, x20
	bl	_ROR_32
	mov	x19, x0
Lloh5:
	adrp	x20, _DY@GOTPAGE
Lloh6:
	ldr	x20, [x20, _DY@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, w21
	bl	_NFLAG_32
Lloh7:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh9:
	str	w0, [x8]
	ldr	w8, [x20]
	and	w9, w8, w19
Lloh10:
	adrp	x10, _FLAG_Z@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FLAG_Z@GOTPAGEOFF]
Lloh12:
	str	w9, [x10]
Lloh13:
	adrp	x9, _VFLAG_CLEAR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _FLAG_V@GOTPAGE
Lloh17:
	ldr	x10, [x10, _FLAG_V@GOTPAGEOFF]
Lloh18:
	str	w9, [x10]
Lloh19:
	adrp	x9, _CFLAG_CLEAR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _FLAG_C@GOTPAGE
Lloh23:
	ldr	x10, [x10, _FLAG_C@GOTPAGEOFF]
Lloh24:
	str	w9, [x10]
	orr	w8, w8, w19
	str	w8, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_TYPE,4,2                   ; @CPU_TYPE
	.comm	_DY,4,2                         ; @DY
	.comm	_REG_D,8,3                      ; @REG_D
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.comm	_VFLAG_CLEAR,4,2                ; @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.comm	_CFLAG_CLEAR,4,2                ; @CFLAG_CLEAR
	.comm	_FLAG_C,4,2                     ; @FLAG_C
.subsections_via_symbols
