	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proxy_socket_get
_proxy_socket_get:                      ## @proxy_socket_get
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_luaL_checkself
	movq	(%rax), %r12
	movl	$0, -36(%rbp)
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_luaL_checklstring
	movq	%rax, %r14
	movl	-36(%rbp), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	48(%r12), %rax
	jmp	LBB0_2
LBB0_3:
	movl	-36(%rbp), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	40(%r12), %rax
	jmp	LBB0_2
LBB0_5:
	movl	-36(%rbp), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	32(%r12), %rax
	jmp	LBB0_2
LBB0_7:
	movl	-36(%rbp), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	24(%r12), %rax
LBB0_2:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_lua_pushlstring
LBB0_32:
	movl	$1, %eax
LBB0_33:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-36(%rbp), %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_luaL_error
	jmp	LBB0_33
LBB0_11:
	movl	-36(%rbp), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movl	20(%r12), %esi
	jmp	LBB0_13
LBB0_14:
	movl	-36(%rbp), %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	16(%r12), %esi
LBB0_13:
	movq	%r15, %rdi
	callq	_network_address_lua_push
	jmp	LBB0_33
LBB0_16:
	cmpq	$0, (%r12)
	je	LBB0_23
## %bb.17:
	movl	-36(%rbp), %ebx
	leaq	L_.str.8(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	(%r12), %rax
	movl	4(%rax), %edi
	jmp	LBB0_22
LBB0_19:
	movl	-36(%rbp), %ebx
	leaq	L_.str.9(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	movq	(%r12), %rax
LBB0_21:
	movl	(%rax), %edi
LBB0_22:
	callq	_S
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_lua_pushlstring
	jmp	LBB0_32
LBB0_23:
	movq	8(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_31
## %bb.24:
	movl	-36(%rbp), %ebx
	leaq	L_.str.10(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:
	movq	8(%r12), %rax
	movl	8(%rax), %esi
	jmp	LBB0_26
LBB0_27:
	movl	-36(%rbp), %ebx
	leaq	L_.str.11(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	8(%r12), %rax
	movl	4(%rax), %esi
LBB0_26:
	movq	%r15, %rdi
	callq	_lua_pushinteger
	jmp	LBB0_32
LBB0_29:
	movl	-36(%rbp), %ebx
	leaq	L_.str.12(%rip), %rdi
	callq	_C
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strleq
	testq	%rax, %rax
	je	LBB0_30
## %bb.34:
	movq	8(%r12), %rax
	jmp	LBB0_21
LBB0_30:
	movq	8(%r12), %rdx
LBB0_31:
	movq	_G_STRLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rcx
	leaq	L_.str.13(%rip), %rdi
	movq	%r14, %r8
	callq	_g_critical
	movq	%r15, %rdi
	callq	_lua_pushnil
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default_db"

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

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	".address is deprecated. Use .src.name or .dst.name instead"

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

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

L_.str.8:                               ## @.str.8
	.asciz	"username"

L_.str.9:                               ## @.str.9
	.asciz	"scrambled_password"

L_.str.10:                              ## @.str.10
	.asciz	"mysqld_version"

L_.str.11:                              ## @.str.11
	.asciz	"thread_id"

L_.str.12:                              ## @.str.12
	.asciz	"scramble_buffer"

L_.str.13:                              ## @.str.13
	.asciz	"%s: sock->challenge: %p, sock->response: %p (looking for %s)"

	.comm	_G_STRLOC,4,2                   ## @G_STRLOC
	.no_dead_strip	_proxy_socket_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proxy_socket_get
_proxy_socket_get:                      ; @proxy_socket_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	_luaL_checkself
	ldr	x22, [x0]
	str	wzr, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #2
	bl	_luaL_checklstring
	mov	x20, x0
	ldr	w21, [sp, #12]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x22, #48]
	b	LBB0_8
LBB0_2:
	ldr	w21, [sp, #12]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x22, #40]
	b	LBB0_8
LBB0_4:
	ldr	w21, [sp, #12]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x22, #32]
	b	LBB0_8
LBB0_6:
	ldr	w21, [sp, #12]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_12
; %bb.7:
	ldr	x8, [x22, #24]
LBB0_8:
	ldp	w8, w1, [x8]
	str	x8, [sp]
LBB0_9:
	mov	x0, x19
	bl	_lua_pushlstring
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
	ldr	w21, [sp, #12]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_14
; %bb.13:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_luaL_error
	b	LBB0_11
LBB0_14:
	ldr	w21, [sp, #12]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w1, [x22, #20]
	b	LBB0_18
LBB0_16:
	ldr	w21, [sp, #12]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_19
; %bb.17:
	ldr	w1, [x22, #16]
LBB0_18:
	mov	x0, x19
	bl	_network_address_lua_push
	b	LBB0_11
LBB0_19:
	ldr	x8, [x22]
	cbz	x8, LBB0_26
; %bb.20:
	ldr	w21, [sp, #12]
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_22
; %bb.21:
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	b	LBB0_25
LBB0_22:
	ldr	w21, [sp, #12]
Lloh18:
	adrp	x0, l_.str.9@PAGE
Lloh19:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_26
; %bb.23:
	ldr	x8, [x22]
LBB0_24:
	ldr	w0, [x8]
LBB0_25:
	bl	_S
	mov	x1, x0
	b	LBB0_9
LBB0_26:
	ldr	x2, [x22, #8]
	cbz	x2, LBB0_35
; %bb.27:
	ldr	w21, [sp, #12]
Lloh20:
	adrp	x0, l_.str.10@PAGE
Lloh21:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_29
; %bb.28:
	ldr	x8, [x22, #8]
	ldr	w1, [x8, #8]
	b	LBB0_31
LBB0_29:
	ldr	w21, [sp, #12]
Lloh22:
	adrp	x0, l_.str.11@PAGE
Lloh23:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_32
; %bb.30:
	ldr	x8, [x22, #8]
	ldr	w1, [x8, #4]
LBB0_31:
	mov	x0, x19
	bl	_lua_pushinteger
	b	LBB0_10
LBB0_32:
	ldr	w21, [sp, #12]
Lloh24:
	adrp	x0, l_.str.12@PAGE
Lloh25:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strleq
	cbz	x0, LBB0_34
; %bb.33:
	ldr	x8, [x22, #8]
	b	LBB0_24
LBB0_34:
	ldr	x2, [x22, #8]
LBB0_35:
Lloh26:
	adrp	x8, _G_STRLOC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x3, [x22]
Lloh29:
	adrp	x0, l_.str.13@PAGE
Lloh30:
	add	x0, x0, l_.str.13@PAGEOFF
	mov	x4, x20
	bl	_g_critical
	mov	x0, x19
	bl	_lua_pushnil
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default_db"

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

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	".address is deprecated. Use .src.name or .dst.name instead"

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

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

l_.str.8:                               ; @.str.8
	.asciz	"username"

l_.str.9:                               ; @.str.9
	.asciz	"scrambled_password"

l_.str.10:                              ; @.str.10
	.asciz	"mysqld_version"

l_.str.11:                              ; @.str.11
	.asciz	"thread_id"

l_.str.12:                              ; @.str.12
	.asciz	"scramble_buffer"

l_.str.13:                              ; @.str.13
	.asciz	"%s: sock->challenge: %p, sock->response: %p (looking for %s)"

	.comm	_G_STRLOC,4,2                   ; @G_STRLOC
	.no_dead_strip	_proxy_socket_get
.subsections_via_symbols
