	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setfs
_setfs:                                 ## @setfs
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, -40(%rbp)
	leaq	8(%rdi), %rbx
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_getip
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	-40(%rbp), %rsi
	xorl	%eax, %eax
	cmpb	$58, (%rsi)
	jne	LBB0_7
## %bb.5:
	incq	%rsi
	movq	%rsi, -40(%rbp)
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	testq	%r15, %r15
	je	LBB0_7
## %bb.2:
	movq	-40(%rbp), %rsi
	cmpb	$47, (%rsi)
	jne	LBB0_7
## %bb.3:
	movl	(%r15), %eax
	movl	%eax, (%rbx)
LBB0_6:
	movl	$12, (%r12)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	_MNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_strlcpy
	movl	$1, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_MNAMELEN,4,2                   ## @MNAMELEN
	.no_dead_strip	_setfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setfs
_setfs:                                 ; @setfs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	str	x2, [sp, #8]
	add	x22, x0, #8
	add	x0, sp, #8
	mov	x1, x22
	bl	_getip
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_7
; %bb.2:
	add	x1, x8, #1
	str	x1, [sp, #8]
	b	LBB0_6
LBB0_3:
	cbz	x21, LBB0_7
; %bb.4:
	ldr	x1, [sp, #8]
	ldrb	w8, [x1]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x21]
	str	w8, [x22]
LBB0_6:
	mov	w8, #12
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
	str	w8, [x20]
Lloh2:
	ldr	w8, [x9]
	str	w8, [x20, #4]
Lloh3:
	adrp	x8, _MNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_strlcpy
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_MNAMELEN,4,2                   ; @MNAMELEN
	.no_dead_strip	_setfs
.subsections_via_symbols
