	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_tsnmap_mark               ## -- Begin function sctp_tsnmap_mark
	.p2align	4, 0x90
_sctp_tsnmap_mark:                      ## @sctp_tsnmap_mark
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	%r12, %rdi
	callq	_TSN_lt
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_1
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r15
	movq	%r12, %r13
	subq	%r15, %r13
	cmpq	8(%rbx), %r13
	jl	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_sctp_tsnmap_grow
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	callq	_sctp_tsnmap_has_gap
	movq	16(%rbx), %rdi
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	cmpq	%r12, %r15
	jne	LBB0_9
## %bb.6:
	incq	%rdi
	movq	%rdi, 16(%rbx)
	incl	28(%rbx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	movq	(%rcx), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
LBB0_8:
	incq	(%rbx)
	jmp	LBB0_12
LBB0_9:
	movq	%r12, %rsi
	callq	_TSN_lt
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r12, 16(%rbx)
LBB0_11:
	movl	24(%rbx), %esi
	movq	%r13, %rdi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_sctp_tsnmap_update
	jmp	LBB0_12
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_tsnmap_mark               ; -- Begin function sctp_tsnmap_mark
	.p2align	2
_sctp_tsnmap_mark:                      ; @sctp_tsnmap_mark
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x1, [x0]
	mov	x0, x21
	bl	_TSN_lt
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
	ldp	x23, x8, [x19]
	sub	x22, x21, x23
	cmp	x22, x8
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x22
	bl	_sctp_tsnmap_grow
	cbz	w0, LBB0_13
LBB0_5:
	mov	x0, x19
	bl	_sctp_tsnmap_has_gap
	mov	x8, x0
	ldr	x0, [x19, #16]
	cbnz	w8, LBB0_10
; %bb.6:
	cmp	x23, x21
	b.ne	LBB0_10
; %bb.7:
	add	x8, x0, #1
	str	x8, [x19, #16]
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	cbz	x20, LBB0_9
; %bb.8:
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	w8, [x20, #8]
LBB0_9:
	mov	w0, #0
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_2
LBB0_10:
	mov	x1, x21
	bl	_TSN_lt
	cbz	x0, LBB0_12
; %bb.11:
	str	x21, [x19, #16]
LBB0_12:
	ldr	w1, [x19, #24]
	mov	x0, x22
	bl	_set_bit
	mov	x0, x19
	bl	_sctp_tsnmap_update
	b	LBB0_1
LBB0_13:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
