	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_bus_get_dev_status
_exynos_bus_get_dev_status:             ## @exynos_bus_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, %r15
	movq	%rdi, %r14
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	4(%rax), %eax
	movl	%eax, 8(%r15)
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_exynos_bus_get_event
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	imull	$100, -32(%rbp), %eax
	cltd
	idivl	(%rbx)
	movl	%eax, 4(%r15)
	movl	-28(%rbp), %ecx
	movl	%ecx, (%r15)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_dbg
	jmp	LBB0_3
LBB0_1:
	movq	$0, (%r15)
LBB0_3:
	movq	%rbx, %rdi
	callq	_exynos_bus_set_event
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_5:
	movl	%ebx, %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	"Usage of devfreq-event : %lu/%lu\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to set event to devfreq-event devices\n"

	.no_dead_strip	_exynos_bus_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 exynos_bus_get_dev_status
_exynos_bus_get_dev_status:             ; @exynos_bus_get_dev_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w8, [x0, #4]
	str	w8, [x21, #8]
	add	x1, sp, #8
	bl	_exynos_bus_get_event
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w8, #100
	ldp	w9, w3, [sp, #8]
	mul	w8, w9, w8
	ldr	w9, [x20]
	sdiv	w2, w8, w9
	stp	w3, w2, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_3
LBB0_2:
	str	xzr, [x21]
LBB0_3:
	mov	x0, x20
	bl	_exynos_bus_set_event
	mov	x20, x0
	tbz	w0, #31, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage of devfreq-event : %lu/%lu\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to set event to devfreq-event devices\n"

	.no_dead_strip	_exynos_bus_get_dev_status
.subsections_via_symbols
