	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_t1init_timer              ## -- Begin function sctp_t1init_timer
	.p2align	4, 0x90
_sctp_t1init_timer:                     ## @sctp_t1init_timer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 40(%rsi)
	je	LBB0_2
## %bb.1:
	movq	$0, 40(%rbx)
LBB0_9:
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_send_initiate
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_2:
	movq	%rdx, %r15
	movq	%rbx, %rdi
	callq	_SCTP_GET_STATE
	movq	%rax, %rcx
	movq	_SCTP_STATE_COOKIE_WAIT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.3:
	movl	32(%rbx), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_sctp_threshold_management
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_4
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	$0, 24(%rbx)
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sctp_backoff_on_timeout
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jge	LBB0_6
## %bb.5:
	movq	%rax, (%r15)
LBB0_6:
	cmpl	$2, 8(%rbx)
	jl	LBB0_9
## %bb.7:
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_sctp_find_alternate_net
	movq	16(%rbx), %rsi
	cmpq	%rsi, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_sctp_move_chunks_from_net
	movq	%r15, 16(%rbx)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ## @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_STATE_COOKIE_WAIT,8,3     ## @SCTP_STATE_COOKIE_WAIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_t1init_timer              ; -- Begin function sctp_t1init_timer
	.p2align	2
_sctp_t1init_timer:                     ; @sctp_t1init_timer
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #40]
	cbz	x8, LBB0_3
; %bb.1:
	str	xzr, [x19, #40]
LBB0_2:
Lloh0:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_sctp_send_initiate
	b	LBB0_6
LBB0_3:
	mov	x21, x2
	mov	x0, x19
	bl	_SCTP_GET_STATE
Lloh3:
	adrp	x8, _SCTP_STATE_COOKIE_WAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_STATE_COOKIE_WAIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w3, [x19, #32]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_sctp_threshold_management
	cbz	x0, LBB0_8
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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_8:
	str	xzr, [x19, #24]
	ldr	x1, [x19, #16]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_sctp_backoff_on_timeout
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ge	LBB0_10
; %bb.9:
	str	x8, [x21]
LBB0_10:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.11:
	ldr	x1, [x19, #16]
	mov	x0, x19
	mov	w2, #0
	bl	_sctp_find_alternate_net
	ldr	x1, [x19, #16]
	cmp	x0, x1
	b.eq	LBB0_2
; %bb.12:
	mov	x21, x0
	mov	x0, x19
	bl	_sctp_move_chunks_from_net
	str	x21, [x19, #16]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ; @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_STATE_COOKIE_WAIT,8,3     ; @SCTP_STATE_COOKIE_WAIT
.subsections_via_symbols
