	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function continue_rmpp
_continue_rmpp:                         ## @continue_rmpp
	.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, %r14
	movq	%rdi, %r12
	callq	_acquire_rmpp_recv
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_get_seg_num
	movl	%eax, %r13d
	movq	%r15, %rbx
	addq	$20, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	movq	_RMPP_STATE_TIMEOUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.2:
	cmpl	8(%r15), %r13d
	jle	LBB0_3
LBB0_15:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_16:
	movq	%r15, %rdi
	callq	_deref_rmpp_recv
LBB0_17:
	movq	%r14, %rdi
	callq	_ib_free_recv_mad
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	12(%r15), %r13d
	jle	LBB0_5
## %bb.4:
	movq	_RMPP_STATE_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.6:
	movq	32(%r15), %rdi
	movl	%r13d, %esi
	callq	_find_seg_location
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_list_add
	cmpq	%r13, 24(%r15)
	je	LBB0_8
LBB0_12:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_5:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ack_recv
	jmp	LBB0_16
LBB0_8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_update_seg_num
	movq	24(%r15), %rdi
	callq	_get_last_flag
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_RMPP_STATE_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_complete_rmpp
	movq	%rax, %rbx
LBB0_14:
	movq	%r15, %rdi
	callq	_deref_rmpp_recv
	jmp	LBB0_18
LBB0_10:
	movl	16(%r15), %eax
	cmpl	8(%r15), %eax
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_window_size
	addl	%eax, 8(%r15)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ack_recv
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_RMPP_STATE_TIMEOUT,8,3         ## @RMPP_STATE_TIMEOUT
	.comm	_RMPP_STATE_COMPLETE,8,3        ## @RMPP_STATE_COMPLETE
	.no_dead_strip	_continue_rmpp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function continue_rmpp
_continue_rmpp:                         ; @continue_rmpp
	.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	x22, x0
	bl	_acquire_rmpp_recv
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_get_seg_num
	mov	x23, x0
	add	x21, x19, #20
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _RMPP_STATE_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RMPP_STATE_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x19, #8]
	cmp	w23, w9
	b.le	LBB0_7
LBB0_3:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_4:
	mov	x0, x19
	bl	_deref_rmpp_recv
LBB0_5:
	mov	x0, x20
	bl	_ib_free_recv_mad
	mov	x20, #0
LBB0_6:
	mov	x0, x20
	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_7:
	ldr	w9, [x19, #12]
	cmp	w23, w9
	b.le	LBB0_13
; %bb.8:
Lloh3:
	adrp	x24, _RMPP_STATE_COMPLETE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _RMPP_STATE_COMPLETE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.9:
	ldr	x0, [x19, #32]
	mov	x1, x23
	bl	_find_seg_location
	cbz	x0, LBB0_3
; %bb.10:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_list_add
	ldr	x8, [x19, #24]
	cmp	x8, x23
	b.eq	LBB0_14
LBB0_11:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_12:
	mov	x20, #0
	b	LBB0_16
LBB0_13:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x20
	bl	_ack_recv
	b	LBB0_4
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_update_seg_num
	ldr	x0, [x19, #24]
	bl	_get_last_flag
	cbz	x0, LBB0_17
; %bb.15:
	ldr	x8, [x24]
	str	x8, [x19]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_complete_rmpp
	mov	x20, x0
LBB0_16:
	mov	x0, x19
	bl	_deref_rmpp_recv
	b	LBB0_6
LBB0_17:
	ldr	w8, [x19, #16]
	ldr	w9, [x19, #8]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.18:
	mov	x0, x22
	bl	_window_size
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	str	w8, [x19, #8]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x20
	bl	_ack_recv
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RMPP_STATE_TIMEOUT,8,3         ; @RMPP_STATE_TIMEOUT
	.comm	_RMPP_STATE_COMPLETE,8,3        ; @RMPP_STATE_COMPLETE
	.no_dead_strip	_continue_rmpp
.subsections_via_symbols
