	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mptspi_getRP
_mptspi_getRP:                          ## @mptspi_getRP
	.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
	movq	%rdi, %r14
	callq	_spi_iu
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MPI_SCSIDEVPAGE1_RP_IU@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_spi_dt
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_MPI_SCSIDEVPAGE1_RP_DT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movq	%r14, %rdi
	callq	_spi_qas
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_MPI_SCSIDEVPAGE1_RP_QAS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_6:
	movq	%r14, %rdi
	callq	_spi_hold_mcs
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_MPI_SCSIDEVPAGE1_RP_HOLD_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_8:
	movq	%r14, %rdi
	callq	_spi_wr_flow
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_MPI_SCSIDEVPAGE1_RP_WR_FLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_10:
	orl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	%r15d, %r13d
	movq	%r14, %rdi
	callq	_spi_rd_strm
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_MPI_SCSIDEVPAGE1_RP_RD_STRM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_12:
	orl	%ecx, %r12d
	orl	%r13d, %ebx
	movq	%r14, %rdi
	callq	_spi_rti
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_MPI_SCSIDEVPAGE1_RP_RTI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_14:
	orl	%ecx, %r12d
	orl	%r12d, %ebx
	movq	%r14, %rdi
	callq	_spi_pcomp_en
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_MPI_SCSIDEVPAGE1_RP_PCOMP_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_16:
	orl	%ecx, %ebx
	movq	%r14, %rdi
	callq	_spi_period
	movl	%eax, %r15d
	movq	_MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movq	_MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	orl	%ebx, %r15d
	movq	%r14, %rdi
	callq	_spi_offset
	movl	%eax, %ebx
	movq	_MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_spi_width
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_18
## %bb.17:
	movq	_MPI_SCSIDEVPAGE1_RP_WIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	orl	%eax, %ebx
	orl	%ebx, %r15d
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPI_SCSIDEVPAGE1_RP_IU,4,2     ## @MPI_SCSIDEVPAGE1_RP_IU
	.comm	_MPI_SCSIDEVPAGE1_RP_DT,4,2     ## @MPI_SCSIDEVPAGE1_RP_DT
	.comm	_MPI_SCSIDEVPAGE1_RP_QAS,4,2    ## @MPI_SCSIDEVPAGE1_RP_QAS
	.comm	_MPI_SCSIDEVPAGE1_RP_HOLD_MCS,4,2 ## @MPI_SCSIDEVPAGE1_RP_HOLD_MCS
	.comm	_MPI_SCSIDEVPAGE1_RP_WR_FLOW,4,2 ## @MPI_SCSIDEVPAGE1_RP_WR_FLOW
	.comm	_MPI_SCSIDEVPAGE1_RP_RD_STRM,4,2 ## @MPI_SCSIDEVPAGE1_RP_RD_STRM
	.comm	_MPI_SCSIDEVPAGE1_RP_RTI,4,2    ## @MPI_SCSIDEVPAGE1_RP_RTI
	.comm	_MPI_SCSIDEVPAGE1_RP_PCOMP_EN,4,2 ## @MPI_SCSIDEVPAGE1_RP_PCOMP_EN
	.comm	_MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD,4,2 ## @MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD
	.comm	_MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK,4,2 ## @MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK
	.comm	_MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET,4,2 ## @MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET
	.comm	_MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK,4,2 ## @MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK
	.comm	_MPI_SCSIDEVPAGE1_RP_WIDE,4,2   ## @MPI_SCSIDEVPAGE1_RP_WIDE
	.no_dead_strip	_mptspi_getRP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mptspi_getRP
_mptspi_getRP:                          ; @mptspi_getRP
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_spi_iu
Lloh0:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_IU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_IU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, wzr, w8, eq
	mov	x0, x19
	bl	_spi_dt
Lloh3:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_DT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_DT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w8, w20
	mov	x0, x19
	bl	_spi_qas
Lloh6:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_QAS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_QAS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_hold_mcs
Lloh9:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_HOLD_MCS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_HOLD_MCS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_wr_flow
Lloh12:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_WR_FLOW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_WR_FLOW@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_rd_strm
Lloh15:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_RD_STRM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_RD_STRM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_rti
Lloh18:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_RTI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_RTI@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_pcomp_en
Lloh21:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_PCOMP_EN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_PCOMP_EN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_period
Lloh24:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	lsl	w8, w0, w8
Lloh27:
	adrp	x9, _MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	and	w8, w8, w9
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_offset
Lloh30:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	lsl	w8, w0, w8
Lloh33:
	adrp	x9, _MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	and	w8, w8, w9
	orr	w20, w20, w8
	mov	x0, x19
	bl	_spi_width
Lloh36:
	adrp	x8, _MPI_SCSIDEVPAGE1_RP_WIDE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MPI_SCSIDEVPAGE1_RP_WIDE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w0, w20, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_MPI_SCSIDEVPAGE1_RP_IU,4,2     ; @MPI_SCSIDEVPAGE1_RP_IU
	.comm	_MPI_SCSIDEVPAGE1_RP_DT,4,2     ; @MPI_SCSIDEVPAGE1_RP_DT
	.comm	_MPI_SCSIDEVPAGE1_RP_QAS,4,2    ; @MPI_SCSIDEVPAGE1_RP_QAS
	.comm	_MPI_SCSIDEVPAGE1_RP_HOLD_MCS,4,2 ; @MPI_SCSIDEVPAGE1_RP_HOLD_MCS
	.comm	_MPI_SCSIDEVPAGE1_RP_WR_FLOW,4,2 ; @MPI_SCSIDEVPAGE1_RP_WR_FLOW
	.comm	_MPI_SCSIDEVPAGE1_RP_RD_STRM,4,2 ; @MPI_SCSIDEVPAGE1_RP_RD_STRM
	.comm	_MPI_SCSIDEVPAGE1_RP_RTI,4,2    ; @MPI_SCSIDEVPAGE1_RP_RTI
	.comm	_MPI_SCSIDEVPAGE1_RP_PCOMP_EN,4,2 ; @MPI_SCSIDEVPAGE1_RP_PCOMP_EN
	.comm	_MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD,4,2 ; @MPI_SCSIDEVPAGE1_RP_SHIFT_MIN_SYNC_PERIOD
	.comm	_MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK,4,2 ; @MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK
	.comm	_MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET,4,2 ; @MPI_SCSIDEVPAGE1_RP_SHIFT_MAX_SYNC_OFFSET
	.comm	_MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK,4,2 ; @MPI_SCSIDEVPAGE1_RP_MAX_SYNC_OFFSET_MASK
	.comm	_MPI_SCSIDEVPAGE1_RP_WIDE,4,2   ; @MPI_SCSIDEVPAGE1_RP_WIDE
	.no_dead_strip	_mptspi_getRP
.subsections_via_symbols
