	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtpref
_rtpref:                                ## @rtpref
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	movq	_ND_RA_FLAG_RTPREF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.rtpref(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_log
	movq	_RTPREF_INVALID@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ND_RA_FLAG_RTPREF_MASK,4,2     ## @ND_RA_FLAG_RTPREF_MASK
	.comm	_RTPREF_HIGH,4,2                ## @RTPREF_HIGH
	.comm	_RTPREF_MEDIUM,4,2              ## @RTPREF_MEDIUM
	.comm	_RTPREF_LOW,4,2                 ## @RTPREF_LOW
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtpref: impossible RA flag %x\n"

	.comm	_RTPREF_INVALID,4,2             ## @RTPREF_INVALID
	.no_dead_strip	_rtpref
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.rtpref
l_switch.table.rtpref:
	.quad	_RTPREF_MEDIUM
	.quad	_RTPREF_MEDIUM
	.quad	_RTPREF_LOW
	.quad	_RTPREF_HIGH

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtpref
_rtpref:                                ; @rtpref
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w2, [x0]
Lloh0:
	adrp	x8, _ND_RA_FLAG_RTPREF_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ND_RA_FLAG_RTPREF_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w2
	sub	w8, w8, #128
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, l_switch.table.rtpref@PAGE
Lloh4:
	add	x9, x9, l_switch.table.rtpref@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log
Lloh10:
	adrp	x8, _RTPREF_INVALID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RTPREF_INVALID@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ND_RA_FLAG_RTPREF_MASK,4,2     ; @ND_RA_FLAG_RTPREF_MASK
	.comm	_RTPREF_HIGH,4,2                ; @RTPREF_HIGH
	.comm	_RTPREF_MEDIUM,4,2              ; @RTPREF_MEDIUM
	.comm	_RTPREF_LOW,4,2                 ; @RTPREF_LOW
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtpref: impossible RA flag %x\n"

	.comm	_RTPREF_INVALID,4,2             ; @RTPREF_INVALID
	.no_dead_strip	_rtpref
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rtpref
l_switch.table.rtpref:
	.quad	_RTPREF_MEDIUM
	.quad	_RTPREF_MEDIUM
	.quad	_RTPREF_LOW
	.quad	_RTPREF_HIGH

.subsections_via_symbols
