	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_map_assoc_state           ## -- Begin function sctp_map_assoc_state
	.p2align	4, 0x90
_sctp_map_assoc_state:                  ## @sctp_map_assoc_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SCTP_STATE_WAS_ABORTED@GOTPCREL(%rip), %rcx
	movq	_SCTP_CLOSED@GOTPCREL(%rip), %rax
	testl	%edi, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	_SCTP_STATE_SHUTDOWN_PENDING@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_SCTP_SHUTDOWN_PENDING@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_SCTP_STATE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	addl	$-128, %edi
	cmpl	$7, %edi
	ja	LBB0_5
## %bb.4:
	movslq	%edi, %rax
	leaq	l_switch.table.sctp_map_assoc_state(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_STATE_WAS_ABORTED,4,2     ## @SCTP_STATE_WAS_ABORTED
	.comm	_SCTP_CLOSED,4,2                ## @SCTP_CLOSED
	.comm	_SCTP_STATE_SHUTDOWN_PENDING,4,2 ## @SCTP_STATE_SHUTDOWN_PENDING
	.comm	_SCTP_SHUTDOWN_PENDING,4,2      ## @SCTP_SHUTDOWN_PENDING
	.comm	_SCTP_STATE_MASK,4,2            ## @SCTP_STATE_MASK
	.comm	_SCTP_COOKIE_WAIT,4,2           ## @SCTP_COOKIE_WAIT
	.comm	_SCTP_COOKIE_ECHOED,4,2         ## @SCTP_COOKIE_ECHOED
	.comm	_SCTP_ESTABLISHED,4,2           ## @SCTP_ESTABLISHED
	.comm	_SCTP_SHUTDOWN_SENT,4,2         ## @SCTP_SHUTDOWN_SENT
	.comm	_SCTP_SHUTDOWN_RECEIVED,4,2     ## @SCTP_SHUTDOWN_RECEIVED
	.comm	_SCTP_SHUTDOWN_ACK_SENT,4,2     ## @SCTP_SHUTDOWN_ACK_SENT
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sctp_map_assoc_state
l_switch.table.sctp_map_assoc_state:
	.quad	_SCTP_SHUTDOWN_SENT
	.quad	_SCTP_SHUTDOWN_RECEIVED
	.quad	_SCTP_SHUTDOWN_ACK_SENT
	.quad	_SCTP_ESTABLISHED
	.quad	_SCTP_CLOSED
	.quad	_SCTP_CLOSED
	.quad	_SCTP_COOKIE_WAIT
	.quad	_SCTP_COOKIE_ECHOED

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_map_assoc_state           ; -- Begin function sctp_map_assoc_state
	.p2align	2
_sctp_map_assoc_state:                  ; @sctp_map_assoc_state
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SCTP_STATE_WAS_ABORTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_STATE_WAS_ABORTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _SCTP_CLOSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_CLOSED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _SCTP_STATE_SHUTDOWN_PENDING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_PENDING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _SCTP_SHUTDOWN_PENDING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCTP_SHUTDOWN_PENDING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _SCTP_STATE_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCTP_STATE_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_1
; %bb.5:
Lloh15:
	adrp	x9, l_switch.table.sctp_map_assoc_state@PAGE
Lloh16:
	add	x9, x9, l_switch.table.sctp_map_assoc_state@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_STATE_WAS_ABORTED,4,2     ; @SCTP_STATE_WAS_ABORTED
	.comm	_SCTP_CLOSED,4,2                ; @SCTP_CLOSED
	.comm	_SCTP_STATE_SHUTDOWN_PENDING,4,2 ; @SCTP_STATE_SHUTDOWN_PENDING
	.comm	_SCTP_SHUTDOWN_PENDING,4,2      ; @SCTP_SHUTDOWN_PENDING
	.comm	_SCTP_STATE_MASK,4,2            ; @SCTP_STATE_MASK
	.comm	_SCTP_COOKIE_WAIT,4,2           ; @SCTP_COOKIE_WAIT
	.comm	_SCTP_COOKIE_ECHOED,4,2         ; @SCTP_COOKIE_ECHOED
	.comm	_SCTP_ESTABLISHED,4,2           ; @SCTP_ESTABLISHED
	.comm	_SCTP_SHUTDOWN_SENT,4,2         ; @SCTP_SHUTDOWN_SENT
	.comm	_SCTP_SHUTDOWN_RECEIVED,4,2     ; @SCTP_SHUTDOWN_RECEIVED
	.comm	_SCTP_SHUTDOWN_ACK_SENT,4,2     ; @SCTP_SHUTDOWN_ACK_SENT
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sctp_map_assoc_state
l_switch.table.sctp_map_assoc_state:
	.quad	_SCTP_SHUTDOWN_SENT
	.quad	_SCTP_SHUTDOWN_RECEIVED
	.quad	_SCTP_SHUTDOWN_ACK_SENT
	.quad	_SCTP_ESTABLISHED
	.quad	_SCTP_CLOSED
	.quad	_SCTP_CLOSED
	.quad	_SCTP_COOKIE_WAIT
	.quad	_SCTP_COOKIE_ECHOED

.subsections_via_symbols
