	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_verify_param
_sctp_verify_param:                     ## @sctp_verify_param
	.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	%r8, %r15
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %rdx
	movl	(%rsi), %edi
	leal	-128(%rdi), %eax
	cmpl	$15, %eax
	ja	LBB0_5
## %bb.1:
	movq	_SCTP_IERROR_NO_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_sctp_verify_ext_param
	testl	%eax, %eax
	je	LBB0_22
	jmp	LBB0_23
LBB0_3:
	movq	_sctp_addip_enable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_23
	jmp	LBB0_5
LBB0_8:
	movq	_sctp_auth_enable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.9:
	movq	_SCTP_AUTH_RANDOM_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	movq	%rdx, %r14
	callq	_ntohs
	cltq
	addq	$-4, %rax
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_10
	jmp	LBB0_23
LBB0_6:
	movq	%rdx, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_sctp_process_hn_param
	jmp	LBB0_22
LBB0_13:
	movq	_sctp_auth_enable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.14:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	callq	_ntohs
	movslq	%eax, %rcx
	movabsq	$8589934588, %rax               ## imm = 0x1FFFFFFFC
	addq	%rcx, %rax
	shrq	%rax
	testl	%eax, %eax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_15
## %bb.16:
	movl	%eax, %r14d
	decq	%r14
	xorl	%r15d, %r15d
	movq	_SCTP_AUTH_HMAC_ID_SHA1@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movl	(%rax,%r15,4), %edi
	callq	_ntohs
	movl	(%r12), %ecx
	cmpl	%ecx, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	leaq	1(%r15), %rdx
	cmpq	%r15, %r14
	movq	%rdx, %r15
	jne	LBB0_17
	jmp	LBB0_19
LBB0_7:
	movq	_sctp_prsctp_enable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_23
	jmp	LBB0_5
LBB0_11:
	movq	_sctp_auth_enable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.12:
	movl	4(%rbx), %edi
	movq	%rdx, %r14
	callq	_ntohs
	cmpl	$261, %eax                      ## imm = 0x105
	jl	LBB0_23
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	jmp	LBB0_21
LBB0_5:
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%rdx, %r13
	callq	_ntohs
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_SCTP_DEBUG_PRINTK
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_process_unk_param         ## TAILCALL
LBB0_15:
	movq	_SCTP_AUTH_HMAC_ID_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
LBB0_19:
	cmpl	%ecx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_23
## %bb.20:
	movq	%rbx, %rsi
LBB0_21:
	callq	_sctp_process_inv_paramlength
LBB0_22:
	movq	_SCTP_IERROR_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_23:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_2
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_6
	.long	L0_0_set_13
	.long	L0_0_set_23
	.long	L0_0_set_7
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_11
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.comm	_SCTP_IERROR_NO_ERROR,4,2       ## @SCTP_IERROR_NO_ERROR
	.comm	_SCTP_IERROR_ABORT,4,2          ## @SCTP_IERROR_ABORT
	.comm	_sctp_addip_enable,4,2          ## @sctp_addip_enable
	.comm	_sctp_prsctp_enable,4,2         ## @sctp_prsctp_enable
	.comm	_sctp_auth_enable,4,2           ## @sctp_auth_enable
	.comm	_SCTP_AUTH_RANDOM_LENGTH,4,2    ## @SCTP_AUTH_RANDOM_LENGTH
	.comm	_SCTP_AUTH_HMAC_ID_SHA1,4,2     ## @SCTP_AUTH_HMAC_ID_SHA1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unrecognized param: %d for chunk %d.\n"

	.no_dead_strip	_sctp_verify_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_verify_param
_sctp_verify_param:                     ; @sctp_verify_param
	.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	x19, x4
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
	ldr	w0, [x1]
	sub	w8, w0, #128
	cmp	w8, #15
	b.hi	LBB0_15
; %bb.1:
Lloh0:
	adrp	x9, _SCTP_IERROR_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCTP_IERROR_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x9]
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x22
	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_3:
	mov	x0, x21
	bl	_sctp_verify_ext_param
