	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_battery_led                    ## -- Begin function battery_led
	.p2align	4, 0x90
_battery_led:                           ## @battery_led
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LED_TOGGLE@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_DDRF@GOTPCREL(%rip), %rax
	orb	$32, (%rax)
	movq	_PINF@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_LED_ON@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_DDRF@GOTPCREL(%rip), %rax
	orb	$32, (%rax)
	jmp	LBB0_8
LBB0_4:
	movq	_LED_OFF@GOTPCREL(%rip), %rdx
	movq	_DDRF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpq	%rdi, (%rdx)
	jne	LBB0_7
## %bb.5:
	orl	$32, %ecx
	movl	%ecx, (%rax)
	movq	_PORTF@GOTPCREL(%rip), %rax
LBB0_6:
	orb	$32, (%rax)
	popq	%rbp
	retq
LBB0_7:
	andl	$-33, %ecx
	movl	%ecx, (%rax)
LBB0_8:
	movq	_PORTF@GOTPCREL(%rip), %rax
	andb	$-33, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LED_TOGGLE,8,3                 ## @LED_TOGGLE
	.comm	_DDRF,4,2                       ## @DDRF
	.comm	_PINF,4,2                       ## @PINF
	.comm	_LED_ON,8,3                     ## @LED_ON
	.comm	_PORTF,4,2                      ## @PORTF
	.comm	_LED_OFF,8,3                    ## @LED_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_battery_led                    ; -- Begin function battery_led
	.p2align	2
_battery_led:                           ; @battery_led
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LED_TOGGLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LED_TOGGLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _DDRF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DDRF@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x20
	str	w9, [x8]
Lloh5:
	adrp	x8, _PINF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PINF@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh7:
	adrp	x8, _LED_ON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LED_ON@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _DDRF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DDRF@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x20
	b	LBB0_8
LBB0_4:
Lloh12:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x8]
Lloh15:
	adrp	x8, _DDRF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DDRF@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	x10, x0
	b.ne	LBB0_7
; %bb.5:
	orr	w9, w9, #0x20
	str	w9, [x8]
Lloh17:
	adrp	x8, _PORTF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PORTF@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x8]
	orr	w9, w9, #0x20
	str	w9, [x8]
	ret
LBB0_7:
	and	w9, w9, #0xffffffdf
LBB0_8:
	str	w9, [x8]
Lloh19:
	adrp	x8, _PORTF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PORTF@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffffdf
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_LED_TOGGLE,8,3                 ; @LED_TOGGLE
	.comm	_DDRF,4,2                       ; @DDRF
	.comm	_PINF,4,2                       ; @PINF
	.comm	_LED_ON,8,3                     ; @LED_ON
	.comm	_PORTF,4,2                      ; @PORTF
	.comm	_LED_OFF,8,3                    ; @LED_OFF
.subsections_via_symbols
