	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_UART_BAUD_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_uart_init
	xorl	%eax, %eax
	callq	_keyboard_setup
	xorl	%eax, %eax
	callq	_keyboard_init
	xorl	%eax, %eax
	callq	_vusb_driver
	movl	%eax, %edi
	callq	_host_set_driver
	leaq	L_.str(%rip), %rdi
	callq	_debug
	xorl	%eax, %eax
	callq	_initForUsbConnectivity
	leaq	L_.str.1(%rip), %rdi
	callq	_debug
	movq	_usbConfiguration@GOTPCREL(%rip), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_vusb_transfer_keyboard
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_usbPoll
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usbInterruptIsReady
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_keyboard_task
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_UART_BAUD_RATE,4,2             ## @UART_BAUD_RATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initForUsbConnectivity()\n"

L_.str.1:                               ## @.str.1
	.asciz	"main loop\n"

	.comm	_usbConfiguration,8,3           ## @usbConfiguration
	.comm	_CLKPR,4,2                      ## @CLKPR
	.comm	_usbSofCount,8,3                ## @usbSofCount
.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
Lloh0:
	adrp	x8, _UART_BAUD_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UART_BAUD_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_uart_init
	bl	_keyboard_setup
	bl	_keyboard_init
	bl	_vusb_driver
	bl	_host_set_driver
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
	bl	_initForUsbConnectivity
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debug
Lloh7:
	adrp	x19, _usbConfiguration@GOTPAGE
Lloh8:
	ldr	x19, [x19, _usbConfiguration@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_vusb_transfer_keyboard
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_usbPoll
	ldr	x8, [x19]
	cbz	x8, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usbInterruptIsReady
	cbz	x0, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_keyboard_task
	b	LBB0_1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UART_BAUD_RATE,4,2             ; @UART_BAUD_RATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initForUsbConnectivity()\n"

l_.str.1:                               ; @.str.1
	.asciz	"main loop\n"

	.comm	_usbConfiguration,8,3           ; @usbConfiguration
	.comm	_CLKPR,4,2                      ; @CLKPR
	.comm	_usbSofCount,8,3                ; @usbSofCount
.subsections_via_symbols
