	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function low_voltage
_low_voltage:                           ## @low_voltage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_battery_voltage
	movq	_BATTERY_VOLTAGE_LOW_LIMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movb	$1, _low_voltage.low(%rip)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_BATTERY_VOLTAGE_LOW_RECOVERY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.4:
	movb	$0, _low_voltage.low(%rip)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movzbl	_low_voltage.low(%rip), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_low_voltage.low,1,2 ## @low_voltage.low
	.comm	_BATTERY_VOLTAGE_LOW_LIMIT,8,3  ## @BATTERY_VOLTAGE_LOW_LIMIT
	.comm	_BATTERY_VOLTAGE_LOW_RECOVERY,8,3 ## @BATTERY_VOLTAGE_LOW_RECOVERY
	.no_dead_strip	_low_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function low_voltage
_low_voltage:                           ; @low_voltage
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_battery_voltage
Lloh0:
	adrp	x8, _BATTERY_VOLTAGE_LOW_LIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BATTERY_VOLTAGE_LOW_LIMIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #1
	adrp	x8, _low_voltage.low@PAGE
	strb	w0, [x8, _low_voltage.low@PAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, _BATTERY_VOLTAGE_LOW_RECOVERY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BATTERY_VOLTAGE_LOW_RECOVERY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_4
; %bb.3:
	mov	w0, #0
	adrp	x8, _low_voltage.low@PAGE
	strb	wzr, [x8, _low_voltage.low@PAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	adrp	x8, _low_voltage.low@PAGE
	ldrb	w0, [x8, _low_voltage.low@PAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_low_voltage.low,1,2 ; @low_voltage.low
	.comm	_BATTERY_VOLTAGE_LOW_LIMIT,8,3  ; @BATTERY_VOLTAGE_LOW_LIMIT
	.comm	_BATTERY_VOLTAGE_LOW_RECOVERY,8,3 ; @BATTERY_VOLTAGE_LOW_RECOVERY
	.no_dead_strip	_low_voltage
.subsections_via_symbols
