	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_unpack_auth_chunks        ## -- Begin function sctp_unpack_auth_chunks
	.p2align	4, 0x90
_sctp_unpack_auth_chunks:               ## @sctp_unpack_auth_chunks
	.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
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rdi, %r12
	cmpl	$33, %esi
	jge	LBB0_3
## %bb.22:
	movl	%esi, %r15d
	testl	%esi, %esi
	jle	LBB0_25
## %bb.23:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_24
	jmp	LBB0_25
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_25
LBB0_3:
	movq	$-256, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %r12
	addq	$8, %rbx
	je	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	testb	$1, %al
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testb	$2, %al
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	testb	$4, %al
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$8, %al
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$16, %al
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$32, %al
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$64, %al
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$-128, %al
	je	LBB0_20
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	256(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	movl	(%r12), %eax
	testb	$2, %al
	je	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	257(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	movl	(%r12), %eax
	testb	$4, %al
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	258(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	movl	(%r12), %eax
	testb	$8, %al
	je	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	259(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	movl	(%r12), %eax
	testb	$16, %al
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	260(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	movl	(%r12), %eax
	testb	$32, %al
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	261(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	movl	(%r12), %eax
	testb	$64, %al
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	262(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	movl	(%r12), %eax
	testb	$-128, %al
	je	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	263(%rbx), %edi
	movq	%r14, %rsi
	callq	_sctp_auth_add_chunk
	jmp	LBB0_20
LBB0_21:
	movl	$32, %r15d
LBB0_25:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_unpack_auth_chunks        ; -- Begin function sctp_unpack_auth_chunks
	.p2align	2
_sctp_unpack_auth_chunks:               ; @sctp_unpack_auth_chunks
	.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
	cbz	x2, LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	cmp	w1, #33
	b.ge	LBB0_6
; %bb.2:
	mov	w21, w1
	cmp	w1, #0
	b.le	LBB0_25
; %bb.3:
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, x22, lsl #2]
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	add	x22, x22, #1
	cmp	w21, w22
	b.ne	LBB0_4
	b	LBB0_25
LBB0_5:
	mov	w21, #0
	b	LBB0_25
LBB0_6:
	mov	x21, #-256
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, #4
	adds	x21, x21, #8
	b.eq	LBB0_24
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	tbnz	w8, #0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w8, #1, LBB0_17
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w8, #2, LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w8, #3, LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w8, #4, LBB0_20
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w8, #5, LBB0_21
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	tbnz	w8, #6, LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w8, #7, LBB0_7
	b	LBB0_23
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #256
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	ldr	w8, [x20]
	tbz	w8, #1, LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #257
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	ldr	w8, [x20]
	tbz	w8, #2, LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #258
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	ldr	w8, [x20]
	tbz	w8, #3, LBB0_12
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #259
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	ldr	w8, [x20]
	tbz	w8, #4, LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #260
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	ldr	w8, [x20]
	tbz	w8, #5, LBB0_14
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #261
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	ldr	w8, [x20]
	tbz	w8, #6, LBB0_15
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #262
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	ldr	w8, [x20]
	tbz	w8, #7, LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w0, w21, #263
	mov	x1, x19
	bl	_sctp_auth_add_chunk
	b	LBB0_7
LBB0_24:
	mov	w21, #32
LBB0_25:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
