	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_init_srq_user_params
_qedr_init_srq_user_params:             ## @qedr_init_srq_user_params
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	16(%rsi), %esi
	leaq	20(%r13), %rdx
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	movl	%r15d, %r9d
	pushq	$1
	pushq	%r14
	callq	_qedr_init_user_queue
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$4, %edx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_ib_umem_get
	movq	%rax, 8(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	leaq	28(%r13), %rsi
	movl	16(%r13), %edi
	movl	24(%r13), %edx
	callq	_qedr_free_pbl
	movl	20(%r13), %edi
	callq	_ib_umem_release
	movl	16(%r13), %ebx
	movq	8(%r13), %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_DP_ERR
	movq	8(%r13), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	callq	_sg_dma_address
	movl	%eax, (%r13)
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"create srq: failed ib_umem_get for producer, got %ld\n"

	.no_dead_strip	_qedr_init_srq_user_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qedr_init_srq_user_params
_qedr_init_srq_user_params:             ; @qedr_init_srq_user_params
	.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	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w1, [x1, #16]
	add	x2, x19, #20
	ldp	w4, w3, [x23, #4]
	mov	x5, x21
	mov	x6, x20
	mov	w7, #1
	bl	_qedr_init_user_queue
	cbz	w0, LBB0_2
LBB0_1:
	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
LBB0_2:
	ldr	w1, [x23]
	mov	x0, x22
	mov	w2, #4
	mov	x3, x21
	mov	x4, x20
	bl	_ib_umem_get
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
	add	x1, x19, #28
	ldr	w2, [x19, #24]
	bl	_qedr_free_pbl
	ldr	w0, [x19, #20]
	bl	_ib_umem_release
	ldr	w20, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_PTR_ERR
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP_ERR
	ldr	x0, [x19, #8]
	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	_PTR_ERR
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_sg_dma_address
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"create srq: failed ib_umem_get for producer, got %ld\n"

	.no_dead_strip	_qedr_init_srq_user_params
.subsections_via_symbols
