	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cqspi_calc_rdreg
_cqspi_calc_rdreg:                      ## @cqspi_calc_rdreg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%rax), %edx
	movl	4(%rax), %esi
	shll	%cl, %edx
	movq	_CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	movl	8(%rax), %eax
	movq	_CQSPI_REG_RD_INSTR_TYPE_DATA_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB,4,2 ## @CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB
	.comm	_CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB,4,2 ## @CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB
	.comm	_CQSPI_REG_RD_INSTR_TYPE_DATA_LSB,4,2 ## @CQSPI_REG_RD_INSTR_TYPE_DATA_LSB
	.no_dead_strip	_cqspi_calc_rdreg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cqspi_calc_rdreg
_cqspi_calc_rdreg:                      ; @cqspi_calc_rdreg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldp	w10, w11, [x8]
	lsl	w9, w10, w9
Lloh3:
	adrp	x10, _CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w11, w10
	orr	w9, w10, w9
	ldr	w8, [x8, #8]
Lloh6:
	adrp	x10, _CQSPI_REG_RD_INSTR_TYPE_DATA_LSB@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CQSPI_REG_RD_INSTR_TYPE_DATA_LSB@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB,4,2 ; @CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB
	.comm	_CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB,4,2 ; @CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB
	.comm	_CQSPI_REG_RD_INSTR_TYPE_DATA_LSB,4,2 ; @CQSPI_REG_RD_INSTR_TYPE_DATA_LSB
	.no_dead_strip	_cqspi_calc_rdreg
.subsections_via_symbols
