	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen6_rps_pm_mask
_gen6_rps_pm_mask:                      ## @gen6_rps_pm_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GEN6_PM_RP_UP_EI_EXPIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GEN6_PM_RP_DOWN_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	movq	_GEN6_PM_RP_DOWN_TIMEOUT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	xorl	%r8d, %r8d
	cmpq	%rsi, 8(%rdi)
	cmovgel	%r8d, %ecx
	movq	_GEN6_PM_RP_UP_THRESHOLD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	cmpq	%rsi, 16(%rdi)
	cmovlel	%r8d, %eax
	orl	%ecx, %eax
	andl	(%rdi), %eax
	notl	%eax
	movl	%eax, %esi
	popq	%rbp
	jmp	_gen6_sanitize_rps_pm_mask      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN6_PM_RP_UP_EI_EXPIRED,4,2   ## @GEN6_PM_RP_UP_EI_EXPIRED
	.comm	_GEN6_PM_RP_DOWN_THRESHOLD,4,2  ## @GEN6_PM_RP_DOWN_THRESHOLD
	.comm	_GEN6_PM_RP_DOWN_TIMEOUT,4,2    ## @GEN6_PM_RP_DOWN_TIMEOUT
	.comm	_GEN6_PM_RP_UP_THRESHOLD,4,2    ## @GEN6_PM_RP_UP_THRESHOLD
	.no_dead_strip	_gen6_rps_pm_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen6_rps_pm_mask
_gen6_rps_pm_mask:                      ; @gen6_rps_pm_mask
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _GEN6_PM_RP_UP_EI_EXPIRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN6_PM_RP_UP_EI_EXPIRED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GEN6_PM_RP_DOWN_THRESHOLD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GEN6_PM_RP_DOWN_THRESHOLD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh6:
	adrp	x10, _GEN6_PM_RP_DOWN_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GEN6_PM_RP_DOWN_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldp	x10, x11, [x0, #8]
	cmp	x10, x1
	csel	w9, w9, wzr, lt
Lloh9:
	adrp	x10, _GEN6_PM_RP_UP_THRESHOLD@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GEN6_PM_RP_UP_THRESHOLD@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w8, w10, w8
	cmp	x11, x1
	csel	w8, w8, wzr, gt
	orr	w8, w8, w9
	ldr	w9, [x0]
	and	w8, w8, w9
	mvn	w1, w8
	b	_gen6_sanitize_rps_pm_mask
	.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	_GEN6_PM_RP_UP_EI_EXPIRED,4,2   ; @GEN6_PM_RP_UP_EI_EXPIRED
	.comm	_GEN6_PM_RP_DOWN_THRESHOLD,4,2  ; @GEN6_PM_RP_DOWN_THRESHOLD
	.comm	_GEN6_PM_RP_DOWN_TIMEOUT,4,2    ; @GEN6_PM_RP_DOWN_TIMEOUT
	.comm	_GEN6_PM_RP_UP_THRESHOLD,4,2    ; @GEN6_PM_RP_UP_THRESHOLD
	.no_dead_strip	_gen6_rps_pm_mask
.subsections_via_symbols
