	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function Battery_getProcBatData
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_Battery_getProcBatData:                ## @Battery_getProcBatData
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	movl	$3, %esi
	movl	$4, %edx
	callq	_parseBatInfo
	xorpd	%xmm0, %xmm0
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movl	$5, %esi
	movl	$3, %edx
	callq	_parseBatInfo
	xorpd	%xmm0, %xmm0
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %xmm3
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1127219200,1160773632,0,0]
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	movapd	LCPI0_1(%rip), %xmm2            ## xmm2 = [4.503599627370496E+15,1.9342813113834067E+25]
	subpd	%xmm2, %xmm3
	movapd	%xmm3, %xmm0
	unpckhpd	%xmm3, %xmm0                    ## xmm0 = xmm0[1],xmm3[1]
	addsd	%xmm3, %xmm0
	mulsd	LCPI0_2(%rip), %xmm0
	movq	%rbx, %xmm3
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	subpd	%xmm2, %xmm3
	movapd	%xmm3, %xmm1
	unpckhpd	%xmm3, %xmm1                    ## xmm1 = xmm1[1],xmm3[1]
	addsd	%xmm3, %xmm1
	divsd	%xmm1, %xmm0
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info"

L_.str.1:                               ## @.str.1
	.asciz	"state"

	.no_dead_strip	_Battery_getProcBatData
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Battery_getProcBatData
_Battery_getProcBatData:                ; @Battery_getProcBatData
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #3
	mov	w2, #4
	bl	_parseBatInfo
	movi	d8, #0000000000000000
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #5
	mov	w2, #3
	bl	_parseBatInfo
	cbz	x0, LBB0_3
; %bb.2:
	ucvtf	d0, x0
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	ucvtf	d1, x19
	fdiv	d8, d0, d1
LBB0_3:
	fmov	d0, d8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info"

l_.str.1:                               ; @.str.1
	.asciz	"state"

	.no_dead_strip	_Battery_getProcBatData
.subsections_via_symbols
