	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaT_trybinTM                  ## -- Begin function luaT_trybinTM
	.p2align	4, 0x90
_luaT_trybinTM:                         ## @luaT_trybinTM
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_luaT_callbinTM
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_8
## %bb.2:
	cmpl	$2, %ebx
	je	LBB0_3
LBB0_4:
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	callq	_tonumber
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	callq	_tonumber
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_luaG_tointerror
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_luaG_opinterror
LBB0_8:
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_luaG_opinterror
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_luaG_concaterror
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"perform bitwise operation on"

L_.str.1:                               ## @.str.1
	.asciz	"perform arithmetic on"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaT_trybinTM                  ; -- Begin function luaT_trybinTM
	.p2align	2
_luaT_trybinTM:                         ; @luaT_trybinTM
	.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	x22, x4
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_luaT_callbinTM
	cbnz	w0, LBB0_8
; %bb.1:
	sub	w8, w22, #128
	cmp	w8, #6
	b.hi	LBB0_7
; %bb.2:
	cmp	w8, #2
	b.eq	LBB0_9
LBB0_3:
	add	x1, sp, #12
	mov	x0, x20
	bl	_tonumber
	cbz	w0, LBB0_6
; %bb.4:
	add	x1, sp, #12
	mov	x0, x19
	bl	_tonumber
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_luaG_tointerror
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_luaG_opinterror
LBB0_7:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_luaG_opinterror
LBB0_8:
	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_9:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_luaG_concaterror
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"perform bitwise operation on"

l_.str.1:                               ; @.str.1
	.asciz	"perform arithmetic on"

.subsections_via_symbols
