	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_sf_do_dupcook_d
_sctp_sf_do_dupcook_d:                  ## @sctp_sf_do_dupcook_d
	.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	%rcx, %r12
	movq	%rdx, %r15
	movq	(%rsi), %rax
	movq	_SCTP_STATE_ESTABLISHED@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	_SCTP_CMD_TIMER_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_SCTP_EVENT_TIMEOUT_T1_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_TO
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	movq	_SCTP_CMD_NEW_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%r14), %rdi
	callq	_SCTP_STATE
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	movq	_SCTP_MIB_CURRESTAB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_INC_STATS
	movq	_SCTP_CMD_HB_TIMERS_START@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%eax, %eax
	callq	_SCTP_NULL
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	movq	_SCTP_COMM_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %r9d
	movl	20(%rbx), %r8d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	pushq	%rax
	pushq	$0
	callq	_sctp_ulpevent_make_assoc_change
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%rax, %r13
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.5:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sctp_ulpevent_make_adaptation_indication
	movq	%rax, %r14
	testq	%rax, %rax
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	jne	LBB0_6
	jmp	LBB0_14
LBB0_1:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r8                  ## 8-byte Reload
LBB0_6:
	movq	%r8, %rdi
	movq	%r15, %rsi
	callq	_sctp_make_cookie_ack
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	_SCTP_CMD_REPLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	_SCTP_CHUNK
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	testq	%r13, %r13
	je	LBB0_9
## %bb.8:
	movq	_SCTP_CMD_EVENT_ULP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_SCTP_ULPEVENT
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
LBB0_9:
	movq	_SCTP_DISPOSITION_CONSUME@GOTPCREL(%rip), %rbx
	testq	%r14, %r14
	je	LBB0_16
## %bb.10:
	movq	_SCTP_CMD_EVENT_ULP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_SCTP_ULPEVENT
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	jmp	LBB0_16
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_sctp_ulpevent_free
LBB0_13:
	testq	%r13, %r13
	je	LBB0_15
LBB0_14:
	movq	%r13, %rdi
	callq	_sctp_ulpevent_free
LBB0_15:
	movq	_SCTP_DISPOSITION_NOMEM@GOTPCREL(%rip), %rbx
LBB0_16:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_STATE_ESTABLISHED,8,3     ## @SCTP_STATE_ESTABLISHED
	.comm	_SCTP_CMD_TIMER_STOP,4,2        ## @SCTP_CMD_TIMER_STOP
	.comm	_SCTP_EVENT_TIMEOUT_T1_COOKIE,4,2 ## @SCTP_EVENT_TIMEOUT_T1_COOKIE
	.comm	_SCTP_CMD_NEW_STATE,4,2         ## @SCTP_CMD_NEW_STATE
	.comm	_SCTP_MIB_CURRESTAB,4,2         ## @SCTP_MIB_CURRESTAB
	.comm	_SCTP_CMD_HB_TIMERS_START,4,2   ## @SCTP_CMD_HB_TIMERS_START
	.comm	_SCTP_COMM_UP,4,2               ## @SCTP_COMM_UP
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_SCTP_CMD_REPLY,4,2             ## @SCTP_CMD_REPLY
	.comm	_SCTP_CMD_EVENT_ULP,4,2         ## @SCTP_CMD_EVENT_ULP
	.comm	_SCTP_DISPOSITION_CONSUME,4,2   ## @SCTP_DISPOSITION_CONSUME
	.comm	_SCTP_DISPOSITION_NOMEM,4,2     ## @SCTP_DISPOSITION_NOMEM
	.no_dead_strip	_sctp_sf_do_dupcook_d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_sf_do_dupcook_d
_sctp_sf_do_dupcook_d:                  ; @sctp_sf_do_dupcook_d
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	ldr	x8, [x1]
Lloh0:
	adrp	x24, _SCTP_STATE_ESTABLISHED@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SCTP_STATE_ESTABLISHED@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.1:
	mov	x22, x1
Lloh2:
	adrp	x8, _SCTP_CMD_TIMER_STOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCTP_CMD_TIMER_STOP@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
