	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_process_asconf            ## -- Begin function sctp_process_asconf
	.p2align	4, 0x90
_sctp_process_asconf:                   ## @sctp_process_asconf
	.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	%rsi, %rbx
	movq	%rdi, %r12
	movq	16(%rsi), %rax
	movl	(%rax), %edi
	callq	_ntohs
	movl	%eax, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	(%rax), %r14
	movl	(%r14), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	4(%r14), %edi
	callq	_ntohs
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	subl	%eax, %r13d
	leal	-32(,%r13,4), %edx
	movq	%r12, %r15
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sctp_make_asconf_ack
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	addl	$-8, %r13d
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.2:
	addq	$4, %r14
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	addq	%r14, %rbx
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_sctp_process_asconf_param
	movq	%rax, %r12
	movq	_SCTP_ERROR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	movl	$0, %eax
	cmovnel	%eax, %r14d
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_sctp_add_asconf_response
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SCTP_ERROR_RSRC_LOW@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %edi
	callq	_ntohs
	cltq
	addq	%rax, %rbx
	subl	%eax, %r13d
	jg	LBB0_3
LBB0_7:
	incl	4(%r15)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_sctp_chunk_hold
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_ERROR_NO_ERROR,8,3        ## @SCTP_ERROR_NO_ERROR
	.comm	_SCTP_ERROR_RSRC_LOW,8,3        ## @SCTP_ERROR_RSRC_LOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_process_asconf            ; -- Begin function sctp_process_asconf
	.p2align	2
_sctp_process_asconf:                   ; @sctp_process_asconf
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #16]
	ldr	w0, [x8]
	bl	_ntohs
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	x28, [x8]
	ldr	w0, [x28]
	bl	_ntohl
	mov	x23, x0
	ldr	w0, [x28, #4]!
	bl	_ntohs
	mov	x22, x0
	sub	w8, w21, w0
	sub	w24, w8, #8
	lsl	w2, w24, #2
	mov	x0, x19
	mov	x1, x23
	bl	_sctp_make_asconf_ack
	mov	x21, x0
	cmp	x0, #0
	ccmp	w24, #1, #8, ne
	b.lt	LBB0_6
; %bb.1:
	mov	w25, #1
Lloh0:
	adrp	x26, _SCTP_ERROR_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SCTP_ERROR_NO_ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x27, _SCTP_ERROR_RSRC_LOW@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SCTP_ERROR_RSRC_LOW@GOTPAGEOFF]
	add	x22, x28, w22, sxtw
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_sctp_process_asconf_param
	mov	x23, x0
	ldr	x8, [x26]
	cmp	x8, x0
	csel	w25, w25, wzr, eq
	cbnz	w25, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x22, #4]
	mov	x0, x21
	mov	x2, x23
	mov	x3, x22
	bl	_sctp_add_asconf_response
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	cmp	x8, x23
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	bl	_ntohs
	add	x22, x22, w0, sxtw
	sub	w24, w24, w0
	cmp	w24, #0
	b.gt	LBB0_2
LBB0_6:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	cbz	x21, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_sctp_chunk_hold
	mov	x0, x21
	mov	x1, x19
	bl	_list_add_tail
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_ERROR_NO_ERROR,8,3        ; @SCTP_ERROR_NO_ERROR
	.comm	_SCTP_ERROR_RSRC_LOW,8,3        ; @SCTP_ERROR_RSRC_LOW
.subsections_via_symbols
