	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvp_set_ip_info
_kvp_set_ip_info:                       ## @kvp_set_ip_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, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_snprintf
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_kvp_if_name_to_mac
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_kvp_write_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.6:
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	movq	%r13, %rcx
	callq	_kvp_write_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.7:
	movq	32(%r15), %rcx
	leaq	L_.str.8(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	callq	_kvp_write_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.8:
	movq	24(%r15), %rcx
	leaq	L_.str.9(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	callq	_kvp_write_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.9:
	movq	16(%r15), %rcx
	leaq	L_.str.10(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	callq	_kvp_write_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.10:
	movq	8(%r15), %rcx
	leaq	L_.str.11(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	callq	_kvp_write_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.11:
	cmpq	$0, (%r15)
	leaq	L_.str.14(%rip), %rax
	leaq	L_.str.13(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.12(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	callq	_kvp_write_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.12:
	movq	%r14, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_fclose
	leaq	L_.str.15(%rip), %rdx
	leaq	L_.str.16(%rip), %rcx
	leaq	-688(%rbp), %rbx
	leaq	-176(%rbp), %r8
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_system
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_KVP_LOG
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.17(%rip), %rsi
	callq	_KVP_LOG
	movq	%r14, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_fclose
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	addq	$648, %rsp                      ## imm = 0x288
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s"

L_.str.1:                               ## @.str.1
	.asciz	"/var/db/hyperv"

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

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

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.4:                               ## @.str.4
	.asciz	"FreeBSD Failed to open config file\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"HWADDR"

L_.str.6:                               ## @.str.6
	.space	1

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

L_.str.8:                               ## @.str.8
	.asciz	"IP_ADDR"

L_.str.9:                               ## @.str.9
	.asciz	"SUBNET"

L_.str.10:                              ## @.str.10
	.asciz	"GATEWAY"

L_.str.11:                              ## @.str.11
	.asciz	"DNS"

L_.str.12:                              ## @.str.12
	.asciz	"DHCP"

L_.str.13:                              ## @.str.13
	.asciz	"1"

L_.str.14:                              ## @.str.14
	.asciz	"0"

L_.str.15:                              ## @.str.15
	.asciz	"%s %s"

L_.str.16:                              ## @.str.16
	.asciz	"sh /usr/libexec/hyperv/hv_set_ifconfig"

L_.str.17:                              ## @.str.17
	.asciz	"Failed to write config file\n"

	.no_dead_strip	_kvp_set_ip_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvp_set_ip_info
_kvp_set_ip_info:                       ; @kvp_set_ip_info
	.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
	sub	sp, sp, #656
	mov	x21, x1
	mov	x23, 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
Lloh5:
	adrp	x3, l_.str.1@PAGE
Lloh6:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh7:
	adrp	x4, l_.str.2@PAGE
Lloh8:
	add	x4, x4, l_.str.2@PAGEOFF
	sub	x0, x29, #184
	mov	w1, #128
	bl	_snprintf
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	sub	x0, x29, #184
	bl	_fopen
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x0, x23
	bl	_kvp_if_name_to_mac
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.2:
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
Lloh13:
	adrp	x2, l_.str.6@PAGE
Lloh14:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_kvp_write_file
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.3:
Lloh15:
	adrp	x1, l_.str.7@PAGE
Lloh16:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh17:
	adrp	x2, l_.str.6@PAGE
Lloh18:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x3, x23
	bl	_kvp_write_file
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.4:
	ldr	x3, [x21, #32]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
Lloh21:
	adrp	x2, l_.str.6@PAGE
Lloh22:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_kvp_write_file
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	x3, [x21, #24]
Lloh23:
	adrp	x1, l_.str.9@PAGE
Lloh24:
	add	x1, x1, l_.str.9@PAGEOFF
Lloh25:
	adrp	x2, l_.str.6@PAGE
Lloh26:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_kvp_write_file
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.6:
	ldr	x3, [x21, #16]
Lloh27:
	adrp	x1, l_.str.10@PAGE
Lloh28:
	add	x1, x1, l_.str.10@PAGEOFF
Lloh29:
	adrp	x2, l_.str.6@PAGE
Lloh30:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_kvp_write_file
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.7:
	ldr	x3, [x21, #8]
Lloh31:
	adrp	x1, l_.str.11@PAGE
Lloh32:
	add	x1, x1, l_.str.11@PAGEOFF
Lloh33:
	adrp	x2, l_.str.6@PAGE
Lloh34:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_kvp_write_file
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.8:
	ldr	x8, [x21]
Lloh35:
	adrp	x9, l_.str.13@PAGE
Lloh36:
	add	x9, x9, l_.str.13@PAGEOFF
Lloh37:
	adrp	x10, l_.str.14@PAGE
Lloh38:
	add	x10, x10, l_.str.14@PAGEOFF
	cmp	x8, #0
	csel	x3, x10, x9, eq
Lloh39:
	adrp	x1, l_.str.12@PAGE
Lloh40:
	add	x1, x1, l_.str.12@PAGEOFF
Lloh41:
	adrp	x2, l_.str.6@PAGE
Lloh42:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_kvp_write_file
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.9:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_fclose
Lloh43:
	adrp	x2, l_.str.15@PAGE
Lloh44:
	add	x2, x2, l_.str.15@PAGEOFF
Lloh45:
	adrp	x3, l_.str.16@PAGE
Lloh46:
	add	x3, x3, l_.str.16@PAGEOFF
	add	x0, sp, #8
	sub	x4, x29, #184
	mov	w1, #512
	bl	_snprintf
	add	x0, sp, #8
	bl	_system
	b	LBB0_13
LBB0_10:
Lloh47:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_KVP_LOG
Lloh52:
	adrp	x8, _errno@GOTPAGE
Lloh53:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh54:
	ldr	w22, [x8]
	b	LBB0_13
LBB0_11:
Lloh55:
	adrp	x8, _EINVAL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh57:
	ldr	w22, [x8]
LBB0_12:
Lloh58:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
Lloh61:
	adrp	x1, l_.str.17@PAGE
Lloh62:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_KVP_LOG
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_fclose
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh63:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh64:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x22
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s"

l_.str.1:                               ; @.str.1
	.asciz	"/var/db/hyperv"

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

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

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.4:                               ; @.str.4
	.asciz	"FreeBSD Failed to open config file\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"HWADDR"

l_.str.6:                               ; @.str.6
	.space	1

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

l_.str.8:                               ; @.str.8
	.asciz	"IP_ADDR"

l_.str.9:                               ; @.str.9
	.asciz	"SUBNET"

l_.str.10:                              ; @.str.10
	.asciz	"GATEWAY"

l_.str.11:                              ; @.str.11
	.asciz	"DNS"

l_.str.12:                              ; @.str.12
	.asciz	"DHCP"

l_.str.13:                              ; @.str.13
	.asciz	"1"

l_.str.14:                              ; @.str.14
	.asciz	"0"

l_.str.15:                              ; @.str.15
	.asciz	"%s %s"

l_.str.16:                              ; @.str.16
	.asciz	"sh /usr/libexec/hyperv/hv_set_ifconfig"

l_.str.17:                              ; @.str.17
	.asciz	"Failed to write config file\n"

	.no_dead_strip	_kvp_set_ip_info
.subsections_via_symbols
