	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_mbx_delete_q
_ocrdma_mbx_delete_q:                   ## @ocrdma_mbx_delete_q
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	cmpl	$130, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_6
## %bb.3:
	movq	_OCRDMA_CMD_DELETE_MQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_7
LBB0_4:
	movq	_OCRDMA_CMD_DELETE_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_7
LBB0_5:
	movq	_OCRDMA_CMD_DELETE_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_7
LBB0_6:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_BUG
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	4(%rbx), %rdi
	movq	_OCRDMA_SUBSYS_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %esi
	movl	$8, %ecx
	callq	_ocrdma_init_mch
	movl	4(%r14), %eax
	movl	%eax, (%rbx)
	movl	(%r15), %edi
	movq	%rbx, %rsi
	movl	$8, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_be_roce_mcc_cmd
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movl	$0, (%r14)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCRDMA_CMD_DELETE_MQ,4,2       ## @OCRDMA_CMD_DELETE_MQ
	.comm	_OCRDMA_CMD_DELETE_CQ,4,2       ## @OCRDMA_CMD_DELETE_CQ
	.comm	_OCRDMA_CMD_DELETE_EQ,4,2       ## @OCRDMA_CMD_DELETE_EQ
	.comm	_OCRDMA_SUBSYS_COMMON,4,2       ## @OCRDMA_SUBSYS_COMMON
	.no_dead_strip	_ocrdma_mbx_delete_q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_mbx_delete_q
_ocrdma_mbx_delete_q:                   ; @ocrdma_mbx_delete_q
	.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	x19, x1
	mov	x21, x0
	ldr	x20, [x0, #8]
	cmp	w2, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #128
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _OCRDMA_CMD_DELETE_MQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCRDMA_CMD_DELETE_MQ@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _OCRDMA_CMD_DELETE_CQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCRDMA_CMD_DELETE_CQ@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _OCRDMA_CMD_DELETE_EQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCRDMA_CMD_DELETE_EQ@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	b	LBB0_7
LBB0_6:
	bl	_BUG
	mov	w22, #0
LBB0_7:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, x20, #4
Lloh9:
	adrp	x8, _OCRDMA_SUBSYS_COMMON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OCRDMA_SUBSYS_COMMON@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x1, x22
	mov	w3, #8
	bl	_ocrdma_init_mch
	ldr	w8, [x19, #4]
	str	w8, [x20]
	ldr	w0, [x21]
	mov	x1, x20
	mov	w2, #8
	mov	x3, #0
	mov	x4, #0
	bl	_be_roce_mcc_cmd
	cbnz	w0, LBB0_9
; %bb.8:
	str	wzr, [x19]
LBB0_9:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_OCRDMA_CMD_DELETE_MQ,4,2       ; @OCRDMA_CMD_DELETE_MQ
	.comm	_OCRDMA_CMD_DELETE_CQ,4,2       ; @OCRDMA_CMD_DELETE_CQ
	.comm	_OCRDMA_CMD_DELETE_EQ,4,2       ; @OCRDMA_CMD_DELETE_EQ
	.comm	_OCRDMA_SUBSYS_COMMON,4,2       ; @OCRDMA_SUBSYS_COMMON
	.no_dead_strip	_ocrdma_mbx_delete_q
.subsections_via_symbols
