	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gt_rp_mhz_show
_gt_rp_mhz_show:                        ## @gt_rp_mhz_show
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_kdev_minor_to_i915
	cmpq	_dev_attr_gt_RP0_freq_mhz@GOTPCREL(%rip), %rbx
	je	LBB0_1
## %bb.2:
	cmpq	_dev_attr_gt_RP1_freq_mhz@GOTPCREL(%rip), %rbx
	je	LBB0_3
## %bb.4:
	cmpq	_dev_attr_gt_RPn_freq_mhz@GOTPCREL(%rip), %rbx
	jne	LBB0_7
## %bb.5:
	movq	%rax, %rcx
	jmp	LBB0_6
LBB0_1:
	movq	%rax, %rcx
	addq	$8, %rcx
	jmp	LBB0_6
LBB0_3:
	movq	%rax, %rcx
	addq	$4, %rcx
LBB0_6:
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_intel_gpu_freq
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
LBB0_7:
	xorl	%eax, %eax
	callq	_BUG
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_gt_RP0_freq_mhz,4,2   ## @dev_attr_gt_RP0_freq_mhz
	.comm	_dev_attr_gt_RP1_freq_mhz,4,2   ## @dev_attr_gt_RP1_freq_mhz
	.comm	_dev_attr_gt_RPn_freq_mhz,4,2   ## @dev_attr_gt_RPn_freq_mhz
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_gt_rp_mhz_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gt_rp_mhz_show
_gt_rp_mhz_show:                        ; @gt_rp_mhz_show
	.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, x2
	mov	x20, x1
	bl	_kdev_minor_to_i915
Lloh0:
	adrp	x8, _dev_attr_gt_RP0_freq_mhz@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev_attr_gt_RP0_freq_mhz@GOTPAGEOFF]
	cmp	x20, x8
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _dev_attr_gt_RP1_freq_mhz@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dev_attr_gt_RP1_freq_mhz@GOTPAGEOFF]
	cmp	x20, x8
	b.eq	LBB0_5
; %bb.2:
Lloh4:
	adrp	x8, _dev_attr_gt_RPn_freq_mhz@GOTPAGE
Lloh5:
	ldr	x8, [x8, _dev_attr_gt_RPn_freq_mhz@GOTPAGEOFF]
	cmp	x20, x8
	b.ne	LBB0_7
; %bb.3:
	mov	x8, x0
	b	LBB0_6
LBB0_4:
	add	x8, x0, #8
	b	LBB0_6
LBB0_5:
	add	x8, x0, #4
LBB0_6:
	ldr	w1, [x8]
	bl	_intel_gpu_freq
	mov	x3, x0
Lloh6:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snprintf
LBB0_7:
	bl	_BUG
	brk	#0x1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_gt_RP0_freq_mhz,4,2   ; @dev_attr_gt_RP0_freq_mhz
	.comm	_dev_attr_gt_RP1_freq_mhz,4,2   ; @dev_attr_gt_RP1_freq_mhz
	.comm	_dev_attr_gt_RPn_freq_mhz,4,2   ; @dev_attr_gt_RPn_freq_mhz
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_gt_rp_mhz_show
.subsections_via_symbols
