	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opNBCD
_opNBCD:                                ## @opNBCD
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_EA_MODE
	movq	_EA_ADDRESS_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.11:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_op_ill                         ## TAILCALL
LBB0_1:
	movq	_SIZE_B@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-28(%rbp), %r8
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %ecx
	callq	_ea_get
	cmpl	$0, -28(%rbp)
	js	LBB0_2
## %bb.3:
	movl	(%r14), %edi
	movq	_SR_X_SHIFT@GOTPCREL(%rip), %rsi
	movq	_SR_X@GOTPCREL(%rip), %r8
	movq	_SR_C@GOTPCREL(%rip), %r9
	movl	(%r9), %edx
	orl	(%r8), %edx
	movl	(%rsi), %esi
	notl	%edx
	andl	%edi, %edx
	movl	%edx, (%r14)
	movl	%eax, %ecx
	andl	$15, %ecx
	btl	%esi, %edi
	adcl	$0, %ecx
	movl	$10, %esi
	subl	%ecx, %esi
	xorl	%edi, %edi
	testl	%ecx, %ecx
	sete	%dil
	cmovel	%ecx, %esi
	shll	$4, %edi
	andl	$240, %eax
	subl	%eax, %edi
	xorl	%ecx, %ecx
	addl	$-16, %edi
	js	LBB0_4
## %bb.5:
	addl	%esi, %ecx
	js	LBB0_6
LBB0_7:
	andl	$255, %ecx
	je	LBB0_9
LBB0_8:
	movq	_SR_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edx
	movl	%edx, (%r14)
LBB0_9:
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ea_set
	movl	%ebx, %edi
	callq	_EA_MODE
	movq	_EA_DATA_REG@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setne	%dl
	movl	-28(%rbp), %eax
	leal	(%rax,%rdx,2), %eax
	addl	$6, %eax
	jmp	LBB0_10
LBB0_2:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	orl	(%r8), %edx
	addl	$160, %edi
	orl	(%r9), %edx
	movl	%edx, (%r14)
	movl	%edi, %ecx
	addl	%esi, %ecx
	jns	LBB0_7
LBB0_6:
	movl	(%r9), %eax
	orl	(%r8), %eax
	orl	%eax, %edx
	movl	%edx, (%r14)
	andl	$255, %ecx
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EA_ADDRESS_REG,8,3             ## @EA_ADDRESS_REG
	.comm	_SIZE_B,4,2                     ## @SIZE_B
	.comm	_SR_X_SHIFT,4,2                 ## @SR_X_SHIFT
	.comm	_SR_X,4,2                       ## @SR_X
	.comm	_SR_C,4,2                       ## @SR_C
	.comm	_SR_Z,4,2                       ## @SR_Z
	.comm	_EA_DATA_REG,8,3                ## @EA_DATA_REG
	.no_dead_strip	_opNBCD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opNBCD
_opNBCD:                                ; @opNBCD
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_EA_MODE
Lloh0:
	adrp	x8, _EA_ADDRESS_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EA_ADDRESS_REG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_op_ill
LBB0_2:
Lloh3:
	adrp	x21, _SIZE_B@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SIZE_B@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	bl	_ea_get
	ldr	w8, [sp, #12]
	tbnz	w8, #31, LBB0_9
; %bb.3:
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _SR_X_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SR_X_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsr	w9, w8, w9
	and	w11, w9, #0x1
Lloh8:
	adrp	x9, _SR_X@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SR_X@GOTPAGEOFF]
	ldr	w12, [x9]
Lloh10:
	adrp	x10, _SR_C@GOTPAGE
Lloh11:
	ldr	x10, [x10, _SR_C@GOTPAGEOFF]
	ldr	w13, [x10]
	orr	w12, w13, w12
	bic	w8, w8, w12
	str	w8, [x20]
	and	w12, w0, #0xf
	mov	w13, #10
	adds	w11, w11, w12
	sub	w11, w13, w11
	csel	w11, wzr, w11, eq
	mov	w12, #-16
	csel	w12, wzr, w12, eq
	and	w13, w0, #0xf0
	subs	w12, w12, w13
	b.mi	LBB0_11
; %bb.4:
	mov	w12, #0
	adds	w11, w12, w11
	b.pl	LBB0_6
LBB0_5:
	ldr	w9, [x9]
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_6:
	ands	w3, w11, #0xff
	b.eq	LBB0_8
; %bb.7:
Lloh12:
	adrp	x9, _SR_Z@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SR_Z@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x20]
LBB0_8:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_ea_set
	mov	x0, x19
	bl	_EA_MODE
Lloh15:
	adrp	x8, _EA_DATA_REG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EA_DATA_REG@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #8
	mov	w9, #6
	csel	w8, w9, w8, eq
	ldr	w9, [sp, #12]
	add	w0, w8, w9
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	add	w12, w12, #160
	ldr	w13, [x9]
	ldr	w14, [x10]
	orr	w8, w13, w8
	orr	w8, w8, w14
	str	w8, [x20]
	adds	w11, w12, w11
	b.pl	LBB0_6
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EA_ADDRESS_REG,8,3             ; @EA_ADDRESS_REG
	.comm	_SIZE_B,4,2                     ; @SIZE_B
	.comm	_SR_X_SHIFT,4,2                 ; @SR_X_SHIFT
	.comm	_SR_X,4,2                       ; @SR_X
	.comm	_SR_C,4,2                       ; @SR_C
	.comm	_SR_Z,4,2                       ; @SR_Z
	.comm	_EA_DATA_REG,8,3                ; @EA_DATA_REG
	.no_dead_strip	_opNBCD
.subsections_via_symbols
