	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_ss_fcfs_init
_sctp_ss_fcfs_init:                     ## @sctp_ss_fcfs_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_SCTP_TCB_SEND_LOCK
LBB0_2:
	movq	%rbx, %rdi
	callq	_TAILQ_INIT
	movq	(%r15), %rax
	xorl	%ebx, %ebx
	movq	_next@GOTPCREL(%rip), %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_14
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%r14
	movq	(%r15), %rax
	cmpq	%rax, %r14
	jae	LBB0_13
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	leaq	(,%r14,4), %r12
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	setne	%cl
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_TAILQ_NEXT
	testq	%rax, %rax
	setne	%cl
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=3
	leal	1(%r15), %edx
	cmpl	%ebx, %r15d
	movl	%edx, %r15d
	jb	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	testb	%cl, %cl
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=2
	addq	8(%r15), %r12
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	movl	$1, %r8d
	callq	_sctp_ss_fcfs_add
	jmp	LBB0_12
LBB0_14:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
## %bb.15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SCTP_TCB_SEND_UNLOCK           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_next,4,2                       ## @next
	.no_dead_strip	_sctp_ss_fcfs_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_ss_fcfs_init
_sctp_ss_fcfs_init:                     ; @sctp_ss_fcfs_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbnz	w2, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_SCTP_TCB_SEND_LOCK
LBB0_2:
	mov	x0, x21
	bl	_TAILQ_INIT
	mov	w21, #0
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _next@GOTPAGE
Lloh1:
	ldr	x22, [x22, _next@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	cbz	w23, LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	cbz	x8, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, #0
	mov	w23, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	ldr	x8, [x19]
	cmp	x24, x8
	b.hs	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x8, [x19, #8]
	add	x0, x8, x24, lsl #2
	bl	_TAILQ_FIRST
	mov	x3, x0
	cmp	x0, #0
	cset	w8, ne
	ccmp	w21, #0, #4, ne
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w25, #1
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w1, [x22]
	mov	x0, x3
	bl	_TAILQ_NEXT
	mov	x3, x0
	cmp	x0, #0
	cset	w8, ne
	ccmp	w25, w21, #2, ne
	add	w25, w25, #1
	b.lo	LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	cbz	w8, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x19, #8]
	add	x2, x8, x24, lsl #2
	mov	w23, #1
	mov	x0, x19
	mov	x1, x19
	mov	w4, #1
	bl	_sctp_ss_fcfs_add
	b	LBB0_6
LBB0_12:
	cbz	w20, LBB0_14
; %bb.13:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_SCTP_TCB_SEND_UNLOCK
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_next,4,2                       ; @next
	.no_dead_strip	_sctp_ss_fcfs_init
.subsections_via_symbols
