	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%edi, %edi
	callq	_CPU_PRESCALE
	xorl	%eax, %eax
	callq	_keyboard_setup
	xorl	%eax, %eax
	callq	_usb_init
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_usb_configured
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_sendchar@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_print_set_sendchar
	xorl	%eax, %eax
	callq	_keyboard_init
	xorl	%eax, %eax
	callq	_pjrc_driver
	movl	%eax, %edi
	callq	_host_set_driver
	movq	_suspend@GOTPCREL(%rip), %rbx
	movq	_remote_wakeup@GOTPCREL(%rip), %r14
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_keyboard_task
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_suspend_power_down
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_suspend_wakeup_condition
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usb_remote_wakeup
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_sendchar,4,2                   ## @sendchar
	.comm	_suspend,8,3                    ## @suspend
	.comm	_remote_wakeup,8,3              ## @remote_wakeup
.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w0, #0
	bl	_CPU_PRESCALE
	bl	_keyboard_setup
	bl	_usb_init
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_usb_configured
	cbz	w0, LBB0_1
; %bb.2:
Lloh0:
	adrp	x8, _sendchar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sendchar@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_print_set_sendchar
	bl	_keyboard_init
	bl	_pjrc_driver
	bl	_host_set_driver
Lloh3:
	adrp	x19, _suspend@GOTPAGE
Lloh4:
	ldr	x19, [x19, _suspend@GOTPAGEOFF]
Lloh5:
	adrp	x20, _remote_wakeup@GOTPAGE
Lloh6:
	ldr	x20, [x20, _remote_wakeup@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_keyboard_task
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_suspend_power_down
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_suspend_wakeup_condition
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_usb_remote_wakeup
	b	LBB0_4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sendchar,4,2                   ; @sendchar
	.comm	_suspend,8,3                    ; @suspend
	.comm	_remote_wakeup,8,3              ; @remote_wakeup
.subsections_via_symbols
