	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_setup_mcu
	xorl	%eax, %eax
	callq	_keyboard_setup
	xorl	%eax, %eax
	callq	_setup_usb
	xorl	%eax, %eax
	callq	_sei
	xorl	%eax, %eax
	callq	_USB_USBTask
	xorl	%eax, %eax
	callq	_keyboard_init
	movq	_lufa_driver@GOTPCREL(%rip), %rdi
	callq	_host_set_driver
	leaq	L_.str(%rip), %rdi
	callq	_print
	movq	_USB_DeviceState@GOTPCREL(%rip), %r15
	movq	_DEVICE_STATE_Suspended@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %r14
	movq	_USB_Device_RemoteWakeupEnabled@GOTPCREL(%rip), %r12
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_keyboard_task
	xorl	%eax, %eax
	callq	_USB_USBTask
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_print
	xorl	%eax, %eax
	callq	_suspend_power_down
	cmpq	$0, (%r12)
	je	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_suspend_wakeup_condition
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_USB_Device_SendRemoteWakeup
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_lufa_driver,4,2                ## @lufa_driver
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Keyboard start.\n"

	.comm	_USB_DeviceState,8,3            ## @USB_DeviceState
	.comm	_DEVICE_STATE_Suspended,8,3     ## @DEVICE_STATE_Suspended
L_.str.1:                               ## @.str.1
	.asciz	"[s]"

	.comm	_USB_Device_RemoteWakeupEnabled,8,3 ## @USB_Device_RemoteWakeupEnabled
	.comm	_DEVICE_STATE_Configured,8,3    ## @DEVICE_STATE_Configured
	.comm	_USB_MIDI_Interface,4,2         ## @USB_MIDI_Interface
	.comm	_cdc_device,4,2                 ## @cdc_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	bl	_setup_mcu
	bl	_keyboard_setup
	bl	_setup_usb
	bl	_sei
	bl	_USB_USBTask
	bl	_keyboard_init
Lloh0:
	adrp	x0, _lufa_driver@GOTPAGE
Lloh1:
	ldr	x0, [x0, _lufa_driver@GOTPAGEOFF]
	bl	_host_set_driver
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_print
Lloh4:
	adrp	x20, _USB_DeviceState@GOTPAGE
Lloh5:
	ldr	x20, [x20, _USB_DeviceState@GOTPAGEOFF]
Lloh6:
	adrp	x21, _DEVICE_STATE_Suspended@GOTPAGE
Lloh7:
	ldr	x21, [x21, _DEVICE_STATE_Suspended@GOTPAGEOFF]
Lloh8:
	adrp	x19, l_.str.1@PAGE
Lloh9:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh10:
	adrp	x22, _USB_Device_RemoteWakeupEnabled@GOTPAGE
Lloh11:
	ldr	x22, [x22, _USB_Device_RemoteWakeupEnabled@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_keyboard_task
	bl	_USB_USBTask
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_print
	bl	_suspend_power_down
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_suspend_wakeup_condition
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_USB_Device_SendRemoteWakeup
	b	LBB0_2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lufa_driver,4,2                ; @lufa_driver
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Keyboard start.\n"

	.comm	_USB_DeviceState,8,3            ; @USB_DeviceState
	.comm	_DEVICE_STATE_Suspended,8,3     ; @DEVICE_STATE_Suspended
l_.str.1:                               ; @.str.1
	.asciz	"[s]"

	.comm	_USB_Device_RemoteWakeupEnabled,8,3 ; @USB_Device_RemoteWakeupEnabled
	.comm	_DEVICE_STATE_Configured,8,3    ; @DEVICE_STATE_Configured
	.comm	_USB_MIDI_Interface,4,2         ; @USB_MIDI_Interface
	.comm	_cdc_device,4,2                 ; @cdc_device
.subsections_via_symbols
