	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proxy_backends_pwds
_proxy_backends_pwds:                   ## @proxy_backends_pwds
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_luaL_checkself
	movq	(%rax), %r14
	movq	%r13, %rdi
	movl	$-1, %esi
	callq	_lua_tointeger
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	$-2, %esi
	callq	_lua_tostring
	movq	%rax, %r15
	movq	%r13, %rdi
	movl	$-3, %esi
	callq	_lua_tostring
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_proxy_pwds_exist
	cmpl	$128, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$130, %ebx
	je	LBB0_7
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_9
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_network_backends_removepwd
	jmp	LBB0_13
LBB0_7:
	testl	%eax, %eax
	je	LBB0_11
LBB0_8:
	movq	_ERR_USER_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_14
LBB0_9:
	xorl	%eax, %eax
	callq	_g_assert_not_reached
	movl	$-1, %esi
	jmp	LBB0_14
LBB0_10:
	movq	_ERR_USER_NOT_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_14
LBB0_11:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_network_backends_addpwd
LBB0_13:
	movl	%eax, %esi
LBB0_14:
	movq	%r13, %rdi
	callq	_lua_pushinteger
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_USER_EXIST,4,2             ## @ERR_USER_EXIST
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_ERR_USER_NOT_EXIST,4,2         ## @ERR_USER_NOT_EXIST
	.no_dead_strip	_proxy_backends_pwds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proxy_backends_pwds
_proxy_backends_pwds:                   ; @proxy_backends_pwds
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_luaL_checkself
	ldr	x20, [x0]
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_tointeger
	mov	x23, x0
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_tostring
	mov	x21, x0
	mov	x0, x19
	mov	w1, #-3
	bl	_lua_tostring
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_proxy_pwds_exist
	cmp	w23, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w23, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	w23, #129
	b.ne	LBB0_9
; %bb.3:
	cbnz	w0, LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x20
	mov	x1, x22
	bl	_network_backends_removepwd
	b	LBB0_13
LBB0_7:
	cbz	w0, LBB0_11
LBB0_8:
Lloh2:
	adrp	x8, _ERR_USER_EXIST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_USER_EXIST@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	b	LBB0_14
LBB0_9:
	bl	_g_assert_not_reached
	mov	w1, #-1
	b	LBB0_14
LBB0_10:
Lloh5:
	adrp	x8, _ERR_USER_NOT_EXIST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_USER_NOT_EXIST@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	b	LBB0_14
LBB0_11:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_12:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_network_backends_addpwd
LBB0_13:
	mov	x1, x0
LBB0_14:
	mov	x0, x19
	bl	_lua_pushinteger
	mov	w0, #1
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_USER_EXIST,4,2             ; @ERR_USER_EXIST
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_ERR_USER_NOT_EXIST,4,2         ; @ERR_USER_NOT_EXIST
	.no_dead_strip	_proxy_backends_pwds
.subsections_via_symbols
