	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_table_key_to_mysql_field
_lua_table_key_to_mysql_field:          ## @lua_table_key_to_mysql_field
	.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
	xorl	%eax, %eax
	callq	_network_mysqld_proto_fielddef_new
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_isstring
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_isnumber
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_isnumber
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_tointeger
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_g_strdup_printf
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	movl	$-2, %esi
	callq	_lua_tostring
	movq	%rax, %rdi
LBB0_6:
	callq	_g_strdup
LBB0_7:
	movq	%rax, 8(%r15)
	movq	_FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_g_ptr_array_add
	xorl	%eax, %eax
	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	"%ld"

L_.str.1:                               ## @.str.1
	.asciz	"(hmm)"

	.comm	_FIELD_TYPE_VAR_STRING,4,2      ## @FIELD_TYPE_VAR_STRING
	.no_dead_strip	_lua_table_key_to_mysql_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_table_key_to_mysql_field
_lua_table_key_to_mysql_field:          ; @lua_table_key_to_mysql_field
	.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, x1
	mov	x21, x0
	bl	_network_mysqld_proto_fielddef_new
	mov	x20, x0
	mov	x0, x21
	mov	w1, #-2
	bl	_lua_isstring
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #-2
	bl	_lua_isnumber
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x21
	mov	w1, #-2
	bl	_lua_isnumber
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	w1, #-2
	bl	_lua_tointeger
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_strdup_printf
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	mov	w1, #-2
	bl	_lua_tostring
LBB0_6:
	bl	_g_strdup
LBB0_7:
	str	x0, [x20, #8]
Lloh4:
	adrp	x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_g_ptr_array_add
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ld"

l_.str.1:                               ; @.str.1
	.asciz	"(hmm)"

	.comm	_FIELD_TYPE_VAR_STRING,4,2      ; @FIELD_TYPE_VAR_STRING
	.no_dead_strip	_lua_table_key_to_mysql_field
.subsections_via_symbols
