	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_negx_16_d              ## -- Begin function m68k_op_negx_16_d
	.p2align	4, 0x90
_m68k_op_negx_16_d:                     ## @m68k_op_negx_16_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_DY@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_XFLAG_AS_1
	addl	%eax, %ebx
	negl	%ebx
	movl	%ebx, %edi
	callq	_NFLAG_16
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%ebx, %edi
	callq	_CFLAG_16
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FLAG_X@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r14), %eax
	andl	%ebx, %eax
	sarl	$8, %eax
	movq	_FLAG_V@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%ebx, %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %ebx
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	orl	%ebx, (%rax)
	movl	(%r14), %edi
	callq	_MASK_OUT_BELOW_16
	orl	%ebx, %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DY,4,2                         ## @DY
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.comm	_FLAG_X,4,2                     ## @FLAG_X
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_negx_16_d              ; -- Begin function m68k_op_negx_16_d
	.p2align	2
_m68k_op_negx_16_d:                     ; @m68k_op_negx_16_d
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _DY@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DY@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_MASK_OUT_ABOVE_16
	mov	x19, x0
	bl	_XFLAG_AS_1
	add	w8, w19, w0
	neg	w19, w8
	mov	x0, x19
	bl	_NFLAG_16
Lloh2:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	mov	x0, x19
	bl	_CFLAG_16
Lloh5:
	adrp	x8, _FLAG_C@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLAG_C@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
Lloh8:
	adrp	x8, _FLAG_X@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLAG_X@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	ldr	w8, [x20]
	and	w8, w8, w19
	asr	w8, w8, #8
Lloh11:
	adrp	x9, _FLAG_V@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	mov	x0, x19
	bl	_MASK_OUT_ABOVE_16
	mov	x19, x0
Lloh14:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	ldr	w0, [x20]
	bl	_MASK_OUT_BELOW_16
	orr	w8, w0, w19
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DY,4,2                         ; @DY
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.comm	_FLAG_X,4,2                     ; @FLAG_X
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
.subsections_via_symbols
