	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_add_asconf_response
_sctp_add_asconf_response:              ## @sctp_add_asconf_response
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_SCTP_ERROR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	_SCTP_PARAM_SUCCESS_REPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_2:
	movq	_SCTP_PARAM_ERR_CAUSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$40, %r13d
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	movq	24(%rcx), %rdi
	callq	_ntohs
	movl	%eax, %r12d
	jmp	LBB0_5
LBB0_3:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%r15, -64(%rbp)
	leal	(%r12,%r13), %edi
	addl	$40, %edi
	callq	_htons
	movq	%rax, -72(%rbp)
	movl	%ebx, -80(%rbp)
	leaq	-96(%rbp), %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_sctp_addto_chunk
	movq	_SCTP_ERROR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_8
## %bb.6:
	leal	(%r12,%r13), %edi
	movq	%r14, -128(%rbp)
	callq	_htons
	movq	%rax, -136(%rbp)
	leaq	-136(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_sctp_addto_chunk
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_sctp_addto_chunk
LBB0_8:
	addq	$104, %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_PARAM_SUCCESS_REPORT,8,3  ## @SCTP_PARAM_SUCCESS_REPORT
	.comm	_SCTP_PARAM_ERR_CAUSE,8,3       ## @SCTP_PARAM_ERR_CAUSE
	.no_dead_strip	_sctp_add_asconf_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_add_asconf_response
_sctp_add_asconf_response:              ; @sctp_add_asconf_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x3
	mov	x21, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _SCTP_ERROR_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SCTP_ERROR_NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	mov	w22, #0
	mov	w23, #0
Lloh2:
	adrp	x8, _SCTP_PARAM_SUCCESS_REPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCTP_PARAM_SUCCESS_REPORT@GOTPAGEOFF]
Lloh4:
	ldr	x25, [x8]
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x8, _SCTP_PARAM_ERR_CAUSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCTP_PARAM_ERR_CAUSE@GOTPAGEOFF]
Lloh7:
	ldr	x25, [x8]
	cbz	x19, LBB0_4
; %bb.3:
	ldr	x0, [x19, #24]
	bl	_ntohs
	mov	x22, x0
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	mov	w23, #40
LBB0_6:
	str	x25, [sp, #72]
	add	w25, w23, w22
	add	w0, w25, #40
	bl	_htons
	str	x0, [sp, #64]
	str	w24, [sp, #56]
	add	x2, sp, #40
	mov	x0, x20
	mov	w1, #40
	bl	_sctp_addto_chunk
	ldr	x8, [x26]
	cmp	x8, x21
	b.eq	LBB0_9
; %bb.7:
	str	x21, [sp, #8]
	mov	x0, x25
	bl	_htons
	str	x0, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x23
	bl	_sctp_addto_chunk
	cbz	x19, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_sctp_addto_chunk
LBB0_9:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_ERROR_NO_ERROR,8,3        ; @SCTP_ERROR_NO_ERROR
	.comm	_SCTP_PARAM_SUCCESS_REPORT,8,3  ; @SCTP_PARAM_SUCCESS_REPORT
	.comm	_SCTP_PARAM_ERR_CAUSE,8,3       ; @SCTP_PARAM_ERR_CAUSE
	.no_dead_strip	_sctp_add_asconf_response
.subsections_via_symbols
