	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_name_servers               ## -- Begin function set_name_servers
	.p2align	4, 0x90
_set_name_servers:                      ## @set_name_servers
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	l___const.set_name_servers.Buffer(%rip), %rsi
	leaq	-256(%rbp), %r15
	movl	$200, %edx
	movq	%r15, %rdi
	callq	_memcpy
	movq	(%rbx), %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	-260(%rbp), %r8
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_RegOpenKeyExA
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.1:
	movq	(%r14), %rax
	movq	_DHO_DOMAIN_NAME_SERVERS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %r12d
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.2:
	movl	%r12d, %edi
	andl	$-4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %rbx
	movb	$0, (%rax)
	cmpl	$4, %r12d
	jl	LBB0_8
## %bb.4:
	sarl	$2, %r12d
	leal	-1(%r12), %r13d
	cmpl	$2, %r12d
	movl	$1, %r15d
	cmovgel	%r12d, %r15d
	shlq	$2, %r13
	shlq	$2, %r15
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %r12
	cmpq	%r12, %r15
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	_DHO_DOMAIN_NAME_SERVERS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rsi
	addq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	$4, %edi
	callq	_piaddr
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcat
	cmpq	%r12, %r13
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	jmp	LBB0_7
LBB0_8:
	movq	_MID_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_DH_DbgPrint
	movl	-260(%rbp), %r14d
	movq	_REG_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %r9
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_RegSetValueExA
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_10
LBB0_9:
	movl	-260(%rbp), %edi
	leaq	l_.str.3(%rip), %rsi
	callq	_RegDeleteValueW
LBB0_10:
	movl	-260(%rbp), %edi
	callq	_RegCloseKey
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.set_name_servers.Buffer
l___const.set_name_servers.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_DOMAIN_NAME_SERVERS,8,3    ## @DHO_DOMAIN_NAME_SERVERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

	.comm	_MID_TRACE,4,2                  ## @MID_TRACE
L_.str.2:                               ## @.str.2
	.asciz	"DhcpNameServer"

	.comm	_REG_SZ,4,2                     ## @REG_SZ
	.section	__TEXT,__const
	.p2align	2                               ## @.str.3
l_.str.3:
	.long	68                              ## 0x44
	.long	104                             ## 0x68
	.long	99                              ## 0x63
	.long	112                             ## 0x70
	.long	78                              ## 0x4e
	.long	97                              ## 0x61
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	118                             ## 0x76
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_name_servers               ; -- Begin function set_name_servers
	.p2align	2
_set_name_servers:                      ; @set_name_servers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, l___const.set_name_servers.Buffer@PAGE
Lloh4:
	add	x8, x8, l___const.set_name_servers.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]
	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, #12
	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.ne	LBB0_11
; %bb.1:
	ldr	x8, [x19]
Lloh14:
	adrp	x22, _DHO_DOMAIN_NAME_SERVERS@GOTPAGE
Lloh15:
	ldr	x22, [x22, _DHO_DOMAIN_NAME_SERVERS@GOTPAGEOFF]
	ldr	x9, [x22]
	lsl	x9, x9, #4
	ldr	w21, [x8, x9]
	cbz	w21, LBB0_9
; %bb.2:
	and	w0, w21, #0xfffffffc
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x20, x0
	strb	wzr, [x0]
	cmp	w21, #4
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	asr	w8, w21, #2
	subs	w9, w8, #1
	csinc	w8, w8, wzr, gt
	lsl	x24, x9, #2
	lsl	x25, x8, #2
Lloh16:
	adrp	x21, l_.str@PAGE
Lloh17:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #4
	cmp	x25, x23
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
	add	x1, x23, x8
	mov	w2, #4
	bl	_memcpy
	mov	w0, #4
	bl	_piaddr
	mov	x1, x0
	mov	x0, x20
	bl	_strcat
	cmp	x24, x23
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_strcat
	b	LBB0_5
LBB0_8:
Lloh18:
	adrp	x8, _MID_TRACE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MID_TRACE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_DH_DbgPrint
	ldr	w19, [sp, #12]
Lloh21:
	adrp	x8, _REG_SZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_SZ@GOTPAGEOFF]
Lloh23:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_strlen
	add	x5, x0, #1
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	mov	x4, x20
	bl	_RegSetValueExA
	mov	x0, x20
	bl	_free
	b	LBB0_10
LBB0_9:
	ldr	w0, [sp, #12]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_RegDeleteValueW
LBB0_10:
	ldr	w0, [sp, #12]
	bl	_RegCloseKey
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_13:
	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	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.set_name_servers.Buffer:      ; @__const.set_name_servers.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_DOMAIN_NAME_SERVERS,8,3    ; @DHO_DOMAIN_NAME_SERVERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

	.comm	_MID_TRACE,4,2                  ; @MID_TRACE
l_.str.2:                               ; @.str.2
	.asciz	"DhcpNameServer"

	.comm	_REG_SZ,4,2                     ; @REG_SZ
	.section	__TEXT,__const
	.p2align	2                               ; @.str.3
l_.str.3:
	.long	68                              ; 0x44
	.long	104                             ; 0x68
	.long	99                              ; 0x63
	.long	112                             ; 0x70
	.long	78                              ; 0x4e
	.long	97                              ; 0x61
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	118                             ; 0x76
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	0                               ; 0x0

.subsections_via_symbols
