	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function Battery_getData
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Battery_getData
	.p2align	4, 0x90
_Battery_getData:                       ## @Battery_getData
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_IOPSCopyPowerSourcesInfo
	movq	%rax, %rbx
	movabsq	$-4616189618054758400, %rax     ## imm = 0xBFF0000000000000
	movq	%rax, (%r14)
	movq	_AC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movq	%rbx, %rdi
	callq	_IOPSCopyPowerSourcesList
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_CFArrayGetCount
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_11
## %bb.3:
	xorl	%r12d, %r12d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_CFArrayGetValueAtIndex
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_IOPSGetPowerSourceDescription
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	_kIOPSTransportTypeKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_CFDictionaryGetValue
	movq	%rax, %r15
	movq	%r14, %rbx
	movq	%r13, %r14
	movq	_kCFCompareEqualTo@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_kIOPSInternalType@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_CFStringCompare
	cmpq	%rax, %r13
	movq	%r14, %r13
	movq	%rbx, %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_10
## %bb.6:
	movq	%r14, %rdi
	callq	_CFRetain
	movq	_kIOPSPowerSourceStateKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_CFDictionaryGetValue
	movq	%rax, %r12
	movq	_kCFCompareEqualTo@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_kIOPSACPowerValue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_CFStringCompare
	cmpq	%rax, %r15
	jne	LBB0_7
## %bb.8:
	movq	_AC_PRESENT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	%rbx, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CFRelease                      ## TAILCALL
LBB0_7:
	movq	_AC_ABSENT@GOTPCREL(%rip), %rax
LBB0_9:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	_kIOPSCurrentCapacityKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_CFDictionaryGetValue
	movq	_kCFNumberDoubleType@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-88(%rbp), %rdx
	movq	%rax, %rdi
	callq	_CFNumberGetValue
	movq	_kIOPSMaxCapacityKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_CFDictionaryGetValue
	movl	(%r15), %esi
	leaq	-80(%rbp), %rdx
	movq	%rax, %rdi
	callq	_CFNumberGetValue
	movsd	-88(%rbp), %xmm0                ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	divsd	-80(%rbp), %xmm0
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movsd	%xmm0, (%rax)
	movq	%r14, %rdi
	callq	_CFRelease
LBB0_11:
	movq	%r13, %rdi
	callq	_CFRelease
	movq	%rbx, %rdi
	callq	_CFRelease
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_ERROR,4,2                   ## @AC_ERROR
	.comm	_kIOPSTransportTypeKey,4,2      ## @kIOPSTransportTypeKey
	.comm	_kCFCompareEqualTo,8,3          ## @kCFCompareEqualTo
	.comm	_kIOPSInternalType,4,2          ## @kIOPSInternalType
	.comm	_kIOPSPowerSourceStateKey,4,2   ## @kIOPSPowerSourceStateKey
	.comm	_kIOPSACPowerValue,4,2          ## @kIOPSACPowerValue
	.comm	_AC_PRESENT,4,2                 ## @AC_PRESENT
	.comm	_AC_ABSENT,4,2                  ## @AC_ABSENT
	.comm	_kIOPSCurrentCapacityKey,4,2    ## @kIOPSCurrentCapacityKey
	.comm	_kCFNumberDoubleType,4,2        ## @kCFNumberDoubleType
	.comm	_kIOPSMaxCapacityKey,4,2        ## @kIOPSMaxCapacityKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Battery_getData                ; -- Begin function Battery_getData
	.p2align	2
_Battery_getData:                       ; @Battery_getData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x20, x0
	bl	_IOPSCopyPowerSourcesInfo
	mov	x8, #-4616189618054758400
	str	x8, [x20]
Lloh0:
	adrp	x8, _AC_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	bl	_IOPSCopyPowerSourcesList
	cbz	x0, LBB0_10
; %bb.2:
	mov	x21, x0
	stp	x22, x20, [sp]                  ; 16-byte Folded Spill
	bl	_CFArrayGetCount
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x24, x0
	mov	w25, #0
