	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_devfreq_get_dev_status
_tegra_devfreq_get_dev_status:          ## @tegra_devfreq_get_dev_status
	.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
	movq	%rsi, %r14
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_READ_ONCE
	movq	%rax, %rbx
	movq	%r15, 24(%r14)
	movq	_KHZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imulq	%rbx, %rax
	movq	%rax, (%r14)
	movq	_MCALL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r15), %rdi
	movq	_ACTMON_DEV_AVG_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_device_readl
	movl	%eax, %edi
	movq	_BUS_SATURATION_RATIO@GOTPCREL(%rip), %rcx
	movl	$100, %eax
	xorl	%edx, %edx
	idivl	(%rcx)
	imull	%eax, %edi
	movl	%edi, 8(%r14)
	movq	_ACTMON_SAMPLING_PERIOD@GOTPCREL(%rip), %rax
	imulq	(%rax), %rbx
	movq	%rbx, 16(%r14)
	movq	%rbx, %rsi
	callq	_min
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KHZ,8,3                        ## @KHZ
	.comm	_MCALL,8,3                      ## @MCALL
	.comm	_ACTMON_DEV_AVG_COUNT,4,2       ## @ACTMON_DEV_AVG_COUNT
	.comm	_BUS_SATURATION_RATIO,4,2       ## @BUS_SATURATION_RATIO
	.comm	_ACTMON_SAMPLING_PERIOD,8,3     ## @ACTMON_SAMPLING_PERIOD
	.no_dead_strip	_tegra_devfreq_get_dev_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_devfreq_get_dev_status
_tegra_devfreq_get_dev_status:          ; @tegra_devfreq_get_dev_status
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_READ_ONCE
	mov	x21, x0
Lloh0:
	adrp	x8, _KHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KHZ@GOTPAGEOFF]
	str	x20, [x19, #24]
Lloh2:
	ldr	x8, [x8]
	mul	x8, x8, x0
	str	x8, [x19]
Lloh3:
	adrp	x8, _MCALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCALL@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh5:
	ldr	x8, [x8]
	add	x0, x9, x8, lsl #2
Lloh6:
	adrp	x8, _ACTMON_DEV_AVG_COUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACTMON_DEV_AVG_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_device_readl
Lloh9:
	adrp	x8, _BUS_SATURATION_RATIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BUS_SATURATION_RATIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	w9, #100
	sdiv	w8, w9, w8
	mul	w0, w8, w0
	str	w0, [x19, #8]
Lloh12:
	adrp	x8, _ACTMON_SAMPLING_PERIOD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACTMON_SAMPLING_PERIOD@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mul	x1, x8, x21
	str	x1, [x19, #16]
	bl	_min
	str	w0, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.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	_KHZ,8,3                        ; @KHZ
	.comm	_MCALL,8,3                      ; @MCALL
	.comm	_ACTMON_DEV_AVG_COUNT,4,2       ; @ACTMON_DEV_AVG_COUNT
	.comm	_BUS_SATURATION_RATIO,4,2       ; @BUS_SATURATION_RATIO
	.comm	_ACTMON_SAMPLING_PERIOD,8,3     ; @ACTMON_SAMPLING_PERIOD
	.no_dead_strip	_tegra_devfreq_get_dev_status
.subsections_via_symbols
