	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_lua_setup_global ## -- Begin function network_mysqld_lua_setup_global
	.p2align	4, 0x90
_network_mysqld_lua_setup_global:       ## @network_mysqld_lua_setup_global
	.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, %r15
	movq	%rdi, %rbx
	callq	_lua_gettop
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_lua_getglobal
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_isnil
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_lua_pop
	movq	%rbx, %rdi
	callq	_network_mysqld_lua_init_global_fenv
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_lua_getglobal
LBB0_2:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_istable
	movl	%eax, %edi
	callq	_g_assert
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_getfield
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_lua_getfield
	movl	12(%r15), %esi
	movq	%rbx, %rdi
	callq	_lua_pushstring
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setfield
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_lua_pushstring
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setfield
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_lua_pop
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_lua_newuserdata
	movq	(%r15), %rcx
	movq	%rcx, (%rax)
	movq	%rbx, %rdi
	callq	_network_backends_lua_getmetatable
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setmetatable
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setfield
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_lua_newuserdata
	movq	(%r15), %rcx
	movq	8(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	%rbx, %rdi
	callq	_network_clients_lua_getmetatable
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setmetatable
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setfield
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_lua_newuserdata
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	%rbx, %rdi
	callq	_network_pwds_lua_getmetatable
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setmetatable
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_setfield
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_lua_pop
	movq	%rbx, %rdi
	callq	_lua_gettop
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	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	"proxy"

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

L_.str.2:                               ## @.str.2
	.asciz	"config"

L_.str.3:                               ## @.str.3
	.asciz	"instance"

L_.str.4:                               ## @.str.4
	.asciz	"logpath"

L_.str.5:                               ## @.str.5
	.asciz	"backends"

L_.str.6:                               ## @.str.6
	.asciz	"clients"

L_.str.7:                               ## @.str.7
	.asciz	"pwds"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_lua_setup_global ; -- Begin function network_mysqld_lua_setup_global
	.p2align	2
_network_mysqld_lua_setup_global:       ; @network_mysqld_lua_setup_global
	.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, x1
	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
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_isnil
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
	mov	x0, x19
	bl	_network_mysqld_lua_init_global_fenv
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_lua_getglobal
LBB0_2:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_istable
	bl	_g_assert
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_getfield
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_getfield
	ldr	w1, [x21, #12]
	mov	x0, x19
	bl	_lua_pushstring
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setfield
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_lua_pushstring
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setfield
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
	mov	x0, x19
	mov	w1, #8
	bl	_lua_newuserdata
	ldr	x8, [x21]
	str	x8, [x0]
	mov	x0, x19
	bl	_network_backends_lua_getmetatable
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setmetatable
Lloh12:
	adrp	x2, l_.str.5@PAGE
Lloh13:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setfield
	mov	x0, x19
	mov	w1, #8
	bl	_lua_newuserdata
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	str	x8, [x0]
	mov	x0, x19
	bl	_network_clients_lua_getmetatable
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setmetatable
Lloh14:
	adrp	x2, l_.str.6@PAGE
Lloh15:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setfield
	mov	x0, x19
	mov	w1, #8
	bl	_lua_newuserdata
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	x8, [x0]
	mov	x0, x19
	bl	_network_pwds_lua_getmetatable
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setmetatable
Lloh16:
	adrp	x2, l_.str.7@PAGE
Lloh17:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setfield
	mov	x0, x19
	mov	w1, #2
	bl	_lua_pop
	mov	x0, x19
	bl	_lua_gettop
	cmp	w0, w20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"proxy"

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

l_.str.2:                               ; @.str.2
	.asciz	"config"

l_.str.3:                               ; @.str.3
	.asciz	"instance"

l_.str.4:                               ; @.str.4
	.asciz	"logpath"

l_.str.5:                               ; @.str.5
	.asciz	"backends"

l_.str.6:                               ; @.str.6
	.asciz	"clients"

l_.str.7:                               ; @.str.7
	.asciz	"pwds"

.subsections_via_symbols
