	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_set_qp_db
_ocrdma_set_qp_db:                      ## @ocrdma_set_qp_db
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_ocrdma_get_asic_type
	movq	_OCRDMA_ASIC_GEN_SKH_R@GOTPCREL(%rip), %rcx
	movslq	(%r15), %rdx
	movslq	(%rbx), %rsi
	imulq	%rdx, %rsi
	addq	8(%rbx), %rsi
	cmpq	(%rcx), %rax
	movq	_OCRDMA_DB_SQ_OFFSET@GOTPCREL(%rip), %rax
	cmoveq	_OCRDMA_DB_GEN2_SQ_OFFSET@GOTPCREL(%rip), %rax
	movq	_OCRDMA_DB_RQ_OFFSET@GOTPCREL(%rip), %rcx
	cmoveq	_OCRDMA_DB_GEN2_RQ_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rax), %rax
	addq	%rsi, %rax
	addq	(%rcx), %rsi
	movq	%rax, 8(%r14)
	movq	%rsi, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCRDMA_ASIC_GEN_SKH_R,8,3      ## @OCRDMA_ASIC_GEN_SKH_R
	.comm	_OCRDMA_DB_GEN2_SQ_OFFSET,8,3   ## @OCRDMA_DB_GEN2_SQ_OFFSET
	.comm	_OCRDMA_DB_GEN2_RQ_OFFSET,8,3   ## @OCRDMA_DB_GEN2_RQ_OFFSET
	.comm	_OCRDMA_DB_SQ_OFFSET,8,3        ## @OCRDMA_DB_SQ_OFFSET
	.comm	_OCRDMA_DB_RQ_OFFSET,8,3        ## @OCRDMA_DB_RQ_OFFSET
	.no_dead_strip	_ocrdma_set_qp_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_set_qp_db
_ocrdma_set_qp_db:                      ; @ocrdma_set_qp_db
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_ocrdma_get_asic_type
Lloh0:
	adrp	x8, _OCRDMA_ASIC_GEN_SKH_R@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCRDMA_ASIC_GEN_SKH_R@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x21, #8]
	ldrsw	x10, [x19]
	ldrsw	x11, [x21]
	madd	x9, x11, x10, x9
Lloh3:
	adrp	x10, _OCRDMA_DB_GEN2_SQ_OFFSET@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OCRDMA_DB_GEN2_SQ_OFFSET@GOTPAGEOFF]
Lloh5:
	adrp	x11, _OCRDMA_DB_SQ_OFFSET@GOTPAGE
Lloh6:
	ldr	x11, [x11, _OCRDMA_DB_SQ_OFFSET@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x10, x11, eq
	ldr	x8, [x8]
Lloh7:
	adrp	x10, _OCRDMA_DB_GEN2_RQ_OFFSET@GOTPAGE
Lloh8:
	ldr	x10, [x10, _OCRDMA_DB_GEN2_RQ_OFFSET@GOTPAGEOFF]
Lloh9:
	adrp	x11, _OCRDMA_DB_RQ_OFFSET@GOTPAGE
Lloh10:
	ldr	x11, [x11, _OCRDMA_DB_RQ_OFFSET@GOTPAGEOFF]
	add	x8, x9, x8
	csel	x10, x10, x11, eq
	ldr	x10, [x10]
	add	x9, x9, x10
	stp	x9, x8, [x20]
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OCRDMA_ASIC_GEN_SKH_R,8,3      ; @OCRDMA_ASIC_GEN_SKH_R
	.comm	_OCRDMA_DB_GEN2_SQ_OFFSET,8,3   ; @OCRDMA_DB_GEN2_SQ_OFFSET
	.comm	_OCRDMA_DB_GEN2_RQ_OFFSET,8,3   ; @OCRDMA_DB_GEN2_RQ_OFFSET
	.comm	_OCRDMA_DB_SQ_OFFSET,8,3        ; @OCRDMA_DB_SQ_OFFSET
	.comm	_OCRDMA_DB_RQ_OFFSET,8,3        ; @OCRDMA_DB_RQ_OFFSET
	.no_dead_strip	_ocrdma_set_qp_db
.subsections_via_symbols