Lloh5:
	adrp	x8, _SCTP_IERROR_ABORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCTP_IERROR_ABORT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w22, w8, w22, eq
	b	LBB0_2
LBB0_4:
Lloh8:
	adrp	x8, _sctp_addip_enable@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sctp_addip_enable@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
	b	LBB0_15
LBB0_5:
Lloh11:
	adrp	x8, _sctp_auth_enable@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sctp_auth_enable@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.6:
Lloh14:
	adrp	x8, _SCTP_AUTH_RANDOM_LENGTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SCTP_AUTH_RANDOM_LENGTH@GOTPAGEOFF]
Lloh16:
	ldrsw	x24, [x8]
	ldr	w0, [x21, #4]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	sub	x8, x8, #4
	cmp	x8, x24
	b.eq	LBB0_2
	b	LBB0_18
LBB0_7:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_sctp_process_hn_param
	b	LBB0_19
LBB0_8:
Lloh17:
	adrp	x8, _sctp_auth_enable@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sctp_auth_enable@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.9:
	ldr	w0, [x21, #4]
	bl	_ntohs
	mov	x8, #8589934588
	add	x8, x8, w0, sxtw
	lsr	x9, x8, #1
	cmp	w9, #0
	b.le	LBB0_16
; %bb.10:
	mov	x24, #0
	ubfx	x8, x8, #1, #32
	lsl	x8, x8, #2
	sub	x25, x8, #4
Lloh20:
	adrp	x26, _SCTP_AUTH_HMAC_ID_SHA1@GOTPAGE
Lloh21:
	ldr	x26, [x26, _SCTP_AUTH_HMAC_ID_SHA1@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x24]
	bl	_ntohs
	ldr	w8, [x26]
	cmp	w0, w8
	ccmp	x25, x24, #4, ne
	add	x24, x24, #4
	b.ne	LBB0_11
	b	LBB0_17
LBB0_12:
Lloh22:
	adrp	x8, _sctp_prsctp_enable@GOTPAGE
Lloh23:
	ldr	x8, [x8, _sctp_prsctp_enable@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
	b	LBB0_15
LBB0_13:
Lloh25:
	adrp	x8, _sctp_auth_enable@GOTPAGE
Lloh26:
	ldr	x8, [x8, _sctp_auth_enable@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	w0, [x21, #4]
	bl	_ntohs
	cmp	w0, #261
	b.lt	LBB0_2
	b	LBB0_18
LBB0_15:
	bl	_ntohs
	mov	x1, x0
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x24
	bl	_SCTP_DEBUG_PRINTK
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, 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_process_unk_param
LBB0_16:
	mov	w0, #0
Lloh30:
	adrp	x8, _SCTP_AUTH_HMAC_ID_SHA1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SCTP_AUTH_HMAC_ID_SHA1@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
LBB0_17:
	cmp	w0, w8
	b.eq	LBB0_2
LBB0_18:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_sctp_process_inv_paramlength
LBB0_19:
Lloh33:
	adrp	x8, _SCTP_IERROR_ABORT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SCTP_IERROR_ABORT@GOTPAGEOFF]
Lloh35:
	ldr	w22, [x8]
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_SCTP_IERROR_NO_ERROR,4,2       ; @SCTP_IERROR_NO_ERROR
	.comm	_SCTP_IERROR_ABORT,4,2          ; @SCTP_IERROR_ABORT
	.comm	_sctp_addip_enable,4,2          ; @sctp_addip_enable
	.comm	_sctp_prsctp_enable,4,2         ; @sctp_prsctp_enable
	.comm	_sctp_auth_enable,4,2           ; @sctp_auth_enable
	.comm	_SCTP_AUTH_RANDOM_LENGTH,4,2    ; @SCTP_AUTH_RANDOM_LENGTH
	.comm	_SCTP_AUTH_HMAC_ID_SHA1,4,2     ; @SCTP_AUTH_HMAC_ID_SHA1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unrecognized param: %d for chunk %d.\n"

	.no_dead_strip	_sctp_verify_param
.subsections_via_symbols