Lloh3:
	adrp	x28, _kIOPSTransportTypeKey@GOTPAGE
Lloh4:
	ldr	x28, [x28, _kIOPSTransportTypeKey@GOTPAGEOFF]
Lloh5:
	adrp	x27, _kCFCompareEqualTo@GOTPAGE
Lloh6:
	ldr	x27, [x27, _kCFCompareEqualTo@GOTPAGEOFF]
Lloh7:
	adrp	x20, _kIOPSInternalType@GOTPAGE
Lloh8:
	ldr	x20, [x20, _kIOPSInternalType@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	cmp	w25, w24
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x25
	bl	_CFArrayGetValueAtIndex
	mov	x1, x0
	mov	x0, x19
	bl	_IOPSGetPowerSourceDescription
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	ldr	w0, [x28]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x23
	bl	_CFDictionaryGetValue
	mov	x26, x0
	ldr	x22, [x27]
	ldr	w0, [x20]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x26
	mov	w2, #0
	bl	_CFStringCompare
	cmp	x22, x0
	b.ne	LBB0_4
; %bb.7:
	mov	x0, x23
	bl	_CFRetain
Lloh9:
	adrp	x8, _kIOPSPowerSourceStateKey@GOTPAGE
Lloh10:
	ldr	x8, [x8, _kIOPSPowerSourceStateKey@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x23
	bl	_CFDictionaryGetValue
	mov	x24, x0
	ldr	x20, [x27]
Lloh12:
	adrp	x8, _kIOPSACPowerValue@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kIOPSACPowerValue@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x24
	mov	w2, #0
	bl	_CFStringCompare
Lloh15:
	adrp	x8, _AC_PRESENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AC_PRESENT@GOTPAGEOFF]
Lloh17:
	adrp	x9, _AC_ABSENT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AC_ABSENT@GOTPAGEOFF]
	cmp	x20, x0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
Lloh19:
	adrp	x8, _kIOPSCurrentCapacityKey@GOTPAGE
Lloh20:
	ldr	x8, [x8, _kIOPSCurrentCapacityKey@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x23
	bl	_CFDictionaryGetValue
Lloh22:
	adrp	x20, _kCFNumberDoubleType@GOTPAGE
Lloh23:
	ldr	x20, [x20, _kCFNumberDoubleType@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #24
	bl	_CFNumberGetValue
Lloh24:
	adrp	x8, _kIOPSMaxCapacityKey@GOTPAGE
Lloh25:
	ldr	x8, [x8, _kIOPSMaxCapacityKey@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x23
	bl	_CFDictionaryGetValue
	ldr	w1, [x20]
	add	x2, sp, #16
	bl	_CFNumberGetValue
	ldr	d0, [sp, #24]
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	ldr	d1, [sp, #16]
	fdiv	d0, d0, d1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	d0, [x8]
	mov	x0, x23
	bl	_CFRelease
LBB0_8:
	mov	x0, x21
	bl	_CFRelease
	mov	x0, x19
	bl	_CFRelease
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_CFRelease
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_ERROR,4,2                   ; @AC_ERROR
	.comm	_kIOPSTransportTypeKey,4,2      ; @kIOPSTransportTypeKey
	.comm	_kCFCompareEqualTo,8,3          ; @kCFCompareEqualTo
	.comm	_kIOPSInternalType,4,2          ; @kIOPSInternalType
	.comm	_kIOPSPowerSourceStateKey,4,2   ; @kIOPSPowerSourceStateKey
	.comm	_kIOPSACPowerValue,4,2          ; @kIOPSACPowerValue
	.comm	_AC_PRESENT,4,2                 ; @AC_PRESENT
	.comm	_AC_ABSENT,4,2                  ; @AC_ABSENT
	.comm	_kIOPSCurrentCapacityKey,4,2    ; @kIOPSCurrentCapacityKey
	.comm	_kCFNumberDoubleType,4,2        ; @kCFNumberDoubleType
	.comm	_kIOPSMaxCapacityKey,4,2        ; @kIOPSMaxCapacityKey
.subsections_via_symbols
