	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connections_on_initdialog
_connections_on_initdialog:             ## @connections_on_initdialog
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INTERNET_MAX_URL_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	shlq	$3, %r14
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r13d
	shlq	$3, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_IDC_EDIT_PAC_SCRIPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movq	_EM_LIMITTEXT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_IDC_EDIT_PROXY_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movl	(%r15), %esi
	movl	(%rbx), %edx
	addl	$-10, %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_IDC_EDIT_PROXY_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	movl	(%r15), %esi
	movl	%eax, %edi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_internet_settings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	callq	_RegOpenKeyW
	testq	%rax, %rax
	jne	LBB0_30
## %bb.1:
	movl	%r12d, -80(%rbp)                ## 4-byte Spill
	movq	$8, -64(%rbp)
	movl	-52(%rbp), %edi
	movq	_proxy_enable@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-72(%rbp), %rcx
	leaq	-88(%rbp), %r8
	leaq	-64(%rbp), %r9
	xorl	%edx, %edx
	callq	_RegQueryValueExW
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	-72(%rbp), %rax
	movq	_REG_DWORD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
LBB0_3:
	movq	$0, -88(%rbp)
LBB0_4:
	movq	%r14, -64(%rbp)
	movl	-52(%rbp), %edi
	movq	_proxy_server@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-72(%rbp), %rcx
	leaq	-64(%rbp), %r9
	xorl	%edx, %edx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r8
	callq	_RegQueryValueExW
	testq	%rax, %rax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_6
## %bb.5:
	movq	-72(%rbp), %rax
	movq	_REG_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
LBB0_6:
	movq	$0, (%r12)
LBB0_7:
	movq	%r13, -64(%rbp)
	movl	-52(%rbp), %edi
	movq	_auto_config_url@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-72(%rbp), %rcx
	leaq	-64(%rbp), %r9
	xorl	%edx, %edx
	movq	%r15, %r8
	callq	_RegQueryValueExW
	testq	%rax, %rax
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_9
## %bb.8:
	movq	-72(%rbp), %rax
	movq	_REG_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
LBB0_9:
	movq	$0, (%r15)
LBB0_10:
	movl	-52(%rbp), %edi
	movq	_connections@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-76(%rbp), %rdx
	callq	_RegOpenKeyW
	movq	%rax, %rbx
	movl	-52(%rbp), %edi
	callq	_RegCloseKey
	testq	%rbx, %rbx
	movq	_IDC_EDIT_PROXY_SERVER@GOTPCREL(%rip), %r13
	jne	LBB0_23
## %bb.11:
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	leaq	-72(%rbp), %r13
	leaq	-64(%rbp), %r14
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_heap_realloc
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movl	-76(%rbp), %edi
	movq	_default_connection_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_RegQueryValueExW
	cmpq	(%r12), %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.16:
	movq	%rax, %r15
	movl	-76(%rbp), %edi
	callq	_RegCloseKey
	testq	%r15, %r15
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	_IDC_EDIT_PROXY_SERVER@GOTPCREL(%rip), %r13
	jne	LBB0_22
## %bb.17:
	movq	-72(%rbp), %rax
	movq	_REG_BINARY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.18:
	movq	(%rbx), %rsi
	movq	_CONNECTION_SETTINGS_VERSION@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_19
## %bb.20:
	movq	_CONNECTION_SETTINGS_WPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_22
## %bb.21:
	movq	_IDC_USE_WPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BST_CHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_CheckDlgButton
	jmp	LBB0_22
LBB0_15:
	movl	-76(%rbp), %edi
	callq	_RegCloseKey
	movq	%rbx, %rdi
	callq	_heap_free
	jmp	LBB0_30
LBB0_19:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
LBB0_22:
	movq	%rbx, %rdi
	callq	_heap_free
