	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_cmd_new_state
_sctp_cmd_new_state:                    ## @sctp_cmd_new_state
	.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	%rsi, %r15
	movq	24(%rsi), %rbx
	movq	%rdx, (%rsi)
	movq	_sctp_state_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %edx
	leaq	L_.str(%rip), %rdi
	callq	_SCTP_DEBUG_PRINTK
	movq	_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %r12
	movq	%rbx, %rdi
	callq	_sctp_style
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_ESTABLISHED@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_sctp_state
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sctp_sstate
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_SCTP_SS_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rcx
	movl	%eax, 12(%r12)
LBB0_4:
	movq	_SHUTDOWN_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sctp_state
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_sctp_sstate
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_RCV_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rcx
	orl	%eax, 8(%r12)
LBB0_7:
	movq	_COOKIE_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sctp_state
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	12(%r15), %eax
	movq	16(%r15), %rcx
	movq	_SCTP_EVENT_TIMEOUT_T1_INIT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	12(%r15), %eax
	movq	_SCTP_EVENT_TIMEOUT_T1_COOKIE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
LBB0_9:
	movq	_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sctp_state
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	movq	_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sctp_state
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_SHUTDOWN_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sctp_state
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_waitqueue_active
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_wake_up_interruptible
LBB0_14:
	movq	_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sctp_style
	testq	%rax, %rax
	je	LBB0_16
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rdi)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sctp_cmd_new_state: asoc %p[%s]\n"

	.comm	_sctp_state_tbl,8,3             ## @sctp_state_tbl
	.comm	_TCP,4,2                        ## @TCP
	.comm	_ESTABLISHED,4,2                ## @ESTABLISHED
	.comm	_CLOSED,4,2                     ## @CLOSED
	.comm	_SCTP_SS_ESTABLISHED,4,2        ## @SCTP_SS_ESTABLISHED
	.comm	_SHUTDOWN_RECEIVED,4,2          ## @SHUTDOWN_RECEIVED
	.comm	_RCV_SHUTDOWN,4,2               ## @RCV_SHUTDOWN
	.comm	_COOKIE_WAIT,4,2                ## @COOKIE_WAIT
	.comm	_SCTP_EVENT_TIMEOUT_T1_INIT,8,3 ## @SCTP_EVENT_TIMEOUT_T1_INIT
	.comm	_SCTP_EVENT_TIMEOUT_T1_COOKIE,8,3 ## @SCTP_EVENT_TIMEOUT_T1_COOKIE
	.comm	_UDP,4,2                        ## @UDP
	.no_dead_strip	_sctp_cmd_new_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_cmd_new_state
_sctp_cmd_new_state:                    ; @sctp_cmd_new_state
	.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, x1
	ldr	x19, [x1, #24]
	str	x2, [x1]
Lloh0:
	adrp	x8, _sctp_state_tbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sctp_state_tbl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w2, [x8, x2, lsl #2]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SCTP_DEBUG_PRINTK
Lloh5:
	adrp	x8, _TCP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sctp_style
Lloh8:
	adrp	x21, _ESTABLISHED@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ESTABLISHED@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_sctp_state
	cbz	x0, LBB0_4
; %bb.2:
Lloh10:
	adrp	x8, _CLOSED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CLOSED@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sctp_sstate
	cbz	x0, LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _SCTP_SS_ESTABLISHED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SCTP_SS_ESTABLISHED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_4:
Lloh16:
	adrp	x8, _SHUTDOWN_RECEIVED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SHUTDOWN_RECEIVED@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sctp_state
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sctp_sstate
	cbz	x0, LBB0_7
; %bb.6:
Lloh19:
	adrp	x8, _RCV_SHUTDOWN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RCV_SHUTDOWN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_7:
Lloh22:
	adrp	x8, _COOKIE_WAIT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _COOKIE_WAIT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sctp_state
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x20, #12]
	ldr	x9, [x20, #16]
Lloh25:
	adrp	x10, _SCTP_EVENT_TIMEOUT_T1_INIT@GOTPAGE
Lloh26:
	ldr	x10, [x10, _SCTP_EVENT_TIMEOUT_T1_INIT@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	ldr	w8, [x20, #12]
Lloh28:
	adrp	x10, _SCTP_EVENT_TIMEOUT_T1_COOKIE@GOTPAGE
Lloh29:
	ldr	x10, [x10, _SCTP_EVENT_TIMEOUT_T1_COOKIE@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
LBB0_9:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_sctp_state
	cbnz	x0, LBB0_12
; %bb.10:
Lloh31:
	adrp	x8, _CLOSED@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CLOSED@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sctp_state
	cbnz	x0, LBB0_12
; %bb.11:
Lloh34:
	adrp	x8, _SHUTDOWN_RECEIVED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SHUTDOWN_RECEIVED@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sctp_state
	cbz	x0, LBB0_15
LBB0_12:
	add	x20, x20, #8
	mov	x0, x20
	bl	_waitqueue_active
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_wake_up_interruptible
LBB0_14:
Lloh37:
	adrp	x8, _UDP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _UDP@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sctp_style
	cbz	x0, LBB0_16
LBB0_15:
	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_16:
	ldr	x1, [x19]
	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
	br	x1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sctp_cmd_new_state: asoc %p[%s]\n"

	.comm	_sctp_state_tbl,8,3             ; @sctp_state_tbl
	.comm	_TCP,4,2                        ; @TCP
	.comm	_ESTABLISHED,4,2                ; @ESTABLISHED
	.comm	_CLOSED,4,2                     ; @CLOSED
	.comm	_SCTP_SS_ESTABLISHED,4,2        ; @SCTP_SS_ESTABLISHED
	.comm	_SHUTDOWN_RECEIVED,4,2          ; @SHUTDOWN_RECEIVED
	.comm	_RCV_SHUTDOWN,4,2               ; @RCV_SHUTDOWN
	.comm	_COOKIE_WAIT,4,2                ; @COOKIE_WAIT
	.comm	_SCTP_EVENT_TIMEOUT_T1_INIT,8,3 ; @SCTP_EVENT_TIMEOUT_T1_INIT
	.comm	_SCTP_EVENT_TIMEOUT_T1_COOKIE,8,3 ; @SCTP_EVENT_TIMEOUT_T1_COOKIE
	.comm	_UDP,4,2                        ; @UDP
	.no_dead_strip	_sctp_cmd_new_state
.subsections_via_symbols
