	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function constfolding
_constfolding:                          ## @constfolding
	.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
	movq	%rdx, %r13
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_isnumeral
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	%r13, %rdi
	callq	_isnumeral
	testl	%eax, %eax
	je	LBB0_16
## %bb.2:
	xorl	%r14d, %r14d
	addl	$-128, %ebx
	movl	$0, %r12d
	cmpl	$7, %ebx
	ja	LBB0_14
## %bb.3:
	movl	(%r15), %edi
	movl	(%r13), %esi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_12:
	callq	_luai_numunm
	jmp	LBB0_13
LBB0_5:
	callq	_luai_numsub
	jmp	LBB0_13
LBB0_11:
	callq	_luai_numpow
	jmp	LBB0_13
LBB0_6:
	callq	_luai_nummul
	jmp	LBB0_13
LBB0_9:
	testl	%esi, %esi
	je	LBB0_16
## %bb.10:
	callq	_luai_nummod
	jmp	LBB0_13
LBB0_7:
	testl	%esi, %esi
	je	LBB0_16
## %bb.8:
	callq	_luai_numdiv
	jmp	LBB0_13
LBB0_4:
	callq	_luai_numadd
LBB0_13:
	movl	%eax, %r12d
LBB0_14:
	movl	%r12d, %edi
	callq	_luai_numisnan
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movl	%r12d, (%r15)
	movl	$1, %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_7
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_constfolding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function constfolding
_constfolding:                          ; @constfolding
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_isnumeral
	cbz	w0, LBB0_15
; %bb.1:
	mov	x0, x21
	bl	_isnumeral
	mov	w20, #0
	cbz	w0, LBB0_16
; %bb.2:
	sub	w8, w22, #128
	cmp	w8, #7
	b.hi	LBB0_14
; %bb.3:
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	bl	_luai_numunm
	b	LBB0_13
LBB0_5:
	bl	_luai_numsub
	b	LBB0_13
LBB0_6:
	bl	_luai_numpow
	b	LBB0_13
LBB0_7:
	bl	_luai_nummul
	b	LBB0_13
LBB0_8:
	cbz	w1, LBB0_15
; %bb.9:
	bl	_luai_nummod
	b	LBB0_13
LBB0_10:
	cbz	w1, LBB0_15
; %bb.11:
	bl	_luai_numdiv
	b	LBB0_13
LBB0_12:
	bl	_luai_numadd
LBB0_13:
	mov	x20, x0
LBB0_14:
	mov	x0, x20
	bl	_luai_numisnan
	cbz	x0, LBB0_17
LBB0_15:
	mov	w20, #0
LBB0_16:
	mov	x0, 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
LBB0_17:
	str	w20, [x19]
	mov	w20, #1
	b	LBB0_16
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.no_dead_strip	_constfolding
.subsections_via_symbols
