	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m68k_op_add_16_er_al
_m68k_op_add_16_er_al:                  ## @m68k_op_add_16_er_al
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_OPER_AL_16
	movl	%eax, %r14d
	movq	_DX@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_MASK_OUT_ABOVE_16
	movq	%rax, %r15
	leal	(%r14,%rax), %ebx
	movl	%ebx, %edi
	callq	_NFLAG_16
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_VFLAG_ADD_16
	movq	_FLAG_V@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	%ebx, %edi
	callq	_MASK_OUT_ABOVE_16
	movq	_FLAG_Z@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	callq	_MASK_OUT_BELOW_16
	orl	(%rbx), %eax
	movl	%eax, (%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DX,4,2                         ## @DX
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.comm	_FLAG_X,4,2                     ## @FLAG_X
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.no_dead_strip	_m68k_op_add_16_er_al
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m68k_op_add_16_er_al
_m68k_op_add_16_er_al:                  ; @m68k_op_add_16_er_al
	.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
	bl	_OPER_AL_16
	mov	x19, x0
Lloh0:
	adrp	x22, _DX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DX@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_MASK_OUT_ABOVE_16
	mov	x20, x0
	add	w21, w19, w20
	mov	x0, x21
	bl	_NFLAG_16
Lloh2:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_VFLAG_ADD_16
Lloh5:
	adrp	x8, _FLAG_V@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLAG_V@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	mov	x0, x21
	bl	_CFLAG_16
Lloh8:
	adrp	x8, _FLAG_C@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLAG_C@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
Lloh11:
	adrp	x8, _FLAG_X@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FLAG_X@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
	mov	x0, x21
	bl	_MASK_OUT_ABOVE_16
Lloh14:
	adrp	x19, _FLAG_Z@GOTPAGE
Lloh15:
	ldr	x19, [x19, _FLAG_Z@GOTPAGEOFF]
	str	w0, [x19]
	ldr	w0, [x22]
	bl	_MASK_OUT_BELOW_16
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x22]
	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 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	_DX,4,2                         ; @DX
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.comm	_FLAG_X,4,2                     ; @FLAG_X
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.no_dead_strip	_m68k_op_add_16_er_al
.subsections_via_symbols
