	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_make_asconf_update_ip     ## -- Begin function sctp_make_asconf_update_ip
	.p2align	4, 0x90
_sctp_make_asconf_update_ip:            ## @sctp_make_asconf_update_ip
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_sctp_get_af_specific
	movq	%rax, %r15
	movq	%rbx, %rdi
	leaq	-72(%rbp), %rsi
	callq	*(%rax)
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r12d
	addl	$8, %r12d
	movslq	8(%r15), %rax
	addq	%rax, %rbx
	decl	%r13d
	jne	LBB0_2
## %bb.3:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_sctp_make_asconf
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_8
## %bb.5:
	xorl	%r13d, %r13d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_sctp_get_af_specific
	movq	%rax, %r15
	movq	%r14, %rdi
	leaq	-72(%rbp), %rsi
	callq	*(%rax)
	movl	%eax, %ebx
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -76(%rbp)
	leal	8(%rbx), %edi
	callq	_htons
	movl	%r13d, -80(%rbp)
	movq	%r12, %rdi
	movl	$8, %esi
	leaq	-80(%rbp), %rdx
	callq	_sctp_addto_chunk
	movq	%r12, %rdi
	movl	%ebx, %esi
	leaq	-72(%rbp), %rdx
	callq	_sctp_addto_chunk
	movslq	8(%r15), %rax
	addq	%rax, %r14
	incl	%r13d
	cmpl	%r13d, -44(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_9:
	xorl	%edx, %edx
	callq	_sctp_make_asconf
LBB0_8:
	addq	$56, %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_make_asconf_update_ip     ; -- Begin function sctp_make_asconf_update_ip
	.p2align	2
_sctp_make_asconf_update_ip:            ; @sctp_make_asconf_update_ip
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x1
	mov	x23, x0
	cmp	w3, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	w24, #0
	mov	x27, x3
	mov	x25, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	bl	_sctp_get_af_specific
	mov	x26, x0
	ldr	x8, [x0]
	mov	x1, sp
	mov	x0, x25
	blr	x8
	add	w8, w24, w0
	add	w24, w8, #8
	ldrsw	x8, [x26, #8]
	add	x25, x25, x8
	subs	w27, w27, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_sctp_make_asconf
	mov	x22, x0
	cmp	x0, #0
	ccmp	w20, #1, #8, ne
	b.lt	LBB0_7
; %bb.4:
	mov	w25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_sctp_get_af_specific
	mov	x23, x0
	ldr	x8, [x0]
	mov	x1, sp
	mov	x0, x21
	blr	x8
	mov	x24, x0
	str	w19, [sp, #12]
	add	w0, w0, #8
	bl	_htons
	str	w25, [sp, #8]
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #8
	bl	_sctp_addto_chunk
	mov	x2, sp
	mov	x0, x22
	mov	x1, x24
	bl	_sctp_addto_chunk
	ldrsw	x8, [x23, #8]
	add	x21, x21, x8
	add	w25, w25, #1
	cmp	w20, w25
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	bl	_sctp_make_asconf
	mov	x22, x0
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