LBB0_23:
	movq	-88(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_TRACE
	movq	%r12, %rdi
	callq	_wine_dbgstr_w
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_TRACE
	movq	_auto_config_url@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_wine_dbgstr_w
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	callq	_TRACE
	cmpq	$0, -88(%rbp)
	je	LBB0_25
## %bb.24:
	movq	_IDC_USE_PROXY_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BST_CHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_CheckDlgButton
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_EnableWindow
	movq	_IDC_EDIT_PROXY_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_EnableWindow
LBB0_25:
	movq	%r12, %rdi
	movl	$58, %esi
	callq	_strchrW
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movq	%rax, %rbx
	movq	$0, (%rax)
	addq	$8, %rbx
	movq	_IDC_EDIT_PROXY_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%r12, %rdx
	callq	_SetDlgItemTextW
	movq	%rbx, %r12
	movq	_IDC_EDIT_PROXY_PORT@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_26:
	movq	%r13, %rax
LBB0_28:
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%r12, %rdx
	callq	_SetDlgItemTextW
	cmpq	$0, (%r15)
	je	LBB0_30
## %bb.29:
	movq	_IDC_USE_PAC_SCRIPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BST_CHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_CheckDlgButton
	movq	_IDC_EDIT_PAC_SCRIPT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_EnableWindow
	movl	(%rbx), %esi
	movl	%r14d, %edi
	movq	%r15, %rdx
	callq	_SetDlgItemTextW
LBB0_30:
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTERNET_MAX_URL_LENGTH,4,2    ## @INTERNET_MAX_URL_LENGTH
	.comm	_IDC_EDIT_PAC_SCRIPT,4,2        ## @IDC_EDIT_PAC_SCRIPT
	.comm	_EM_LIMITTEXT,4,2               ## @EM_LIMITTEXT
	.comm	_IDC_EDIT_PROXY_SERVER,4,2      ## @IDC_EDIT_PROXY_SERVER
	.comm	_IDC_EDIT_PROXY_PORT,4,2        ## @IDC_EDIT_PROXY_PORT
	.comm	_HKEY_CURRENT_USER,4,2          ## @HKEY_CURRENT_USER
	.comm	_internet_settings,4,2          ## @internet_settings
	.comm	_proxy_enable,8,3               ## @proxy_enable
	.comm	_REG_DWORD,8,3                  ## @REG_DWORD
	.comm	_proxy_server,8,3               ## @proxy_server
	.comm	_REG_SZ,8,3                     ## @REG_SZ
	.comm	_auto_config_url,8,3            ## @auto_config_url
	.comm	_connections,4,2                ## @connections
	.comm	_default_connection_settings,8,3 ## @default_connection_settings
	.comm	_ERROR_MORE_DATA,8,3            ## @ERROR_MORE_DATA
	.comm	_REG_BINARY,8,3                 ## @REG_BINARY
	.comm	_CONNECTION_SETTINGS_VERSION,8,3 ## @CONNECTION_SETTINGS_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected structure version (%x)\n"

	.comm	_CONNECTION_SETTINGS_WPAD,4,2   ## @CONNECTION_SETTINGS_WPAD
	.comm	_IDC_USE_WPAD,4,2               ## @IDC_USE_WPAD
	.comm	_BST_CHECKED,4,2                ## @BST_CHECKED
L_.str.1:                               ## @.str.1
	.asciz	"ProxyEnable = %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"ProxyServer = %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"AutoConfigURL = %s\n"

	.comm	_IDC_USE_PROXY_SERVER,4,2       ## @IDC_USE_PROXY_SERVER
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_IDC_USE_PAC_SCRIPT,4,2         ## @IDC_USE_PAC_SCRIPT
	.no_dead_strip	_connections_on_initdialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connections_on_initdialog
_connections_on_initdialog:             ; @connections_on_initdialog
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x25, _INTERNET_MAX_URL_LENGTH@GOTPAGE
Lloh4:
	ldr	x25, [x25, _INTERNET_MAX_URL_LENGTH@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	x23, x8, #3
	mov	x9, x23
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0xffffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	w8, [x25]
	lsl	x22, x8, #3
	mov	x9, x22
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0xffffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh9:
	adrp	x8, _IDC_EDIT_PAC_SCRIPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDC_EDIT_PAC_SCRIPT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_GetDlgItem
Lloh12:
	adrp	x28, _EM_LIMITTEXT@GOTPAGE
Lloh13:
	ldr	x28, [x28, _EM_LIMITTEXT@GOTPAGEOFF]
	ldr	w1, [x28]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_SendMessageW
Lloh14:
	adrp	x26, _IDC_EDIT_PROXY_SERVER@GOTPAGE
Lloh15:
	ldr	x26, [x26, _IDC_EDIT_PROXY_SERVER@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x28]
	ldr	w8, [x25]
	sub	w2, w8, #10
	mov	w3, #0
	bl	_SendMessageW
Lloh16:
	adrp	x27, _IDC_EDIT_PROXY_PORT@GOTPAGE
Lloh17:
	ldr	x27, [x27, _IDC_EDIT_PROXY_PORT@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x28]
	mov	w2, #8
	mov	w3, #0
	bl	_SendMessageW
Lloh18:
	adrp	x8, _HKEY_CURRENT_USER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HKEY_CURRENT_USER@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _internet_settings@GOTPAGE
Lloh22:
	ldr	x8, [x8, _internet_settings@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	sub	x2, x29, #116
	bl	_RegOpenKeyW
	cbnz	x0, LBB0_28
; %bb.1:
	mov	w8, #8
	stur	x8, [x29, #-104]
	ldur	w0, [x29, #-116]
Lloh24:
	adrp	x8, _proxy_enable@GOTPAGE
Lloh25:
	ldr	x8, [x8, _proxy_enable@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	sub	x3, x29, #96
	sub	x4, x29, #112
	sub	x5, x29, #104
	mov	x2, #0
	bl	_RegQueryValueExW
	cbnz	x0, LBB0_3
; %bb.2:
	ldur	x8, [x29, #-96]
Lloh27:
	adrp	x9, _REG_DWORD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _REG_DWORD@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_3:
	stur	xzr, [x29, #-112]
LBB0_4:
	stur	x23, [x29, #-104]
	ldur	w0, [x29, #-116]
Lloh30:
	adrp	x8, _proxy_server@GOTPAGE
Lloh31:
	ldr	x8, [x8, _proxy_server@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x8]
	sub	x3, x29, #96
	sub	x5, x29, #104
	mov	x2, #0
	mov	x4, x21
	bl	_RegQueryValueExW
	cbnz	x0, LBB0_6
; %bb.5:
	ldur	x8, [x29, #-96]
Lloh33:
	adrp	x9, _REG_SZ@GOTPAGE
Lloh34:
	ldr	x9, [x9, _REG_SZ@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_6:
	str	xzr, [x21]
LBB0_7:
	stur	x22, [x29, #-104]
	ldur	w0, [x29, #-116]
Lloh36:
	adrp	x23, _auto_config_url@GOTPAGE
Lloh37:
	ldr	x23, [x23, _auto_config_url@GOTPAGEOFF]
	ldr	x1, [x23]
	sub	x3, x29, #96
	sub	x5, x29, #104
	mov	x2, #0
	mov	x4, x20
	bl	_RegQueryValueExW
	cbnz	x0, LBB0_9
; %bb.8:
	ldur	x8, [x29, #-96]
Lloh38:
	adrp	x9, _REG_SZ@GOTPAGE
Lloh39:
	ldr	x9, [x9, _REG_SZ@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
LBB0_9:
	str	xzr, [x20]
LBB0_10:
	ldur	w0, [x29, #-116]
Lloh41:
	adrp	x8, _connections@GOTPAGE
Lloh42:
	ldr	x8, [x8, _connections@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	sub	x2, x29, #120
	bl	_RegOpenKeyW
	mov	x22, x0
	ldur	w0, [x29, #-116]
	bl	_RegCloseKey
	cbnz	x22, LBB0_22
; %bb.11:
	mov	x0, #0
	stur	xzr, [x29, #-104]
Lloh44:
	adrp	x25, _default_connection_settings@GOTPAGE
Lloh45:
	ldr	x25, [x25, _default_connection_settings@GOTPAGEOFF]
Lloh46:
	adrp	x28, _ERROR_MORE_DATA@GOTPAGE
Lloh47:
	ldr	x28, [x28, _ERROR_MORE_DATA@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x0
	ldur	w0, [x29, #-120]
	ldr	x1, [x25]
	sub	x3, x29, #96
	sub	x5, x29, #104
	mov	x2, #0
	mov	x4, x22
	bl	_RegQueryValueExW
	ldr	x8, [x28]
	cmp	x0, x8
	ccmp	x22, #0, #4, ne
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	x1, [x29, #-104]
	mov	x0, x22
	bl	_heap_realloc
	cbnz	x0, LBB0_12
; %bb.14:
	ldur	w0, [x29, #-120]
	bl	_RegCloseKey
	mov	x0, x22
	bl	_heap_free
	b	LBB0_28
LBB0_15:
	mov	x23, x0
	ldur	w0, [x29, #-120]
	bl	_RegCloseKey
	cbnz	x23, LBB0_21
; %bb.16:
	ldur	x8, [x29, #-96]
Lloh48:
	adrp	x9, _REG_BINARY@GOTPAGE
Lloh49:
	ldr	x9, [x9, _REG_BINARY@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.17:
	ldr	x1, [x22]
Lloh51:
	adrp	x8, _CONNECTION_SETTINGS_VERSION@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CONNECTION_SETTINGS_VERSION@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_20
; %bb.18:
	ldr	w8, [x22, #8]
Lloh54:
	adrp	x9, _CONNECTION_SETTINGS_WPAD@GOTPAGE
Lloh55:
	ldr	x9, [x9, _CONNECTION_SETTINGS_WPAD@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:
Lloh57:
	adrp	x8, _IDC_USE_WPAD@GOTPAGE
Lloh58:
	ldr	x8, [x8, _IDC_USE_WPAD@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
Lloh60:
	adrp	x8, _BST_CHECKED@GOTPAGE
Lloh61:
	ldr	x8, [x8, _BST_CHECKED@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CheckDlgButton
	b	LBB0_21
LBB0_20:
Lloh63:
	adrp	x0, l_.str@PAGE
Lloh64:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
LBB0_21:
	mov	x0, x22
	bl	_heap_free
Lloh65:
	adrp	x23, _auto_config_url@GOTPAGE
Lloh66:
	ldr	x23, [x23, _auto_config_url@GOTPAGEOFF]
LBB0_22:
	ldur	x1, [x29, #-112]
Lloh67:
	adrp	x0, l_.str.1@PAGE
Lloh68:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	mov	x0, x21
	bl	_wine_dbgstr_w
	mov	x1, x0
Lloh69:
	adrp	x0, l_.str.2@PAGE
Lloh70:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	x0, [x23]
	bl	_wine_dbgstr_w
	mov	x1, x0
Lloh71:
	adrp	x0, l_.str.3@PAGE
Lloh72:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
	ldur	x8, [x29, #-112]
Lloh73:
	adrp	x28, _BST_CHECKED@GOTPAGE
Lloh74:
	ldr	x28, [x28, _BST_CHECKED@GOTPAGEOFF]
Lloh75:
	adrp	x23, _TRUE@GOTPAGE
Lloh76:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	cbz	x8, LBB0_24
; %bb.23:
Lloh77:
	adrp	x8, _IDC_USE_PROXY_SERVER@GOTPAGE
Lloh78:
	ldr	x8, [x8, _IDC_USE_PROXY_SERVER@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x19
	bl	_CheckDlgButton
	ldr	w1, [x26]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x23]
	bl	_EnableWindow
	ldr	w1, [x27]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x23]
	bl	_EnableWindow
LBB0_24:
	mov	x0, x21
	mov	w1, #58
	bl	_strchrW
Lloh80:
	adrp	x8, _IDC_EDIT_PROXY_SERVER@GOTPAGE
Lloh81:
	ldr	x8, [x8, _IDC_EDIT_PROXY_SERVER@GOTPAGEOFF]
	cbz	x0, LBB0_26
; %bb.25:
	mov	x22, x0
	str	xzr, [x22], #8
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_SetDlgItemTextW
Lloh82:
	adrp	x8, _IDC_EDIT_PROXY_PORT@GOTPAGE
Lloh83:
	ldr	x8, [x8, _IDC_EDIT_PROXY_PORT@GOTPAGEOFF]
	mov	x21, x22
LBB0_26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_SetDlgItemTextW
	ldr	x8, [x20]
	cbz	x8, LBB0_28
; %bb.27:
Lloh84:
	adrp	x8, _IDC_USE_PAC_SCRIPT@GOTPAGE
Lloh85:
	ldr	x8, [x8, _IDC_USE_PAC_SCRIPT@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x19
	bl	_CheckDlgButton
Lloh87:
	adrp	x21, _IDC_EDIT_PAC_SCRIPT@GOTPAGE
Lloh88:
	ldr	x21, [x21, _IDC_EDIT_PAC_SCRIPT@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x23]
	bl	_EnableWindow
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_SetDlgItemTextW
LBB0_28:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh89:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh90:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_INTERNET_MAX_URL_LENGTH,4,2    ; @INTERNET_MAX_URL_LENGTH
	.comm	_IDC_EDIT_PAC_SCRIPT,4,2        ; @IDC_EDIT_PAC_SCRIPT
	.comm	_EM_LIMITTEXT,4,2               ; @EM_LIMITTEXT
	.comm	_IDC_EDIT_PROXY_SERVER,4,2      ; @IDC_EDIT_PROXY_SERVER
	.comm	_IDC_EDIT_PROXY_PORT,4,2        ; @IDC_EDIT_PROXY_PORT
	.comm	_HKEY_CURRENT_USER,4,2          ; @HKEY_CURRENT_USER
	.comm	_internet_settings,4,2          ; @internet_settings
	.comm	_proxy_enable,8,3               ; @proxy_enable
	.comm	_REG_DWORD,8,3                  ; @REG_DWORD
	.comm	_proxy_server,8,3               ; @proxy_server
	.comm	_REG_SZ,8,3                     ; @REG_SZ
	.comm	_auto_config_url,8,3            ; @auto_config_url
	.comm	_connections,4,2                ; @connections
	.comm	_default_connection_settings,8,3 ; @default_connection_settings
	.comm	_ERROR_MORE_DATA,8,3            ; @ERROR_MORE_DATA
	.comm	_REG_BINARY,8,3                 ; @REG_BINARY
	.comm	_CONNECTION_SETTINGS_VERSION,8,3 ; @CONNECTION_SETTINGS_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected structure version (%x)\n"

	.comm	_CONNECTION_SETTINGS_WPAD,4,2   ; @CONNECTION_SETTINGS_WPAD
	.comm	_IDC_USE_WPAD,4,2               ; @IDC_USE_WPAD
	.comm	_BST_CHECKED,4,2                ; @BST_CHECKED
l_.str.1:                               ; @.str.1
	.asciz	"ProxyEnable = %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"ProxyServer = %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"AutoConfigURL = %s\n"

	.comm	_IDC_USE_PROXY_SERVER,4,2       ; @IDC_USE_PROXY_SERVER
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_IDC_USE_PAC_SCRIPT,4,2         ; @IDC_USE_PAC_SCRIPT
	.no_dead_strip	_connections_on_initdialog
.subsections_via_symbols
