	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_get_create_qp_rsp
_ocrdma_get_create_qp_rsp:              ## @ocrdma_get_create_qp_rsp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_OCRDMA_CREATE_QP_RSP_QP_ID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movq	%rcx, %r9
	movl	%eax, (%rsi)
	movl	4(%rdi), %eax
	movq	_OCRDMA_CREATE_QP_RSP_RQ_ID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 16(%rsi)
	movq	_OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, 28(%rsi)
	movl	8(%rdi), %eax
	movq	_OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 4(%rsi)
	movq	_OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, 8(%rsi)
	movl	$0, 12(%rsi)
	movl	12(%rdi), %eax
	movq	_OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	$1, 12(%rsi)
	movq	_OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, (%r8)
	movq	_OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	12(%rdi), %eax
	movq	_OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, (%r9)
LBB0_2:
	movl	16(%rdi), %r8d
	movq	_OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r8d, %edi
	sarl	%cl, %edi
	movl	$1, %r9d
	movl	$1, %eax
	movl	%edi, %ecx
	shll	%cl, %eax
	movl	%eax, 32(%rsi)
	decl	%eax
	movl	%eax, 36(%rsi)
	cmpl	$0, (%rdx)
	je	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	movl	%r8d, %ecx
	shll	%cl, %r9d
	movl	%r9d, 20(%rsi)
	decl	%r9d
	movl	%r9d, 24(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCRDMA_CREATE_QP_RSP_QP_ID_MASK,4,2 ## @OCRDMA_CREATE_QP_RSP_QP_ID_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_RQ_ID_MASK,4,2 ## @OCRDMA_CREATE_QP_RSP_RQ_ID_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT,4,2 ## @OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK,4,2 ## @OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT,4,2 ## @OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK,4,2 ## @OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK,4,2 ## @OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT,4,2 ## @OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK,4,2 ## @OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT,4,2 ## @OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT,4,2 ## @OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT
	.no_dead_strip	_ocrdma_get_create_qp_rsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_get_create_qp_rsp
_ocrdma_get_create_qp_rsp:              ; @ocrdma_get_create_qp_rsp
	.cfi_startproc
; %bb.0:
	ldp	w8, w10, [x0]
Lloh0:
	adrp	x9, _OCRDMA_CREATE_QP_RSP_QP_ID_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OCRDMA_CREATE_QP_RSP_QP_ID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x1]
Lloh3:
	adrp	x8, _OCRDMA_CREATE_QP_RSP_RQ_ID_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCRDMA_CREATE_QP_RSP_RQ_ID_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w9, w8, w10
Lloh6:
	adrp	x8, _OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	asr	w8, w10, w8
	str	w8, [x1, #28]
Lloh9:
	adrp	x8, _OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x8]
	ldp	w11, w8, [x0, #8]
	and	w10, w10, w11
Lloh12:
	adrp	x12, _OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT@GOTPAGE
Lloh13:
	ldr	x12, [x12, _OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	asr	w11, w11, w12
	stp	w10, w11, [x1, #4]
	stp	wzr, w9, [x1, #12]
Lloh15:
	adrp	x9, _OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w9, #1
Lloh18:
	adrp	x10, _OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK@GOTPAGE
Lloh19:
	ldr	x10, [x10, _OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK@GOTPAGEOFF]
	str	w9, [x1, #12]
Lloh20:
	ldr	w9, [x10]
	and	w8, w9, w8
Lloh21:
	adrp	x9, _OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x4]
	ldr	w8, [x0, #12]
Lloh24:
	adrp	x9, _OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh27:
	adrp	x9, _OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x3]
LBB0_2:
	ldr	w8, [x0, #16]
Lloh30:
	adrp	x9, _OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	asr	w10, w8, w9
	mov	w9, #1
	lsl	w10, w9, w10
	sub	w11, w10, #1
	stp	w10, w11, [x1, #32]
	ldr	w10, [x2]
	cbz	w10, LBB0_4
; %bb.3:
	ret
LBB0_4:
	lsl	w8, w9, w8
	sub	w9, w8, #1
	stp	w8, w9, [x1, #20]
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_OCRDMA_CREATE_QP_RSP_QP_ID_MASK,4,2 ; @OCRDMA_CREATE_QP_RSP_QP_ID_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_RQ_ID_MASK,4,2 ; @OCRDMA_CREATE_QP_RSP_RQ_ID_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT,4,2 ; @OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK,4,2 ; @OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT,4,2 ; @OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK,4,2 ; @OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK,4,2 ; @OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT,4,2 ; @OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK,4,2 ; @OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK
	.comm	_OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT,4,2 ; @OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT
	.comm	_OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT,4,2 ; @OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT
	.no_dead_strip	_ocrdma_get_create_qp_rsp
.subsections_via_symbols
