	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proxy_backend_set
_proxy_backend_set:                     ## @proxy_backend_set
	.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_2
## %bb.1:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_tointeger
	movl	%eax, 4(%r12)
	movl	$1, %eax
	jmp	LBB0_10
LBB0_2:
	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_8
## %bb.3:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_isstring
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_tolstring
	movl	(%r12), %edi
	movq	-48(%rbp), %rdx
	movq	%rax, %rsi
	callq	_g_string_assign_len
	movl	$1, %eax
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_5:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_isnil
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_g_string_truncate
	movl	$1, %eax
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_luaL_error
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"state"

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

L_.str.2:                               ## @.str.2
	.asciz	"proxy.global.backends[...].%s has to be a string"

L_.str.3:                               ## @.str.3
	.asciz	"proxy.global.backends[...].%s is not writable"

	.no_dead_strip	_proxy_backend_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proxy_backend_set
_proxy_backend_set:                     ; @proxy_backend_set
	.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:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_tointeger
	str	w0, [x22, #4]
	mov	w0, #1
	b	LBB0_10
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_5
; %bb.3:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_isstring
	cbz	x0, LBB0_6
; %bb.4:
	str	xzr, [sp]
	mov	x2, sp
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_tolstring
	mov	x1, x0
	ldr	w0, [x22]
	ldr	x2, [sp]
	bl	_g_string_assign_len
	mov	w0, #1
	b	LBB0_10
LBB0_5:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_6:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_isnil
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x22]
	mov	w1, #0
	bl	_g_string_truncate
	mov	w0, #1
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	mov	x0, x19
	mov	x2, x20
	bl	_luaL_error
LBB0_10:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"state"

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

l_.str.2:                               ; @.str.2
	.asciz	"proxy.global.backends[...].%s has to be a string"

l_.str.3:                               ; @.str.3
	.asciz	"proxy.global.backends[...].%s is not writable"

	.no_dead_strip	_proxy_backend_set
.subsections_via_symbols
