	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocrdma_flush_qp                ## -- Begin function ocrdma_flush_qp
	.p2align	4, 0x90
_ocrdma_flush_qp:                       ## @ocrdma_flush_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_spin_lock_irqsave
	movq	24(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_ocrdma_is_qp_in_sq_flushlist
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$0, 20(%rbx)
	jne	LBB0_5
	jmp	LBB0_3
LBB0_1:
	leaq	32(%rbx), %rdi
	movq	24(%rbx), %rsi
	callq	_list_add_tail
	cmpl	$0, 20(%rbx)
	jne	LBB0_5
LBB0_3:
	movq	8(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_ocrdma_is_qp_in_rq_flushlist
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	leaq	16(%rbx), %rdi
	movq	8(%rbx), %rsi
	callq	_list_add_tail
LBB0_5:
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocrdma_flush_qp                ; -- Begin function ocrdma_flush_qp
	.p2align	2
_ocrdma_flush_qp:                       ; @ocrdma_flush_qp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_spin_lock_irqsave
	ldr	x0, [x19, #24]
	mov	x1, x19
	bl	_ocrdma_is_qp_in_sq_flushlist
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_5
	b	LBB0_3
LBB0_2:
	add	x0, x19, #32
	ldr	x1, [x19, #24]
	bl	_list_add_tail
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_5
LBB0_3:
	ldr	x0, [x19, #8]
	mov	x1, x19
	bl	_ocrdma_is_qp_in_rq_flushlist
	cbnz	w0, LBB0_5
; %bb.4:
	add	x0, x19, #16
	ldr	x1, [x19, #8]
	bl	_list_add_tail
LBB0_5:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
