	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unmakemask
_unmakemask:                            ## @unmakemask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	_LUA_MASKCALL@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_1
## %bb.2:
	movb	$99, (%rax)
	movl	$1, %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	_LUA_MASKRET@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	je	LBB0_5
## %bb.4:
	movl	%ecx, %edx
	incl	%ecx
	movb	$114, (%rax,%rdx)
LBB0_5:
	movq	_LUA_MASKLINE@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	je	LBB0_7
## %bb.6:
	movl	%ecx, %edx
	incl	%ecx
	movb	$108, (%rax,%rdx)
LBB0_7:
	movl	%ecx, %ecx
	movb	$0, (%rax,%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_MASKCALL,4,2               ## @LUA_MASKCALL
	.comm	_LUA_MASKRET,4,2                ## @LUA_MASKRET
	.comm	_LUA_MASKLINE,4,2               ## @LUA_MASKLINE
	.no_dead_strip	_unmakemask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unmakemask
_unmakemask:                            ; @unmakemask
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LUA_MASKCALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_MASKCALL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #99
	strb	w8, [x1]
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
Lloh3:
	adrp	x9, _LUA_MASKRET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LUA_MASKRET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #114
	strb	w9, [x1, w8, uxtw]
	add	w8, w8, #1
LBB0_5:
Lloh6:
	adrp	x9, _LUA_MASKLINE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LUA_MASKLINE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_7
; %bb.6:
	mov	w9, #108
	strb	w9, [x1, w8, uxtw]
	add	w8, w8, #1
LBB0_7:
	strb	wzr, [x1, w8, uxtw]
	mov	x0, x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_MASKCALL,4,2               ; @LUA_MASKCALL
	.comm	_LUA_MASKRET,4,2                ; @LUA_MASKRET
	.comm	_LUA_MASKLINE,4,2               ; @LUA_MASKLINE
	.no_dead_strip	_unmakemask
.subsections_via_symbols
