	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_process_asconf_ack        ## -- Begin function sctp_process_asconf_ack
	.p2align	4, 0x90
_sctp_process_asconf_ack:               ## @sctp_process_asconf_ack
	.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	$40, %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, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movl	(%rax), %r12d
	movq	8(%rax), %r14
	movl	4(%r14), %edi
	callq	_ntohs
	subl	%eax, %r12d
	addl	$-4, %r12d
	testl	%r12d, %r12d
	jle	LBB0_1
## %bb.2:
	addq	$4, %r14
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rcx
	movl	(%rcx), %r15d
	movslq	%eax, %rbx
	addq	%r14, %rbx
	movl	$1, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, 8(%rcx)
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %edi
	callq	_ntohs
	cltq
	addq	%rax, %rbx
	movl	%r13d, %r14d
	subl	%eax, %r12d
	jle	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$4, %r15d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_sctp_get_asconf_response
	cmpl	$131, %eax
	movl	%r14d, %r13d
	movl	$0, %ecx
	cmovnel	%ecx, %r13d
	testl	%r14d, %r14d
	cmovel	%r14d, %r13d
	cmpl	$128, %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$129, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$131, %eax
	jne	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_sctp_asconf_param_success
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_list_del_init
	movq	%rbx, %rdi
	callq	_sctp_chunk_free
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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_process_asconf_ack        ; -- Begin function sctp_process_asconf_ack
	.p2align	2
_sctp_process_asconf_ack:               ; @sctp_process_asconf_ack
	.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	x21, x1
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x8, [x20, #8]
	ldr	w22, [x8]
	ldr	x23, [x8, #8]
	ldr	w0, [x23, #4]!
	bl	_ntohs
	sub	w8, w22, w0
	sub	w25, w8, #4
	cmp	w25, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w22, #0
	ldr	x8, [x21, #8]
	ldr	w26, [x8]
	add	x23, x23, w0, sxtw
	mov	w24, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_sctp_asconf_param_success
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x23]
	bl	_ntohs
	add	x23, x23, w0, sxtw
	sub	w25, w25, w0
	cmp	w25, #0
	b.le	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w26, #4
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_sctp_get_asconf_response
	cmp	w0, #131
	ccmp	w24, #0, #4, ne
	csel	w24, wzr, w24, ne
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #129
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #131
	b.eq	LBB0_2
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #4]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #1
	b	LBB0_3
LBB0_10:
	mov	w22, #0
LBB0_11:
	mov	x0, x20
	bl	_list_del_init
	mov	x0, x20
	bl	_sctp_chunk_free
	str	xzr, [x19]
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
