	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __check_rpcs
___check_rpcs:                          ## @__check_rpcs
	.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
	xorl	%r14d, %r14d
	cmpl	%ecx, %edx
	je	LBB0_4
## %bb.1:
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %rsi
	testl	%edx, %edx
	js	LBB0_2
## %bb.3:
	movl	%ecx, %eax
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%r8, %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_pr_err
	movq	_GEN8_RPCS_S_CNT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.3(%rip), %r9
	movq	%r9, %rax
	cmoveq	%rdx, %rax
	movq	_GEN8_RPCS_SS_CNT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%r15d, %r8d
	movq	_GEN8_RPCS_SS_CNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r8d
	movq	_GEN8_RPCS_SS_CNT_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r15d, %ecx
	cmoveq	%rdx, %r9
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movq	%rax, %rcx
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%r8, %rdx
	movl	%ebx, %ecx
	movq	%r9, %r8
	xorl	%eax, %eax
	callq	_pr_err
	movl	%ebx, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s read slice count failed with %d%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: %s slice count %d is not %u%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"RPCS=0x%x; %u%sx%u%s\n"

	.comm	_GEN8_RPCS_S_CNT_ENABLE,4,2     ## @GEN8_RPCS_S_CNT_ENABLE
L_.str.3:                               ## @.str.3
	.asciz	"*"

L_.str.4:                               ## @.str.4
	.space	1

	.comm	_GEN8_RPCS_SS_CNT_MASK,4,2      ## @GEN8_RPCS_SS_CNT_MASK
	.comm	_GEN8_RPCS_SS_CNT_SHIFT,4,2     ## @GEN8_RPCS_SS_CNT_SHIFT
	.comm	_GEN8_RPCS_SS_CNT_ENABLE,4,2    ## @GEN8_RPCS_SS_CNT_ENABLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	___check_rpcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __check_rpcs
___check_rpcs:                          ; @__check_rpcs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	cmp	w2, w3
	b.ne	LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_5
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	mov	x1, x0
	tbnz	w2, #31, LBB0_4
; %bb.3:
	stp	x3, x5, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x4
	mov	x3, x19
	bl	_pr_err
Lloh2:
	adrp	x8, _GEN8_RPCS_S_CNT_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GEN8_RPCS_S_CNT_ENABLE@GOTPAGEOFF]
Lloh4:
	adrp	x9, l_.str.3@PAGE
Lloh5:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x10, l_.str.4@PAGE
Lloh8:
	add	x10, x10, l_.str.4@PAGEOFF
	tst	w8, w20
Lloh9:
	adrp	x8, _GEN8_RPCS_SS_CNT_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GEN8_RPCS_SS_CNT_MASK@GOTPAGEOFF]
	csel	x3, x10, x9, eq
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh12:
	adrp	x11, _GEN8_RPCS_SS_CNT_SHIFT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _GEN8_RPCS_SS_CNT_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	asr	w4, w8, w11
Lloh15:
	adrp	x8, _GEN8_RPCS_SS_CNT_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GEN8_RPCS_SS_CNT_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	csel	x5, x10, x9, eq
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_pr_info
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_5
LBB0_4:
	str	x5, [sp]
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x4
	mov	x3, x19
	bl	_pr_err
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s read slice count failed with %d%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: %s slice count %d is not %u%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"RPCS=0x%x; %u%sx%u%s\n"

	.comm	_GEN8_RPCS_S_CNT_ENABLE,4,2     ; @GEN8_RPCS_S_CNT_ENABLE
l_.str.3:                               ; @.str.3
	.asciz	"*"

l_.str.4:                               ; @.str.4
	.space	1

	.comm	_GEN8_RPCS_SS_CNT_MASK,4,2      ; @GEN8_RPCS_SS_CNT_MASK
	.comm	_GEN8_RPCS_SS_CNT_SHIFT,4,2     ; @GEN8_RPCS_SS_CNT_SHIFT
	.comm	_GEN8_RPCS_SS_CNT_ENABLE,4,2    ; @GEN8_RPCS_SS_CNT_ENABLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	___check_rpcs
.subsections_via_symbols
