	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_process_ext_param
_sctp_process_ext_param:                ## @sctp_process_ext_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_ntohs
	addl	$-4, %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	movq	(%rbx), %rcx
	leaq	8(%r14), %rsi
	leaq	4(%r14), %r11
	movl	%eax, %eax
	xorl	%edi, %edi
	movq	_sctp_addip_enable@GOTPCREL(%rip), %r10
	movq	_sctp_auth_enable@GOTPCREL(%rip), %r8
	movq	_sctp_prsctp_enable@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r10)
	movq	%rsi, %rdx
	je	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%rdx)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	%rdi, %rax
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi,4), %ebx
	leal	-130(%rbx), %edx
	cmpl	$2, %edx
	jb	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %ebx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %ebx
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r9)
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r14)
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r8)
	movq	%r11, %rdx
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sctp_prsctp_enable,4,2         ## @sctp_prsctp_enable
	.comm	_sctp_auth_enable,4,2           ## @sctp_auth_enable
	.comm	_sctp_addip_enable,4,2          ## @sctp_addip_enable
	.no_dead_strip	_sctp_process_ext_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_process_ext_param
_sctp_process_ext_param:                ; @sctp_process_ext_param
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_ntohs
	sub	w8, w0, #4
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	ldr	x9, [x20]
	add	x10, x19, #8
Lloh0:
	adrp	x11, _sctp_addip_enable@GOTPAGE
Lloh1:
	ldr	x11, [x11, _sctp_addip_enable@GOTPAGEOFF]
	add	x12, x19, #4
	mov	w13, #1
Lloh2:
	adrp	x14, _sctp_auth_enable@GOTPAGE
Lloh3:
	ldr	x14, [x14, _sctp_auth_enable@GOTPAGEOFF]
Lloh4:
	adrp	x15, _sctp_prsctp_enable@GOTPAGE
Lloh5:
	ldr	x15, [x15, _sctp_prsctp_enable@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w17, [x11]
	mov	x16, x10
	cbz	w17, LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w13, [x16]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w16, [x9]
	sub	w17, w16, #130
	cmp	w17, #2
	b.lo	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w16, #129
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w16, #128
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w16, [x15]
	cbz	w16, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w16, [x19]
	cbnz	w16, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x16, x19
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w17, [x14]
	mov	x16, x12
	cbnz	w17, LBB0_3
	b	LBB0_4
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sctp_prsctp_enable,4,2         ; @sctp_prsctp_enable
	.comm	_sctp_auth_enable,4,2           ; @sctp_auth_enable
	.comm	_sctp_addip_enable,4,2          ; @sctp_addip_enable
	.no_dead_strip	_sctp_process_ext_param
.subsections_via_symbols
