	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_new_lci                   ## -- Begin function rose_new_lci
	.p2align	4, 0x90
_rose_new_lci:                          ## @rose_new_lci
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	movq	_sysctl_rose_maximum_vcs@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	je	LBB0_7
## %bb.1:
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.2:
	movl	$1, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%rbx), %eax
	cmpl	(%r12), %ebx
	movl	%eax, %ebx
	jge	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_rose_find_socket
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_rose_route_free_lci
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_11
LBB0_7:
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	jg	LBB0_9
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	leal	-1(%rbx), %eax
	cmpl	$1, %ebx
	movl	%eax, %ebx
	jle	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_rose_find_socket
	testq	%rax, %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_rose_route_free_lci
	testq	%rax, %rax
	jne	LBB0_8
LBB0_11:
	movl	%ebx, %r14d
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sysctl_rose_maximum_vcs,4,2    ## @sysctl_rose_maximum_vcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_new_lci                   ; -- Begin function rose_new_lci
	.p2align	2
_rose_new_lci:                          ; @rose_new_lci
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _sysctl_rose_maximum_vcs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sysctl_rose_maximum_vcs@GOTPAGEOFF]
	ldr	w19, [x21]
	cbz	x8, LBB0_6
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w19, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w19, #1
	ldr	w9, [x21]
	cmp	w19, w9
	mov	x19, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_rose_find_socket
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_rose_route_free_lci
	cbnz	x0, LBB0_3
	b	LBB0_8
LBB0_6:
	cmp	w19, #1
	b.ge	LBB0_10
LBB0_7:
	mov	w19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	subs	w19, w19, #1
	b.le	LBB0_7
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_rose_find_socket
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_rose_route_free_lci
	cbnz	x0, LBB0_9
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sysctl_rose_maximum_vcs,4,2    ; @sysctl_rose_maximum_vcs
.subsections_via_symbols
