	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function op_BCD
_op_BCD:                                ## @op_BCD
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	testb	$8, %r14b
	jne	LBB0_1
## %bb.2:
	movq	_EA_DATA_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_EA_PREDECREMENT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	shll	$3, %ebx
	movq	_reg0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%ebx, %esi
	movq	_reg@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SIZE_B@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-44(%rbp), %r12
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	$1, %r9d
	callq	_ea_get
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$1, %ecx
	movq	%r12, %r8
	movl	$2, %r9d
	callq	_ea_get
	movq	_current_entry@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	testl	$16384, %r14d                   ## imm = 0x4000
	jne	LBB0_4
## %bb.5:
	callq	_JIT_EMIT_SBCD
	jmp	LBB0_6
LBB0_4:
	callq	_JIT_EMIT_ABCD
LBB0_6:
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ea_set
	testb	$8, %r14b
	movl	(%r12), %edi
	movl	$6, %eax
	movl	$18, %esi
	cmovel	%eax, %esi
	callq	_JIT_EMIT_ADD_CYCLES
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INSN_GET_REG,4,2               ## @INSN_GET_REG
	.comm	_INSN_GET_REG0,4,2              ## @INSN_GET_REG0
	.comm	_EA_PREDECREMENT,4,2            ## @EA_PREDECREMENT
	.comm	_EA_DATA_REG,4,2                ## @EA_DATA_REG
	.comm	_reg0,4,2                       ## @reg0
	.comm	_reg,4,2                        ## @reg
	.comm	_SIZE_B,4,2                     ## @SIZE_B
	.comm	_current_entry,4,2              ## @current_entry
	.no_dead_strip	_op_BCD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function op_BCD
_op_BCD:                                ; @op_BCD
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _EA_PREDECREMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EA_PREDECREMENT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _EA_DATA_REG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EA_DATA_REG@GOTPAGEOFF]
	tst	w1, #0x8
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	lsl	w8, w8, #3
Lloh4:
	adrp	x9, _reg0@GOTPAGE
Lloh5:
	ldr	x9, [x9, _reg0@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _reg@GOTPAGE
Lloh8:
	ldr	x10, [x10, _reg@GOTPAGEOFF]
	orr	w1, w8, w9
Lloh9:
	ldr	w9, [x10]
	orr	w21, w8, w9
Lloh10:
	adrp	x22, _SIZE_B@GOTPAGE
Lloh11:
	ldr	x22, [x22, _SIZE_B@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x4, sp, #12
	mov	w3, #0
	mov	w5, #1
	bl	_ea_get
	ldr	w2, [x22]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1
	mov	w5, #2
	bl	_ea_get
Lloh12:
	adrp	x23, _current_entry@GOTPAGE
Lloh13:
	ldr	x23, [x23, _current_entry@GOTPAGEOFF]
	ldr	w0, [x23]
	tbnz	w19, #14, LBB0_2
; %bb.1:
	bl	_JIT_EMIT_SBCD
	b	LBB0_3
LBB0_2:
	bl	_JIT_EMIT_ABCD
LBB0_3:
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_ea_set
	ldr	w0, [x23]
	tst	w19, #0x8
	mov	w8, #18
	mov	w9, #6
	csel	w1, w9, w8, eq
	bl	_JIT_EMIT_ADD_CYCLES
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INSN_GET_REG,4,2               ; @INSN_GET_REG
	.comm	_INSN_GET_REG0,4,2              ; @INSN_GET_REG0
	.comm	_EA_PREDECREMENT,4,2            ; @EA_PREDECREMENT
	.comm	_EA_DATA_REG,4,2                ; @EA_DATA_REG
	.comm	_reg0,4,2                       ; @reg0
	.comm	_reg,4,2                        ; @reg
	.comm	_SIZE_B,4,2                     ; @SIZE_B
	.comm	_current_entry,4,2              ; @current_entry
	.no_dead_strip	_op_BCD
.subsections_via_symbols