Lloh5:
	adrp	x8, _SCTP_EVENT_TIMEOUT_T1_COOKIE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCTP_EVENT_TIMEOUT_T1_COOKIE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_SCTP_TO
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_sctp_add_cmd_sf
Lloh8:
	adrp	x8, _SCTP_CMD_NEW_STATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SCTP_CMD_NEW_STATE@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	ldr	x0, [x24]
	bl	_SCTP_STATE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_sctp_add_cmd_sf
Lloh11:
	adrp	x8, _SCTP_MIB_CURRESTAB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCTP_MIB_CURRESTAB@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS
Lloh14:
	adrp	x8, _SCTP_CMD_HB_TIMERS_START@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SCTP_CMD_HB_TIMERS_START@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
	bl	_SCTP_NULL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_sctp_add_cmd_sf
Lloh17:
	adrp	x8, _SCTP_COMM_UP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SCTP_COMM_UP@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	ldp	w5, w4, [x22, #16]
Lloh20:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh21:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w7, [x24]
	mov	x0, x22
	mov	w1, #0
	mov	w3, #0
	mov	x6, #0
	bl	_sctp_ulpevent_make_assoc_change
	cbz	x0, LBB0_16
; %bb.2:
	mov	x23, x0
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w1, [x24]
	mov	x0, x22
	bl	_sctp_ulpevent_make_adaptation_indication
	mov	x22, x0
	cbnz	x0, LBB0_6
	b	LBB0_15
LBB0_4:
	mov	x23, #0
LBB0_5:
	mov	x22, #0
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_sctp_make_cookie_ack
	cbz	x0, LBB0_12
; %bb.7:
Lloh22:
	adrp	x8, _SCTP_CMD_REPLY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SCTP_CMD_REPLY@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
	bl	_SCTP_CHUNK
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_add_cmd_sf
Lloh25:
	adrp	x21, _SCTP_CMD_EVENT_ULP@GOTPAGE
Lloh26:
	ldr	x21, [x21, _SCTP_CMD_EVENT_ULP@GOTPAGEOFF]
	cbz	x23, LBB0_9
; %bb.8:
	ldr	w20, [x21]
	mov	x0, x23
	bl	_SCTP_ULPEVENT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_add_cmd_sf
LBB0_9:
	cbz	x22, LBB0_11
; %bb.10:
	ldr	w20, [x21]
	mov	x0, x22
	bl	_SCTP_ULPEVENT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_add_cmd_sf
LBB0_11:
Lloh27:
	adrp	x8, _SCTP_DISPOSITION_CONSUME@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCTP_DISPOSITION_CONSUME@GOTPAGEOFF]
	b	LBB0_17
LBB0_12:
	cbz	x22, LBB0_14
; %bb.13:
	mov	x0, x22
	bl	_sctp_ulpevent_free
LBB0_14:
	cbz	x23, LBB0_16
LBB0_15:
	mov	x0, x23
	bl	_sctp_ulpevent_free
LBB0_16:
Lloh29:
	adrp	x8, _SCTP_DISPOSITION_NOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SCTP_DISPOSITION_NOMEM@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_STATE_ESTABLISHED,8,3     ; @SCTP_STATE_ESTABLISHED
	.comm	_SCTP_CMD_TIMER_STOP,4,2        ; @SCTP_CMD_TIMER_STOP
	.comm	_SCTP_EVENT_TIMEOUT_T1_COOKIE,4,2 ; @SCTP_EVENT_TIMEOUT_T1_COOKIE
	.comm	_SCTP_CMD_NEW_STATE,4,2         ; @SCTP_CMD_NEW_STATE
	.comm	_SCTP_MIB_CURRESTAB,4,2         ; @SCTP_MIB_CURRESTAB
	.comm	_SCTP_CMD_HB_TIMERS_START,4,2   ; @SCTP_CMD_HB_TIMERS_START
	.comm	_SCTP_COMM_UP,4,2               ; @SCTP_COMM_UP
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_SCTP_CMD_REPLY,4,2             ; @SCTP_CMD_REPLY
	.comm	_SCTP_CMD_EVENT_ULP,4,2         ; @SCTP_CMD_EVENT_ULP
	.comm	_SCTP_DISPOSITION_CONSUME,4,2   ; @SCTP_DISPOSITION_CONSUME
	.comm	_SCTP_DISPOSITION_NOMEM,4,2     ; @SCTP_DISPOSITION_NOMEM
	.no_dead_strip	_sctp_sf_do_dupcook_d
.subsections_via_symbols
