	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pushglobalfuncname
_pushglobalfuncname:                    ## @pushglobalfuncname
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_lua_gettop
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_lua_getinfo
	movq	_LUA_REGISTRYINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LUA_LOADED_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_lua_getfield
	leal	1(%r15), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$2, %edx
	callq	_findfield
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_tostring
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	addq	$3, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_lua_pushstring
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_remove
LBB0_3:
	movq	%rbx, %rdi
	movl	$-1, %esi
	movl	%r14d, %edx
	callq	_lua_copy
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_lua_pop
	movl	$1, %eax
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_lua_settop
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"f"

	.comm	_LUA_REGISTRYINDEX,4,2          ## @LUA_REGISTRYINDEX
	.comm	_LUA_LOADED_TABLE,4,2           ## @LUA_LOADED_TABLE
L_.str.1:                               ## @.str.1
	.asciz	"_G."

	.no_dead_strip	_pushglobalfuncname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pushglobalfuncname
_pushglobalfuncname:                    ; @pushglobalfuncname
	.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	x20, x1
	mov	x19, x0
	bl	_lua_gettop
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_lua_getinfo
Lloh2:
	adrp	x8, _LUA_REGISTRYINDEX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LUA_REGISTRYINDEX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _LUA_LOADED_TABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LUA_LOADED_TABLE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_lua_getfield
	add	w20, w21, #1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_findfield
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_tostring
	mov	x21, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.2:
	add	x1, x21, #3
	mov	x0, x19
	bl	_lua_pushstring
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_remove
LBB0_3:
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x20
	bl	_lua_copy
	mov	x0, x19
	mov	w1, #2
	bl	_lua_pop
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_lua_settop
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"f"

	.comm	_LUA_REGISTRYINDEX,4,2          ; @LUA_REGISTRYINDEX
	.comm	_LUA_LOADED_TABLE,4,2           ; @LUA_LOADED_TABLE
l_.str.1:                               ; @.str.1
	.asciz	"_G."

	.no_dead_strip	_pushglobalfuncname
.subsections_via_symbols
