	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remap_print
_remap_print:                           ## @remap_print
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_lua_gettop
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_lua_getglobal
	leaq	L_.str.1(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_lua_getglobal
	movq	%rbx, %rdi
	movl	$-2, %esi
	movq	%r15, %rdx
	callq	_lua_setfield
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_lua_pop
	movq	_lua_chassis_log_message@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_lua_register
	movq	%rbx, %rdi
	callq	_lua_gettop
	xorl	%edi, %edi
	cmpl	%eax, %r14d
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_g_assert                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"os"

L_.str.1:                               ## @.str.1
	.asciz	"print"

	.comm	_lua_chassis_log_message,4,2    ## @lua_chassis_log_message
	.no_dead_strip	_remap_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remap_print
_remap_print:                           ; @remap_print
	.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	x19, x0
	bl	_lua_gettop
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_lua_getglobal
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_lua_getglobal
	mov	x0, x19
	mov	w1, #-2
	mov	x2, x21
	bl	_lua_setfield
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
Lloh4:
	adrp	x8, _lua_chassis_log_message@GOTPAGE
Lloh5:
	ldr	x8, [x8, _lua_chassis_log_message@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_lua_register
	mov	x0, x19
	bl	_lua_gettop
	cmp	w20, w0
	cset	w0, eq
	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	_g_assert
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"os"

l_.str.1:                               ; @.str.1
	.asciz	"print"

	.comm	_lua_chassis_log_message,4,2    ; @lua_chassis_log_message
	.no_dead_strip	_remap_print
.subsections_via_symbols
