	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvp_get_ipconfig_info
_kvp_get_ipconfig_info:                 ## @kvp_get_ipconfig_info
	.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	$648, %rsp                      ## imm = 0x288
	.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, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	movq	16(%r14), %rsi
	movq	_MAX_GATEWAY_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	addl	%edx, %edx
	movq	_INET_ADDRSTRLEN@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	_kvp_process_ipconfig_file
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	movq	16(%r14), %rsi
	movl	(%r13), %edx
	addl	%edx, %edx
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$1, %r8d
	callq	_kvp_process_ipconfig_file
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	xorl	%eax, %eax
	callq	_snprintf
	movq	8(%r14), %rsi
	movq	_MAX_IP_ADDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%edx, %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	_kvp_process_ipconfig_file
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.5(%rip), %rcx
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_snprintf
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_popen
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	leaq	-688(%rbp), %rdi
	movl	$128, %esi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdi
	movl	$7, %edx
	callq	_strncmp
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, (%r14)
LBB0_3:
	movq	%rbx, %rdi
	callq	_pclose
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$648, %rsp                      ## imm = 0x288
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"netstat -rn | grep %s | awk '/default/ {print $2 }'"

	.comm	_MAX_GATEWAY_SIZE,4,2           ## @MAX_GATEWAY_SIZE
	.comm	_INET_ADDRSTRLEN,4,2            ## @INET_ADDRSTRLEN
L_.str.1:                               ## @.str.1
	.asciz	"netstat -rn inet6 | grep %s | awk '/default/ {print $2 }'"

	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	"sh /usr/libexec/hyperv/hv_get_dns_info"

	.comm	_MAX_IP_ADDR_SIZE,4,2           ## @MAX_IP_ADDR_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"%s %s"

L_.str.5:                               ## @.str.5
	.asciz	"sh /usr/libexec/hyperv/hv_get_dhcp_info"

L_.str.6:                               ## @.str.6
	.asciz	"r"

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

	.no_dead_strip	_kvp_get_ipconfig_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvp_get_ipconfig_info
_kvp_get_ipconfig_info:                 ; @kvp_get_ipconfig_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #656
	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, #-56]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #136
	mov	w1, #512
	mov	x3, x20
	bl	_snprintf
Lloh5:
	adrp	x21, _MAX_GATEWAY_SIZE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _MAX_GATEWAY_SIZE@GOTPAGEOFF]
	ldr	x1, [x19, #16]
	ldr	w8, [x21]
	lsl	w2, w8, #1
Lloh7:
	adrp	x22, _INET_ADDRSTRLEN@GOTPAGE
Lloh8:
	ldr	x22, [x22, _INET_ADDRSTRLEN@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x0, sp, #136
	mov	w4, #0
	bl	_kvp_process_ipconfig_file
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #136
	mov	w1, #512
	mov	x3, x20
	bl	_snprintf
	ldr	x1, [x19, #16]
	ldr	w8, [x21]
	lsl	w2, w8, #1
Lloh11:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	add	x0, sp, #136
	mov	w4, #1
	bl	_kvp_process_ipconfig_file
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh16:
	adrp	x3, l_.str.3@PAGE
Lloh17:
	add	x3, x3, l_.str.3@PAGEOFF
	add	x0, sp, #136
	mov	w1, #512
	bl	_snprintf
	ldr	x1, [x19, #8]
Lloh18:
	adrp	x8, _MAX_IP_ADDR_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAX_IP_ADDR_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsl	w2, w8, #1
	ldr	w3, [x22]
	add	x0, sp, #136
	mov	w4, #0
	bl	_kvp_process_ipconfig_file
	str	x20, [sp]
Lloh21:
	adrp	x2, l_.str.4@PAGE
Lloh22:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh23:
	adrp	x3, l_.str.5@PAGE
Lloh24:
	add	x3, x3, l_.str.5@PAGEOFF
	add	x0, sp, #136
	mov	w1, #512
	bl	_snprintf
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #136
	bl	_popen
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_3
; %bb.2:
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #7
	bl	_strncmp
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19]
LBB0_3:
	mov	x0, x20
	bl	_pclose
LBB0_4:
	ldur	x8, [x29, #-56]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	add	sp, sp, #656
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"netstat -rn | grep %s | awk '/default/ {print $2 }'"

	.comm	_MAX_GATEWAY_SIZE,4,2           ; @MAX_GATEWAY_SIZE
	.comm	_INET_ADDRSTRLEN,4,2            ; @INET_ADDRSTRLEN
l_.str.1:                               ; @.str.1
	.asciz	"netstat -rn inet6 | grep %s | awk '/default/ {print $2 }'"

	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	"sh /usr/libexec/hyperv/hv_get_dns_info"

	.comm	_MAX_IP_ADDR_SIZE,4,2           ; @MAX_IP_ADDR_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"%s %s"

l_.str.5:                               ; @.str.5
	.asciz	"sh /usr/libexec/hyperv/hv_get_dhcp_info"

l_.str.6:                               ; @.str.6
	.asciz	"r"

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

	.no_dead_strip	_kvp_get_ipconfig_info
.subsections_via_symbols
