	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_make_asconf
_sctp_make_asconf:                      ## @sctp_make_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_sctp_get_af_specific
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	leal	(%r12,%r15), %ecx
	addl	$4, %ecx
	movq	_SCTP_CID_ASCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_sctp_make_chunk
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	movl	(%r14), %edi
	leal	1(%rdi), %eax
	movl	%eax, (%r14)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htonl
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_sctp_addto_chunk
	movq	%rax, 8(%rbx)
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_sctp_addto_chunk
	movq	%rax, (%rbx)
	movq	%rbx, %r12
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_CID_ASCONF,4,2            ## @SCTP_CID_ASCONF
	.no_dead_strip	_sctp_make_asconf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_make_asconf
_sctp_make_asconf:                      ; @sctp_make_asconf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x1]
	bl	_sctp_get_af_specific
	ldr	x8, [x0]
	mov	x1, sp
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	w8, w20, w0
	add	w3, w8, #4
Lloh0:
	adrp	x8, _SCTP_CID_ASCONF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_CID_ASCONF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_sctp_make_chunk
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x21]
	add	w8, w0, #1
	str	w8, [x21]
	bl	_htonl
	str	w0, [sp, #8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w1, #4
	bl	_sctp_addto_chunk
	str	x0, [x20, #8]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_sctp_addto_chunk
	str	x0, [x20]
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_CID_ASCONF,4,2            ; @SCTP_CID_ASCONF
	.no_dead_strip	_sctp_make_asconf
.subsections_via_symbols
