	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_ifconfig_setenv             ## -- Begin function do_ifconfig_setenv
	.p2align	4, 0x90
_do_ifconfig_setenv:                    ## @do_ifconfig_setenv
	.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
	pushq	%rax
	.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
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -48(%rbp)
	movl	36(%rbx), %edi
	leaq	-48(%rbp), %r15
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_print_in_addr_t
	movq	%rax, %r12
	movl	32(%rbx), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_print_in_addr_t
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_is_tun_p2p
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_setenv_str
	testl	%r13d, %r13d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_setenv_str
LBB0_2:
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	leaq	-48(%rbp), %r15
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_print_in6_addr
	movq	%rax, %r12
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_print_in6_addr
	movq	%rax, %r15
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_setenv_str
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_setenv_int
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_setenv_str
LBB0_4:
	leaq	-48(%rbp), %rdi
	callq	_gc_free
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ifconfig_local"

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

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	"ifconfig_ipv6_remote"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_ifconfig_setenv             ; -- Begin function do_ifconfig_setenv
	.p2align	2
_do_ifconfig_setenv:                    ; @do_ifconfig_setenv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_gc_new
	str	w0, [sp, #8]
	ldr	w0, [x20, #36]
	add	x2, sp, #8
	mov	w1, #0
	bl	_print_in_addr_t
	mov	x22, x0
	ldr	w0, [x20, #32]
	add	x2, sp, #8
	mov	w1, #0
	bl	_print_in_addr_t
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x20
	bl	_is_tun_p2p
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_setenv_str
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh4:
	adrp	x9, l_.str.2@PAGE
Lloh5:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w23, #0
	csel	x1, x9, x8, eq
	mov	x0, x19
	mov	x2, x21
	bl	_setenv_str
LBB0_2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x20, #8]
	add	x2, sp, #8
	mov	w1, #0
	bl	_print_in6_addr
	mov	x21, x0
	ldr	w0, [x20, #4]
	add	x2, sp, #8
	mov	w1, #0
	bl	_print_in6_addr
	mov	x22, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_setenv_str
	ldr	w2, [x20]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_setenv_int
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_setenv_str
LBB0_4:
	add	x0, sp, #8
	bl	_gc_free
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ifconfig_local"

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

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	"ifconfig_ipv6_remote"

.subsections_via_symbols
