	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_ci
_find_ci:                               ## @find_ci
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movzwl	(%rsi), %r13d
	movq	_ATM_VPI_ANY@GOTPCREL(%rip), %rax
	cmpw	(%rax), %r13w
	jne	LBB0_1
## %bb.3:
	movswl	_find_ci.p(%rip), %r13d
	movq	(%rbx), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	cmpl	%r13d, %eax
	jg	LBB0_6
## %bb.4:
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_1:
	movl	(%r15), %edx
	movq	_ATM_VCI_ANY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_2
LBB0_5:
	movw	%r13w, _find_ci.p(%rip)
LBB0_6:
	movl	(%r15), %eax
	movq	_ATM_VCI_ANY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.7:
	movl	_find_ci.c(%rip), %r12d
	movq	_ATM_NOT_RSV_VCI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	jl	LBB0_9
## %bb.8:
	movq	(%rbx), %rcx
	movb	4(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	cmpl	%edx, %r12d
	jl	LBB0_10
LBB0_9:
	movl	%eax, _find_ci.c(%rip)
	movl	%eax, %r12d
LBB0_10:
	movl	%r12d, %edx
	movl	%r13d, %eax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movswl	%ax, %esi
	movq	%rbx, %rdi
	callq	_check_ci
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r15), %eax
	movl	_find_ci.c(%rip), %edx
	movq	_ATM_VCI_ANY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%edx
	movl	%edx, _find_ci.c(%rip)
	movq	(%rbx), %rax
	movzbl	4(%rax), %ecx
	movl	$1, %esi
	shll	%cl, %esi
	movq	_ATM_NOT_RSV_VCI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%esi, %edx
	jge	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%eax, %edx
	je	LBB0_18
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%edx, %eax
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, _find_ci.c(%rip)
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movzwl	(%r14), %ecx
	movq	_ATM_VPI_ANY@GOTPCREL(%rip), %rdx
	cmpw	(%rdx), %cx
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movzwl	_find_ci.p(%rip), %edx
	incl	%edx
	movswl	%dx, %esi
	movq	(%rbx), %rcx
	movzbl	(%rcx), %ecx
	movl	$1, %edi
	shll	%cl, %edi
	cmpl	%esi, %edi
	movl	$0, %ecx
	cmovlel	%ecx, %edx
	movw	%dx, _find_ci.p(%rip)
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %edx
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movzwl	_find_ci.p(%rip), %eax
	cmpw	%ax, %r13w
	jne	LBB0_11
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%edx, %r12d
	jne	LBB0_11
## %bb.23:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_24
LBB0_12:
	movzwl	_find_ci.p(%rip), %eax
	movw	%ax, (%r14)
	movl	_find_ci.c(%rip), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movswl	%r13w, %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check_ci                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_find_ci.p,2,1   ## @find_ci.p
.zerofill __DATA,__bss,_find_ci.c,4,2   ## @find_ci.c
	.comm	_ATM_VPI_ANY,2,1                ## @ATM_VPI_ANY
	.comm	_ATM_VCI_ANY,4,2                ## @ATM_VCI_ANY
	.comm	_ATM_NOT_RSV_VCI,4,2            ## @ATM_NOT_RSV_VCI
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.no_dead_strip	_find_ci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_ci
_find_ci:                               ; @find_ci
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _ATM_VPI_ANY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ATM_VPI_ANY@GOTPAGEOFF]
	ldrh	w25, [x1]
	ldrh	w8, [x22]
Lloh2:
	adrp	x24, _ATM_VCI_ANY@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ATM_VCI_ANY@GOTPAGEOFF]
	adrp	x23, _find_ci.p@PAGE
	cmp	w25, w8
	b.ne	LBB0_3
; %bb.1:
	ldrsh	w8, [x23, _find_ci.p@PAGEOFF]
	ldr	x9, [x20]
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	cmp	w9, w8
	b.le	LBB0_5
; %bb.2:
	and	w25, w8, #0xffff
	b	LBB0_7
LBB0_3:
	ldr	w2, [x19]
	ldr	w8, [x24]
	cmp	w2, w8
	b.eq	LBB0_6
; %bb.4:
	sxth	w1, w25
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_check_ci
LBB0_5:
	mov	w25, #0
LBB0_6:
	strh	w25, [x23, _find_ci.p@PAGEOFF]
LBB0_7:
	ldr	w8, [x19]
	ldr	w9, [x24]
	adrp	x26, _find_ci.c@PAGE
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
	ldr	w28, [x26, _find_ci.c@PAGEOFF]
Lloh4:
	adrp	x8, _ATM_NOT_RSV_VCI@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATM_NOT_RSV_VCI@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w28, w8
	b.lt	LBB0_10
; %bb.9:
	ldr	x9, [x20]
	ldr	w9, [x9, #4]
	mov	w10, #1
	lsl	w9, w10, w9
	cmp	w28, w9
	b.lt	LBB0_11
LBB0_10:
	str	w8, [x26, _find_ci.c@PAGEOFF]
	mov	x28, x8
LBB0_11:
	mov	w27, #1
	mov	x2, x28
	mov	x8, x25
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x2, x8
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrh	w8, [x23, _find_ci.p@PAGEOFF]
	cmp	w25, w8
	ccmp	w28, w2, #0, eq
	b.eq	LBB0_22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	sxth	w1, w8
	mov	x0, x20
	bl	_check_ci
	cbz	w0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x19]
	ldr	w10, [x24]
	ldr	w8, [x26, _find_ci.c@PAGEOFF]
	cmp	w9, w10
	b.ne	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w2, w8, #1
	str	w2, [x26, _find_ci.c@PAGEOFF]
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
	lsl	w9, w27, w8
Lloh7:
	adrp	x8, _ATM_NOT_RSV_VCI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATM_NOT_RSV_VCI@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w2, w9
	b.ge	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w2, w8
	b.ne	LBB0_13
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	str	w8, [x26, _find_ci.c@PAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrh	w9, [x21]
	ldrh	w10, [x22]
	cmp	w9, w10
	b.ne	LBB0_12
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	ldrh	w9, [x23, _find_ci.p@PAGEOFF]
	add	w10, w9, #1
	ldr	x11, [x20]
	ldr	w11, [x11]
	lsl	w11, w27, w11
	cmp	w11, w10, sxth
	csinc	w9, wzr, w9, le
	strh	w9, [x23, _find_ci.p@PAGEOFF]
	b	LBB0_12
LBB0_21:
	ldrh	w8, [x23, _find_ci.p@PAGEOFF]
	strh	w8, [x21]
	ldr	w8, [x26, _find_ci.c@PAGEOFF]
	str	w8, [x19]
	b	LBB0_23
LBB0_22:
Lloh10:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_find_ci.p,2,1   ; @find_ci.p
.zerofill __DATA,__bss,_find_ci.c,4,2   ; @find_ci.c
	.comm	_ATM_VPI_ANY,2,1                ; @ATM_VPI_ANY
	.comm	_ATM_VCI_ANY,4,2                ; @ATM_VCI_ANY
	.comm	_ATM_NOT_RSV_VCI,4,2            ; @ATM_NOT_RSV_VCI
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.no_dead_strip	_find_ci
.subsections_via_symbols
