	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_rmpp
_start_rmpp:                            ## @start_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, %rbx
	callq	_create_rmpp_recv
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_insert_rmpp_recv
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_destroy_rmpp_recv
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_continue_rmpp                  ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	_ib_free_recv_mad
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_3:
	leaq	12(%r15), %rdi
	callq	_atomic_inc
	movq	%r14, %rdi
	callq	_get_last_flag
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_RMPP_STATE_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_complete_rmpp
	jmp	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %r12d
	movq	%r15, %r13
	addq	$4, %r13
	movl	$40000, %edi                    ## imm = 0x9C40
	callq	_msecs_to_jiffies
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_queue_delayed_work
	movq	%rbx, %rdi
	callq	_window_size
	addl	%eax, (%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ack_recv
	xorl	%r14d, %r14d
LBB0_6:
	movq	%r15, %rdi
	callq	_deref_rmpp_recv
LBB0_7:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RMPP_STATE_COMPLETE,4,2        ## @RMPP_STATE_COMPLETE
	.no_dead_strip	_start_rmpp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_rmpp
_start_rmpp:                            ; @start_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	x19, x1
	mov	x21, x0
	bl	_create_rmpp_recv
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	add	x22, x21, #8
	mov	x0, x22
	bl	_spin_lock_irqsave
	mov	x0, x21
	mov	x1, x20
	bl	_insert_rmpp_recv
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_destroy_rmpp_recv
	mov	x0, x21
	mov	x1, 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
	b	_continue_rmpp
LBB0_3:
	mov	x0, x19
	bl	_ib_free_recv_mad
	mov	x19, #0
	b	LBB0_8
LBB0_4:
	add	x0, x20, #12
	bl	_atomic_inc
	mov	x0, x19
	bl	_get_last_flag
	cbz	x0, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _RMPP_STATE_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RMPP_STATE_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_complete_rmpp
	b	LBB0_7
LBB0_6:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w22, [x8]
	add	x23, x20, #4
	mov	w0, #40000
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_queue_delayed_work
	mov	x0, x21
	bl	_window_size
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_ack_recv
	mov	x19, #0
LBB0_7:
	mov	x0, x20
	bl	_deref_rmpp_recv
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RMPP_STATE_COMPLETE,4,2        ; @RMPP_STATE_COMPLETE
	.no_dead_strip	_start_rmpp
.subsections_via_symbols
