	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_adapter                  ## -- Begin function setup_adapter
	.p2align	4, 0x90
_setup_adapter:                         ## @setup_adapter
	.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	$248, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	l___const.setup_adapter.Buffer(%rip), %rsi
	leaq	-256(%rbp), %r15
	movl	$200, %edx
	movq	%r15, %rdi
	callq	_memcpy
	movq	56(%r12), %rsi
	movq	%r15, %rdi
	callq	_strcat
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KEY_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-264(%rbp), %r8
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_RegOpenKeyExA
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	$0, -264(%rbp)
LBB0_2:
	leaq	48(%r12), %r15
	movl	48(%r12), %edi
	testl	%edi, %edi
	je	LBB0_4
## %bb.3:
	callq	_DeleteIPAddress
	movl	$0, (%r15)
LBB0_4:
	movq	(%rbx), %rax
	movq	_DHO_SUBNET_MASK@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.5:
	movq	8(%rax,%rcx), %rsi
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movl	40(%r12), %edx
	leaq	44(%r12), %r8
	movq	%r15, %rcx
	callq	_AddIPAddress
	movl	%eax, %r13d
	movq	-264(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_12
## %bb.6:
	movl	%r13d, -268(%rbp)               ## 4-byte Spill
	movq	%r12, -280(%rbp)                ## 8-byte Spill
	movq	_REG_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	8(%rbx), %rdi
	callq	_piaddr
	movq	%rax, %r13
	movq	8(%rbx), %rdi
	callq	_piaddr
	movq	%rax, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r9d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	callq	_RegSetValueExA
	movb	$0, -256(%rbp)
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	shlq	$4, %rcx
	cmpl	$0, (%rax,%rcx)
	jle	LBB0_11
## %bb.7:
	xorl	%r15d, %r15d
	leaq	-256(%rbp), %r12
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rax, %r15
	jge	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %rdi
	addq	$-256, %rdi
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rax
	movl	(%rax,%r15,4), %edx
	movq	%r13, %rsi
	callq	_sprintf
	incq	%r15
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	shlq	$4, %rcx
	movslq	(%rax,%rcx), %rax
	cmpq	%rax, %r15
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcat
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	shlq	$4, %rcx
	movslq	(%rax,%rcx), %rax
	jmp	LBB0_10
LBB0_11:
	movq	-264(%rbp), %r15
	movq	_REG_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-256(%rbp), %r13
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r9d
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	callq	_RegSetValueExA
	movl	$1, -272(%rbp)
	movq	-264(%rbp), %rdi
	movq	_REG_DWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-272(%rbp), %r8
	leaq	L_.str.4(%rip), %rsi
	xorl	%edx, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	$4, %r9d
	callq	_RegSetValueExA
	movq	-280(%rbp), %r12                ## 8-byte Reload
	movl	-268(%rbp), %r13d               ## 4-byte Reload
LBB0_12:
	movl	%r13d, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rdi
	movl	%r13d, %esi
	callq	_warning
LBB0_14:
	movq	(%rbx), %rax
	movq	_DHO_ROUTERS@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	cmpl	$0, (%rax,%rdx)
	je	LBB0_27
## %bb.15:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movl	$1, (%r12)
	movl	40(%r12), %edx
	movl	%edx, 16(%r12)
	cmpq	$0, 8(%r12)
	je	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	callq	_DeleteIpForwardEntry
	movq	(%rbx), %rax
	movq	(%r13), %rcx
LBB0_17:
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	%r12, %rdi
	callq	_CreateIpForwardEntry
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.6(%rip), %rdi
	movl	%r14d, %esi
	callq	_warning
LBB0_19:
	movq	-264(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_29
## %bb.20:
	movb	$0, -256(%rbp)
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	shlq	$4, %rcx
	cmpl	$0, (%rax,%rcx)
	jle	LBB0_26
## %bb.21:
	xorl	%r12d, %r12d
	leaq	-256(%rbp), %r14
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rax, %r12
	jge	LBB0_25
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %rdi
	addq	$-256, %rdi
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rax
	movl	(%rax,%r12,4), %edx
	movq	%r15, %rsi
	callq	_sprintf
	incq	%r12
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	shlq	$4, %rcx
	movslq	(%rax,%rcx), %rax
	cmpq	%rax, %r12
	jge	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcat
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	shlq	$4, %rcx
	movslq	(%rax,%rcx), %rax
	jmp	LBB0_24
LBB0_25:
	movq	-264(%rbp), %r14
LBB0_26:
	movq	_REG_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-256(%rbp), %r15
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r9d
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	callq	_RegSetValueExA
LBB0_27:
	movq	-264(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	callq	_RegCloseKey
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.setup_adapter.Buffer
l___const.setup_adapter.Buffer:
	.asciz	"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces\\\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
	.comm	_KEY_WRITE,4,2                  ## @KEY_WRITE
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_DHO_SUBNET_MASK,8,3            ## @DHO_SUBNET_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DhcpIPAddress"

	.comm	_REG_SZ,4,2                     ## @REG_SZ
L_.str.1:                               ## @.str.1
	.asciz	"%u"

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

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

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

	.comm	_REG_DWORD,4,2                  ## @REG_DWORD
L_.str.5:                               ## @.str.5
	.asciz	"AddIPAddress: %lx\n"

	.comm	_DHO_ROUTERS,8,3                ## @DHO_ROUTERS
L_.str.6:                               ## @.str.6
	.asciz	"CreateIpForwardEntry: %lx\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_adapter                  ; -- Begin function setup_adapter
	.p2align	2
_setup_adapter:                         ; @setup_adapter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	mov	x19, x1
	mov	x20, x0
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	x8, l___const.setup_adapter.Buffer@PAGE
Lloh4:
	add	x8, x8, l___const.setup_adapter.Buffer@PAGEOFF
	ldp	q0, q1, [x8, #128]
	add	x9, sp, #16
	stp	q0, q1, [x9, #128]
	ldp	q0, q1, [x8, #160]
	stp	q0, q1, [x9, #160]
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #80]
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [sp, #112]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #48]
	str	xzr, [x9, #192]
	ldr	x1, [x0, #56]
	add	x0, sp, #16
	bl	_strcat
Lloh5:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _KEY_WRITE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KEY_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x4, sp, #8
	mov	w2, #0
	bl	_RegOpenKeyExA
Lloh11:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	str	xzr, [sp, #8]
LBB0_2:
	mov	x21, x20
	ldr	w0, [x21, #48]!
	cbz	w0, LBB0_4
; %bb.3:
	bl	_DeleteIPAddress
	str	wzr, [x21]
LBB0_4:
	ldr	x8, [x19]
Lloh14:
	adrp	x25, _DHO_SUBNET_MASK@GOTPAGE
Lloh15:
	ldr	x25, [x25, _DHO_SUBNET_MASK@GOTPAGEOFF]
	ldr	x9, [x25]
	lsl	x10, x9, #4
	ldr	w2, [x8, x10]
	cbz	w2, LBB0_14
; %bb.5:
	add	x8, x8, x9, lsl #4
	ldr	x1, [x8, #8]
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	w2, [x20, #40]
	add	x4, x20, #44
	mov	x3, x21
	bl	_AddIPAddress
	mov	x21, x0
	ldr	x22, [sp, #8]
	cbz	x22, LBB0_12
; %bb.6:
Lloh16:
	adrp	x26, _REG_SZ@GOTPAGE
Lloh17:
	ldr	x26, [x26, _REG_SZ@GOTPAGEOFF]
	ldr	w23, [x26]
	ldr	x0, [x19, #8]
	bl	_piaddr
	mov	x24, x0
	ldr	x0, [x19, #8]
	bl	_piaddr
	bl	_strlen
	add	w5, w0, #1
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	w2, #0
	mov	x3, x23
	mov	x4, x24
	bl	_RegSetValueExA
	strb	wzr, [sp, #16]
	ldr	x8, [x19]
	ldr	x9, [x25]
	lsl	x9, x9, #4
	ldr	w8, [x8, x9]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x24, #0
	add	x27, sp, #16
Lloh20:
	adrp	x22, l_.str.1@PAGE
Lloh21:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh22:
	adrp	x23, l_.str.2@PAGE
Lloh23:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	cmp	x24, x8
	b.ge	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	bl	_strlen
	add	x0, x27, w0, sxtw
	ldr	x8, [x19]
	ldr	x9, [x25]
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
	ldr	w2, [x8, x24, lsl #2]
	mov	x1, x22
	bl	_sprintf
	add	x24, x24, #1
	ldr	x8, [x19]
	ldr	x9, [x25]
	lsl	x9, x9, #4
	ldrsw	x8, [x8, x9]
	cmp	x24, x8
	b.ge	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #16
	mov	x1, x23
	bl	_strcat
	ldr	x8, [x19]
	ldr	x9, [x25]
	lsl	x9, x9, #4
	ldrsw	x8, [x8, x9]
	b	LBB0_8
LBB0_11:
	ldr	x22, [sp, #8]
	ldr	w23, [x26]
	add	x0, sp, #16
	bl	_strlen
	add	w5, w0, #1
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x4, sp, #16
	mov	x0, x22
	mov	w2, #0
	mov	x3, x23
	bl	_RegSetValueExA
	mov	w8, #1
	str	w8, [sp, #4]
	ldr	x0, [sp, #8]
Lloh26:
	adrp	x8, _REG_DWORD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _REG_DWORD@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x4, sp, #4
	mov	w2, #0
	mov	w5, #4
	bl	_RegSetValueExA
LBB0_12:
	mov	x0, x21
	bl	_NT_SUCCESS
	cbnz	w0, LBB0_14
; %bb.13:
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_warning
LBB0_14:
	ldr	x8, [x19]
Lloh33:
	adrp	x22, _DHO_ROUTERS@GOTPAGE
Lloh34:
	ldr	x22, [x22, _DHO_ROUTERS@GOTPAGEOFF]
	ldr	x9, [x22]
	lsl	x10, x9, #4
	ldr	w10, [x8, x10]
	cbz	w10, LBB0_27
; %bb.15:
	stp	xzr, xzr, [x20, #24]
	mov	w10, #1
	str	w10, [x20]
	ldr	w10, [x20, #40]
	str	w10, [x20, #16]
	ldr	x10, [x20, #8]
	cbz	x10, LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_DeleteIpForwardEntry
	ldr	x8, [x19]
	ldr	x9, [x22]
LBB0_17:
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	str	x8, [x20, #8]
	mov	x0, x20
	bl	_CreateIpForwardEntry
	mov	x20, x0
	bl	_NT_SUCCESS
	cbnz	w0, LBB0_19
; %bb.18:
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_warning
LBB0_19:
	ldr	x20, [sp, #8]
	cbz	x20, LBB0_29
; %bb.20:
	strb	wzr, [sp, #16]
	ldr	x8, [x19]
	ldr	x9, [x22]
	lsl	x9, x9, #4
	ldr	w8, [x8, x9]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.21:
	mov	x23, #0
	add	x24, sp, #16
Lloh37:
	adrp	x20, l_.str.1@PAGE
Lloh38:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh39:
	adrp	x21, l_.str.2@PAGE
Lloh40:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	cmp	x23, x8
	b.ge	LBB0_25
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	bl	_strlen
	add	x0, x24, w0, sxtw
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
	ldr	w2, [x8, x23, lsl #2]
	mov	x1, x20
	bl	_sprintf
	add	x23, x23, #1
	ldr	x8, [x19]
	ldr	x9, [x22]
	lsl	x9, x9, #4
	ldrsw	x8, [x8, x9]
	cmp	x23, x8
	b.ge	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x0, sp, #16
	mov	x1, x21
	bl	_strcat
	ldr	x8, [x19]
	ldr	x9, [x22]
	lsl	x9, x9, #4
	ldrsw	x8, [x8, x9]
	b	LBB0_22
LBB0_25:
	ldr	x20, [sp, #8]
LBB0_26:
Lloh41:
	adrp	x8, _REG_SZ@GOTPAGE
Lloh42:
	ldr	x8, [x8, _REG_SZ@GOTPAGEOFF]
Lloh43:
	ldr	w19, [x8]
	add	x0, sp, #16
	bl	_strlen
	add	w5, w0, #1
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x4, sp, #16
	mov	x0, x20
	mov	w2, #0
	mov	x3, x19
	bl	_RegSetValueExA
LBB0_27:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_29
; %bb.28:
	bl	_RegCloseKey
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.setup_adapter.Buffer:         ; @__const.setup_adapter.Buffer
	.asciz	"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces\\\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
	.comm	_KEY_WRITE,4,2                  ; @KEY_WRITE
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_DHO_SUBNET_MASK,8,3            ; @DHO_SUBNET_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DhcpIPAddress"

	.comm	_REG_SZ,4,2                     ; @REG_SZ
l_.str.1:                               ; @.str.1
	.asciz	"%u"

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

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

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

	.comm	_REG_DWORD,4,2                  ; @REG_DWORD
l_.str.5:                               ; @.str.5
	.asciz	"AddIPAddress: %lx\n"

	.comm	_DHO_ROUTERS,8,3                ; @DHO_ROUTERS
l_.str.6:                               ; @.str.6
	.asciz	"CreateIpForwardEntry: %lx\n"

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

.subsections_via_symbols
