	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_packet_will_fit
_sctp_packet_will_fit:                  ## @sctp_packet_will_fit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SCTP_XMIT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%rdi), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	cmoveq	%rax, %rcx
	addq	(%rdi), %rdx
	cmpq	(%rcx), %rdx
	jbe	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_sctp_packet_empty
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movl	$1, 8(%rbx)
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rdi
	callq	_sctp_chunk_is_data
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$0, 12(%rbx)
	je	LBB0_4
LBB0_6:
	movq	_SCTP_XMIT_PMTU_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_7
LBB0_4:
	cmpq	$0, (%r15)
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_XMIT_OK,4,2               ## @SCTP_XMIT_OK
	.comm	_SCTP_XMIT_PMTU_FULL,4,2        ## @SCTP_XMIT_PMTU_FULL
	.no_dead_strip	_sctp_packet_will_fit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_packet_will_fit
_sctp_packet_will_fit:                  ; @sctp_packet_will_fit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _SCTP_XMIT_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_XMIT_OK@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x8, [x0]
	ldr	x9, [x0, #16]
	ldr	x10, [x9, #8]
	cmp	x10, #0
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	add	x8, x8, x2
	cmp	x8, x9
	b.ls	LBB0_3
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	bl	_sctp_packet_empty
	cbz	x0, LBB0_4
LBB0_2:
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x21
	bl	_sctp_chunk_is_data
	cbz	w0, LBB0_2
; %bb.5:
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _SCTP_XMIT_PMTU_FULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_XMIT_PMTU_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	b	LBB0_3
LBB0_7:
	ldr	x8, [x21]
	cbnz	x8, LBB0_2
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_XMIT_OK,4,2               ; @SCTP_XMIT_OK
	.comm	_SCTP_XMIT_PMTU_FULL,4,2        ; @SCTP_XMIT_PMTU_FULL
	.no_dead_strip	_sctp_packet_will_fit
.subsections_via_symbols
