	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvt_insert_qp
_rvt_insert_qp:                         ## @rvt_insert_qp
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movslq	(%rsi), %rcx
	movq	-8(%rax,%rcx,8), %r15
	movq	%rsi, %rdi
	callq	_rvt_get_qp
	movq	(%r14), %rdi
	callq	_spin_lock_irqsave
	movslq	8(%rbx), %rax
	cmpq	$1, %rax
	jg	LBB0_2
## %bb.1:
	movq	(%r15), %rcx
	movl	(%rcx,%rax,4), %edi
	movq	%rbx, %rsi
	callq	_rcu_assign_pointer
	jmp	LBB0_3
LBB0_2:
	movl	%eax, %edi
	movq	(%r14), %rax
	movl	16(%rax), %esi
	callq	_hash_32
	movq	%rax, %r15
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax,%r15,4), %ecx
	movl	%ecx, 4(%rbx)
	movl	(%rax,%r15,4), %edi
	movq	%rbx, %rsi
	callq	_rcu_assign_pointer
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_trace_rvt_qpinsert
LBB0_3:
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rvt_insert_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvt_insert_qp
_rvt_insert_qp:                         ; @rvt_insert_qp
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldrsw	x9, [x1]
	add	x8, x8, x9, lsl #3
	ldur	x21, [x8, #-8]
	mov	x0, x1
	bl	_rvt_get_qp
	ldr	x0, [x19]
	bl	_spin_lock_irqsave
	ldrsw	x8, [x20, #8]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	ldr	x9, [x21]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, x20
	bl	_rcu_assign_pointer
	b	LBB0_3
LBB0_2:
	and	x0, x8, #0xffffffff
	ldr	x8, [x19]
	ldr	w1, [x8, #16]
	bl	_hash_32
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	lsl	x9, x0, #2
	ldr	w10, [x8, x9]
	str	w10, [x20, #4]
	ldr	w0, [x8, x9]
	mov	x1, x20
	bl	_rcu_assign_pointer
	mov	x0, x20
	mov	x1, x21
	bl	_trace_rvt_qpinsert
LBB0_3:
	ldr	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
	b	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rvt_insert_qp
.subsections_via_symbols
