	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_can_we_split_this
_sctp_can_we_split_this:                ## @sctp_can_we_split_this
	.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	%rdx, %rbx
	movq	%rsi, %r15
	testl	%r8d, %r8d
	je	LBB0_3
## %bb.1:
	cmpq	%rbx, %r15
	jg	LBB0_9
## %bb.2:
	xorl	%ebx, %ebx
	cmpq	$0, 8(%rdi)
	cmoveq	%r15, %rbx
	jmp	LBB0_9
LBB0_3:
	movq	%rcx, %r14
	movl	(%rdi), %edi
	callq	_SCTP_SB_LIMIT_SND
	cmpq	%r14, %rax
	jge	LBB0_5
## %bb.4:
	movq	%r15, %rbx
	jmp	LBB0_9
LBB0_5:
	subq	%rbx, %r15
	jle	LBB0_8
## %bb.6:
	movq	_sctp_min_residual@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	cmpq	%rax, %r15
	jl	LBB0_8
## %bb.7:
	movq	_sctp_min_split_point@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_min
	cmpq	%rbx, %rax
	jle	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_min                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sctp_min_residual,4,2          ## @sctp_min_residual
	.comm	_sctp_min_split_point,4,2       ## @sctp_min_split_point
	.no_dead_strip	_sctp_can_we_split_this
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_can_we_split_this
_sctp_can_we_split_this:                ; @sctp_can_we_split_this
	.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
	mov	x19, x2
	mov	x21, x1
	cbz	w4, LBB0_3
; %bb.1:
	cmp	x21, x19
	b.gt	LBB0_9
; %bb.2:
	ldr	x8, [x0, #8]
	cmp	x8, #0
	csel	x19, x21, xzr, eq
	b	LBB0_9
LBB0_3:
	mov	x20, x3
	ldr	w0, [x0]
	bl	_SCTP_SB_LIMIT_SND
	cmp	x0, x20
	b.ge	LBB0_5
; %bb.4:
	mov	x19, x21
	b	LBB0_9
LBB0_5:
	subs	x21, x21, x19
	b.le	LBB0_8
; %bb.6:
Lloh0:
	adrp	x8, _sctp_min_residual@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sctp_min_residual@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
	cmp	x21, x0
	b.lt	LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _sctp_min_split_point@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sctp_min_split_point@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
	mov	x1, x20
	bl	_min
	cmp	x0, x19
	b.le	LBB0_10
LBB0_8:
	mov	x19, #0
LBB0_9:
	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_10:
	mov	x0, x19
	mov	x1, x20
	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
	b	_min
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_sctp_min_residual,4,2          ; @sctp_min_residual
	.comm	_sctp_min_split_point,4,2       ; @sctp_min_split_point
	.no_dead_strip	_sctp_can_we_split_this
.subsections_via_symbols
