	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_battery_voltage                ## -- Begin function battery_voltage
	.p2align	4, 0x90
_battery_voltage:                       ## @battery_voltage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DDRF@GOTPCREL(%rip), %rax
	orb	$16, (%rax)
	movq	_PORTF@GOTPCREL(%rip), %rax
	orb	$16, (%rax)
	movq	_ADEN@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	pushq	$1
	popq	%rdi
	movl	%edi, %eax
	shll	%cl, %eax
	movq	_ADCSRA@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	callq	__delay_ms
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_DDRF,4,2                       ## @DDRF
	.comm	_PORTF,4,2                      ## @PORTF
	.comm	_ADEN,4,2                       ## @ADEN
	.comm	_ADCSRA,4,2                     ## @ADCSRA
	.comm	_ADSC,4,2                       ## @ADSC
	.comm	_ADC,4,2                        ## @ADC
	.comm	_BATTERY_ADC_OFFSET,4,2         ## @BATTERY_ADC_OFFSET
	.comm	_BATTERY_ADC_RESOLUTION,4,2     ## @BATTERY_ADC_RESOLUTION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_battery_voltage                ; -- Begin function battery_voltage
	.p2align	2
_battery_voltage:                       ; @battery_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
Lloh0:
	adrp	x8, _DDRF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDRF@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x10
	str	w9, [x8]
Lloh2:
	adrp	x8, _PORTF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORTF@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x10
	str	w9, [x8]
Lloh4:
	adrp	x8, _ADEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ADEN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh7:
	adrp	x9, _ADCSRA@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ADCSRA@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	mov	w0, #1
	bl	__delay_ms
	brk	#0x1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DDRF,4,2                       ; @DDRF
	.comm	_PORTF,4,2                      ; @PORTF
	.comm	_ADEN,4,2                       ; @ADEN
	.comm	_ADCSRA,4,2                     ; @ADCSRA
	.comm	_ADSC,4,2                       ; @ADSC
	.comm	_ADC,4,2                        ; @ADC
	.comm	_BATTERY_ADC_OFFSET,4,2         ; @BATTERY_ADC_OFFSET
	.comm	_BATTERY_ADC_RESOLUTION,4,2     ; @BATTERY_ADC_RESOLUTION
.subsections_via_symbols
