	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function leaveblock
_leaveblock:                            ## @leaveblock
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %rbx
	movq	24(%rdi), %r14
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_luaK_jump
	movl	%eax, %r12d
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_luaK_patchclose
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_luaK_patchtohere
LBB0_3:
	cmpq	$0, 32(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_breaklabel
LBB0_5:
	movq	16(%rbx), %rax
	movq	%rax, 16(%r15)
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_removevars
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_lua_assert
	movq	(%r15), %rax
	movq	%rax, 8(%r15)
	movl	24(%rbx), %ecx
	movq	(%r14), %rax
	movl	%ecx, 16(%rax)
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_movegotosout                   ## TAILCALL
LBB0_6:
	movq	8(%rbx), %rsi
	cmpq	(%rax), %rsi
	jae	LBB0_7
## %bb.9:
	shlq	$2, %rsi
	addq	8(%rax), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_undefgoto                      ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_leaveblock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function leaveblock
_leaveblock:                            ; @leaveblock
	.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, x0
	ldp	x20, x19, [x0, #16]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_luaK_jump
	mov	x22, x0
	ldr	x2, [x20]
	mov	x0, x21
	mov	x1, x22
	bl	_luaK_patchclose
	mov	x0, x21
	mov	x1, x22
	bl	_luaK_patchtohere
LBB0_3:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_breaklabel
LBB0_5:
	ldr	x8, [x20, #16]
	str	x8, [x21, #16]
	ldr	x1, [x20]
	mov	x0, x21
	bl	_removevars
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, eq
	bl	_lua_assert
	ldr	x8, [x21]
	str	x8, [x21, #8]
	ldr	w9, [x20, #24]
	ldr	x8, [x19]
	str	w9, [x8, #16]
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, 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
	b	_movegotosout
LBB0_7:
	ldr	x9, [x20, #8]
	ldr	x10, [x8]
	cmp	x9, x10
	b.hs	LBB0_9
; %bb.8:
	ldr	x8, [x8, #8]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	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
	b	_undefgoto
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_leaveblock
.subsections_via_symbols
