	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_then_block
_test_then_block:                       ## @test_then_block
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	callq	_luaX_next
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_expr
	movq	_TK_THEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_checknext
	movq	_TK_GOTO@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_TK_BREAK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.7:
	leaq	-40(%rbp), %rsi
	callq	_luaK_goiftrue
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_enterblock
	movl	-40(%rbp), %r12d
	jmp	LBB0_8
LBB0_2:
	leaq	-40(%rbp), %rsi
	callq	_luaK_goiffalse
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_enterblock
	movl	-36(%rbp), %esi
	movq	%rbx, %rdi
	callq	_gotostat
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$59, %esi
	callq	_testnext
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_block_follow
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_leaveblock
	jmp	LBB0_12
LBB0_6:
	movq	%r15, %rdi
	callq	_luaK_jump
	movl	%eax, %r12d
LBB0_8:
	movq	%rbx, %rdi
	callq	_statlist
	movq	%r15, %rdi
	callq	_leaveblock
	movq	(%rbx), %rax
	movq	_TK_ELSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_TK_ELSEIF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	callq	_luaK_jump
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_luaK_concat
LBB0_11:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_luaK_patchtohere
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_THEN,4,2                    ## @TK_THEN
	.comm	_TK_GOTO,8,3                    ## @TK_GOTO
	.comm	_TK_BREAK,8,3                   ## @TK_BREAK
	.comm	_TK_ELSE,8,3                    ## @TK_ELSE
	.comm	_TK_ELSEIF,8,3                  ## @TK_ELSEIF
	.no_dead_strip	_test_then_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_then_block
_test_then_block:                       ; @test_then_block
	.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	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	bl	_luaX_next
	mov	x1, sp
	mov	x0, x21
	bl	_expr
Lloh0:
	adrp	x8, _TK_THEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_THEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_checknext
Lloh3:
	adrp	x8, _TK_GOTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TK_GOTO@GOTPAGEOFF]
Lloh5:
	adrp	x9, _TK_BREAK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TK_BREAK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	ldr	x9, [x9]
	ldp	x10, x0, [x21]
	cmp	x10, x8
	mov	x1, sp
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_5
; %bb.1:
	bl	_luaK_goiffalse
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #0
	bl	_enterblock
	ldr	w1, [sp, #4]
	mov	x0, x21
	bl	_gotostat
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #59
	bl	_testnext
	cbnz	x0, LBB0_2
; %bb.3:
	mov	x0, x21
	mov	w1, #0
	bl	_block_follow
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_leaveblock
	b	LBB0_10
LBB0_5:
	bl	_luaK_goiftrue
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #0
	bl	_enterblock
	ldr	w22, [sp]
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_luaK_jump
	mov	x22, x0
LBB0_7:
	mov	x0, x21
	bl	_statlist
	mov	x0, x19
	bl	_leaveblock
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _TK_ELSE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TK_ELSE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _TK_ELSEIF@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TK_ELSEIF@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_luaK_jump
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_luaK_concat
LBB0_9:
	mov	x0, x19
	mov	x1, x22
	bl	_luaK_patchtohere
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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_THEN,4,2                    ; @TK_THEN
	.comm	_TK_GOTO,8,3                    ; @TK_GOTO
	.comm	_TK_BREAK,8,3                   ; @TK_BREAK
	.comm	_TK_ELSE,8,3                    ; @TK_ELSE
	.comm	_TK_ELSEIF,8,3                  ; @TK_ELSEIF
	.no_dead_strip	_test_then_block
.subsections_via_symbols
