	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function occ_show_power_a0
_occ_show_power_a0:                     ## @occ_show_power_a0
	.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	%rdx, %r14
	movq	%rsi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_to_sensor_dev_attr_2
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_occ_update_response
	testl	%eax, %eax
	je	LBB0_1
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	4(%rbx), %ecx
	cmpq	$15, %rcx
	ja	LBB0_25
## %bb.2:
	movq	8(%r15), %rdi
	movslq	(%rbx), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	decq	%rbx
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$12, %rdi
	callq	_get_unaligned_be32
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_4
LBB0_25:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_26
LBB0_6:
	imulq	$52, %rax, %rcx
	leaq	(%rdi,%rcx), %rax
	addq	$48, %rax
	leaq	(%rdi,%rcx), %rsi
	addq	$44, %rsi
	jmp	LBB0_7
LBB0_8:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$44, %rdi
	jmp	LBB0_9
LBB0_10:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$40, %rdi
	jmp	LBB0_11
LBB0_13:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	decq	%rbx
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$12, %rdi
	callq	_get_unaligned_be32
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_4
LBB0_14:
	imulq	$52, %rax, %rcx
	leaq	(%rdi,%rcx), %rax
	addq	$36, %rax
	leaq	(%rdi,%rcx), %rsi
	addq	$32, %rsi
	jmp	LBB0_7
LBB0_15:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$32, %rdi
	jmp	LBB0_9
LBB0_16:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$28, %rdi
	jmp	LBB0_11
LBB0_17:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	decq	%rbx
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$12, %rdi
	callq	_get_unaligned_be32
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_4
LBB0_18:
	imulq	$52, %rax, %rcx
	leaq	(%rdi,%rcx), %rax
	addq	$24, %rax
	leaq	(%rdi,%rcx), %rsi
	addq	$20, %rsi
	jmp	LBB0_7
LBB0_19:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$20, %rdi
	jmp	LBB0_9
LBB0_20:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$16, %rdi
	jmp	LBB0_11
LBB0_21:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	decq	%rbx
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$12, %rdi
	callq	_get_unaligned_be32
	leaq	L_.str.3(%rip), %rdx
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %ecx
	jmp	LBB0_5
LBB0_22:
	imulq	$52, %rax, %rcx
	leaq	(%rdi,%rcx), %rax
	addq	$8, %rax
	leaq	(%rdi,%rcx), %rsi
	addq	$4, %rsi
LBB0_7:
	movq	%rax, %rdi
	callq	_occ_get_powr_avg
	movl	%eax, %ecx
	jmp	LBB0_12
LBB0_23:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
	addq	$4, %rdi
LBB0_9:
	callq	_get_unaligned_be32
	movl	%eax, %ecx
	imull	(%r15), %ecx
	jmp	LBB0_12
LBB0_24:
	imulq	$52, %rax, %rax
	addq	%rax, %rdi
LBB0_11:
	callq	_get_unaligned_be16
	imull	$1000000, %eax, %ecx            ## imm = 0xF4240
LBB0_12:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_22
	.long	L0_0_set_23
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u_system\n"

L_.str.1:                               ## @.str.1
	.asciz	"%u_proc\n"

L_.str.2:                               ## @.str.2
	.asciz	"%u_vdd\n"

L_.str.3:                               ## @.str.3
	.asciz	"%u_vdn\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"%llu\n"

	.no_dead_strip	_occ_show_power_a0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function occ_show_power_a0
_occ_show_power_a0:                     ; @occ_show_power_a0
	.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, x2
	mov	x21, x1
	bl	_dev_get_drvdata
	mov	x20, x0
	mov	x0, x21
	bl	_to_sensor_dev_attr_2
	mov	x21, x0
	mov	x0, x20
	bl	_occ_update_response
	cbz	w0, LBB0_2
LBB0_1:
	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
LBB0_2:
	ldr	w10, [x21, #4]
	cmp	w10, #15
	b.hi	LBB0_5
; %bb.3:
	ldr	x8, [x20, #8]
	ldrsw	x9, [x21]
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_4
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_4:
Lloh2:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	sub	x20, x10, #1
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #12
	bl	_get_unaligned_be32
	mov	x3, x0
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_18
LBB0_5:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_1
LBB0_6:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #48
	add	x1, x8, #44
	b	LBB0_20
LBB0_7:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #44
	b	LBB0_22
LBB0_8:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #40
	b	LBB0_24
LBB0_9:
Lloh10:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	sub	x20, x10, #1
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #12
	bl	_get_unaligned_be32
	mov	x3, x0
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_10:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #36
	add	x1, x8, #32
	b	LBB0_20
LBB0_11:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #32
	b	LBB0_22
LBB0_12:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #28
	b	LBB0_24
LBB0_13:
Lloh15:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	sub	x20, x10, #1
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #12
	bl	_get_unaligned_be32
	mov	x3, x0
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_14:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #24
	add	x1, x8, #20
	b	LBB0_20
LBB0_15:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #20
	b	LBB0_22
LBB0_16:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #16
	b	LBB0_24
LBB0_17:
Lloh20:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x10]
	sub	x20, x10, #1
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #12
	bl	_get_unaligned_be32
	mov	x3, x0
Lloh23:
	adrp	x2, l_.str.3@PAGE
Lloh24:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	b	LBB0_26
LBB0_19:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #8
	add	x1, x8, #4
LBB0_20:
	bl	_occ_get_powr_avg
	mov	x3, x0
	b	LBB0_25
LBB0_21:
	mov	w10, #52
	madd	x8, x9, x10, x8
	add	x0, x8, #4
LBB0_22:
	bl	_get_unaligned_be32
	ldr	w8, [x20]
	mul	w3, w8, w0
	b	LBB0_25
LBB0_23:
	mov	w10, #52
	madd	x0, x9, x10, x8
LBB0_24:
	bl	_get_unaligned_be16
	mov	w8, #16960
	movk	w8, #15, lsl #16
	mul	w3, w0, w8
LBB0_25:
Lloh25:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	sub	x1, x8, #1
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
LBB0_26:
	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
	b	_snprintf
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_23-LBB0_4)>>2
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u_system\n"

l_.str.1:                               ; @.str.1
	.asciz	"%u_proc\n"

l_.str.2:                               ; @.str.2
	.asciz	"%u_vdd\n"

l_.str.3:                               ; @.str.3
	.asciz	"%u_vdn\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"%llu\n"

	.no_dead_strip	_occ_show_power_a0
.subsections_via_symbols
