	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_get_asconf_response
_sctp_get_asconf_response:              ## @sctp_get_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	testl	%edx, %edx
	jne	LBB0_2
## %bb.1:
	movq	_SCTP_ERROR_REQ_REFUSED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_SCTP_ERROR_NO_ERROR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_ntohs
	movl	%eax, %r13d
	addl	$-8, %r13d
	testl	%r13d, %r13d
	jle	LBB0_14
## %bb.4:
	movq	(%r12), %rax
	movq	(%rax), %rbx
	addq	$4, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%rbx), %edi
	callq	_ntohs
	cltq
	addq	%rax, %rbx
	subl	%eax, %r13d
	jg	LBB0_5
	jmp	LBB0_14
LBB0_7:
	movl	8(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.9:
	movq	_SCTP_ERROR_NO_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	cmpl	$17, %r13d
	jb	LBB0_12
## %bb.11:
	movl	16(%rbx), %r14d
	jmp	LBB0_14
LBB0_12:
	movq	_SCTP_ERROR_INV_PARAM@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_ERROR_NO_ERROR,4,2        ## @SCTP_ERROR_NO_ERROR
	.comm	_SCTP_ERROR_REQ_REFUSED,4,2     ## @SCTP_ERROR_REQ_REFUSED
	.comm	_SCTP_ERROR_INV_PARAM,4,2       ## @SCTP_ERROR_INV_PARAM
	.no_dead_strip	_sctp_get_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_get_asconf_response
_sctp_get_asconf_response:              ; @sctp_get_asconf_response
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _SCTP_ERROR_REQ_REFUSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_ERROR_REQ_REFUSED@GOTPAGEOFF]
Lloh2:
	adrp	x22, _SCTP_ERROR_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SCTP_ERROR_NO_ERROR@GOTPAGEOFF]
	cmp	w2, #0
	csel	x8, x8, x22, eq
	ldr	w19, [x8]
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_ntohs
	sub	w23, w0, #8
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x21, x8, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21, #12]
	bl	_ntohs
	add	x21, x21, w0, sxtw
	sub	w23, w23, w0
	cmp	w23, #0
	b.gt	LBB0_2
	b	LBB0_10
LBB0_4:
	ldr	w8, [x21, #8]
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.6:
	ldr	w19, [x22]
	b	LBB0_10
LBB0_7:
	cmp	w23, #17
	b.lo	LBB0_9
; %bb.8:
	ldr	w19, [x21, #16]
	b	LBB0_10
LBB0_9:
Lloh4:
	adrp	x8, _SCTP_ERROR_INV_PARAM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SCTP_ERROR_INV_PARAM@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
LBB0_10:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_ERROR_NO_ERROR,4,2        ; @SCTP_ERROR_NO_ERROR
	.comm	_SCTP_ERROR_REQ_REFUSED,4,2     ; @SCTP_ERROR_REQ_REFUSED
	.comm	_SCTP_ERROR_INV_PARAM,4,2       ; @SCTP_ERROR_INV_PARAM
	.no_dead_strip	_sctp_get_asconf_response
.subsections_via_symbols
