	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_rdma_destroy_srq
_qed_rdma_destroy_srq:                  ## @qed_rdma_destroy_srq
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %r15d
	movl	%r15d, -44(%rbp)
	movq	_QED_SPQ_MODE_EBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_RDMA_RAMROD_DESTROY_SRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rdi), %rax
	movl	8(%rax), %ecx
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %r8
	callq	_qed_sp_init_request
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	-40(%rbp), %r12
	movl	(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r12)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, (%r12)
	movq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_qed_spq_post
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	leaq	4(%rdi), %r15
	callq	_spin_lock_bh
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_qed_bmap_release_id
	movq	(%rbx), %rdi
	callq	_spin_unlock_bh
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_DP_VERBOSE
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ## @QED_SPQ_MODE_EBLOCK
	.comm	_RDMA_RAMROD_DESTROY_SRQ,4,2    ## @RDMA_RAMROD_DESTROY_SRQ
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SRQ destroyed Id = %x"

	.no_dead_strip	_qed_rdma_destroy_srq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_rdma_destroy_srq
_qed_rdma_destroy_srq:                  ; @qed_rdma_destroy_srq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w21, [x0, #8]
Lloh0:
	adrp	x8, _QED_SPQ_MODE_EBLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_SPQ_MODE_EBLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w21, [sp, #8]
Lloh3:
	adrp	x8, _RDMA_RAMROD_DESTROY_SRQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_RAMROD_DESTROY_SRQ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x8, [x0]
	ldr	w3, [x8, #8]
	mov	x1, sp
	add	x4, sp, #8
	bl	_qed_sp_init_request
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x22, [sp]
	ldr	w0, [x20]
	bl	_cpu_to_le16
	str	x0, [x22, #8]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x22]
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, #0
	bl	_qed_spq_post
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	add	x21, x0, #4
	bl	_spin_lock_bh
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_qed_bmap_release_id
	ldr	x0, [x19]
	bl	_spin_unlock_bh
Lloh6:
	adrp	x8, _QED_MSG_RDMA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_MSG_RDMA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
	mov	w0, #0
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ; @QED_SPQ_MODE_EBLOCK
	.comm	_RDMA_RAMROD_DESTROY_SRQ,4,2    ; @RDMA_RAMROD_DESTROY_SRQ
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SRQ destroyed Id = %x"

	.no_dead_strip	_qed_rdma_destroy_srq
.subsections_via_symbols
