	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_KEYBOARD_Init                  ## -- Begin function KEYBOARD_Init
	.p2align	4, 0x90
_KEYBOARD_Init:                         ## @KEYBOARD_Init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_USB_Initialize
	movq	%rax, %rcx
	movq	_IPC_OK@GOTPCREL(%rip), %rbx
	movl	$-1, %eax
	cmpq	(%rbx), %rcx
	jne	LBB0_29
## %bb.1:
	xorl	%eax, %eax
	callq	_USBKeyboard_Initialize
	movq	%rax, %rcx
	movl	$-2, %eax
	cmpq	(%rbx), %rcx
	jne	LBB0_29
## %bb.2:
	movq	__ukbd_keymapdata@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_KB_NONE@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_14
## %bb.3:
	movb	$0, -112(%rbp)
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	testl	%eax, %eax
	jle	LBB0_13
## %bb.4:
	movl	%eax, %r12d
	leaq	-120(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	testl	%eax, %eax
	jne	LBB0_13
## %bb.5:
	movq	-120(%rbp), %r15
	leaq	-1(%r15), %rax
	cmpq	$62, %rax
	ja	LBB0_12
## %bb.6:
	leaq	-112(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r15, %rdx
	callq	_read
	cmpq	%rax, %r15
	jne	LBB0_12
## %bb.7:
	movb	$0, -49(%rbp)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	$64, %rbx
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-112(%rbp,%rbx), %edi
	cmpl	$45, %edi
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	callq	_isalpha
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movb	$0, -112(%rbp,%rbx)
LBB0_12:
	movl	%r12d, %edi
	callq	_close
	movq	_KB_NONE@GOTPCREL(%rip), %r15
LBB0_13:
	leaq	-112(%rbp), %rdi
	callq	__get_keymap_by_name
	movq	%rax, (%r13)
	movq	(%r15), %rcx
LBB0_14:
	cmpq	%rcx, %rax
	jne	LBB0_19
## %bb.15:
	xorl	%eax, %eax
	callq	_CONF_GetLanguage
	addl	$-129, %eax
	cmpl	$7, %eax
	ja	LBB0_16
## %bb.17:
	cltq
	leaq	l_switch.table.KEYBOARD_Init(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_KB_US@GOTPCREL(%rip), %rax
LBB0_18:
	movq	(%rax), %rax
	movq	%rax, (%r13)
LBB0_19:
	movq	__ukbd_keymapdata@GOTPCREL(%rip), %rbx
	movq	__sc_map@GOTPCREL(%rip), %rsi
	movq	__sc_maplen@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_wskbd_load_keymap
	testq	%rax, %rax
	js	LBB0_20
## %bb.21:
	movq	__queue@GOTPCREL(%rip), %rdi
	callq	___lwp_queue_init_empty
	movq	__kbd_thread_running@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	jne	LBB0_29
## %bb.22:
	movq	__kbd_thread_quit@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	__kbd_stack@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_KBD_THREAD_STACKSIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	__kbd_thread_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movl	(%r15), %r8d
	movq	_KBD_THREAD_PRIO@GOTPCREL(%rip), %r12
	movl	(%r12), %r9d
	movq	__kbd_thread@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_LWP_CreateThread
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	xorl	%eax, %eax
	callq	_USBKeyboard_Close
	movl	$-6, %eax
	jmp	LBB0_29
LBB0_20:
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movl	$-4, %eax
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	testq	%r14, %r14
	je	LBB0_28
## %bb.25:
	xorps	%xmm0, %xmm0
	movq	__keyBuffer@GOTPCREL(%rip), %rax
	movups	%xmm0, (%rax)
	movq	__kbd_buf_thread_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__kbd_buf_stack@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	movl	(%r12), %r9d
	movq	__kbd_buf_thread@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	callq	_LWP_CreateThread
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movl	$1, (%r13)
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_LWP_JoinThread
	xorl	%eax, %eax
	callq	_USBKeyboard_Close
	xorl	%eax, %eax
	callq	_KEYBOARD_FlushEvents
	xorl	%eax, %eax
	callq	_USBKeyboard_Deinitialize
	movq	__kbd_thread_running@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$-6, %eax
	jmp	LBB0_29
LBB0_27:
	movq	_devoptab_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_STD_IN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_std_in@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__IONBF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_setvbuf
	movq	__readKey_cb@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
LBB0_28:
	movq	__kbd_thread_running@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_29
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IPC_OK,8,3                     ## @IPC_OK
	.comm	__ukbd_keymapdata,8,3           ## @_ukbd_keymapdata
	.comm	_KB_NONE,8,3                    ## @KB_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/wiikbd.map"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_KB_DE,8,3                      ## @KB_DE
	.comm	_KB_JP,8,3                      ## @KB_JP
	.comm	_KB_FR,8,3                      ## @KB_FR
	.comm	_KB_ES,8,3                      ## @KB_ES
	.comm	_KB_IT,8,3                      ## @KB_IT
	.comm	_KB_NL,8,3                      ## @KB_NL
	.comm	_KB_US,8,3                      ## @KB_US
	.comm	__sc_map,4,2                    ## @_sc_map
	.comm	__sc_maplen,4,2                 ## @_sc_maplen
	.comm	__queue,4,2                     ## @_queue
	.comm	__kbd_thread_running,4,2        ## @_kbd_thread_running
	.comm	__kbd_thread_quit,4,2           ## @_kbd_thread_quit
	.comm	__kbd_stack,4,2                 ## @_kbd_stack
	.comm	_KBD_THREAD_STACKSIZE,4,2       ## @KBD_THREAD_STACKSIZE
	.comm	__kbd_thread,4,2                ## @_kbd_thread
	.comm	__kbd_thread_func,4,2           ## @_kbd_thread_func
	.comm	_KBD_THREAD_PRIO,4,2            ## @KBD_THREAD_PRIO
	.comm	__keyBuffer,16,3                ## @_keyBuffer
	.comm	__kbd_buf_thread,4,2            ## @_kbd_buf_thread
	.comm	__kbd_buf_thread_func,4,2       ## @_kbd_buf_thread_func
	.comm	__kbd_buf_stack,4,2             ## @_kbd_buf_stack
	.comm	_std_in,4,2                     ## @std_in
	.comm	_devoptab_list,8,3              ## @devoptab_list
	.comm	_STD_IN,8,3                     ## @STD_IN
	.comm	_stdin,4,2                      ## @stdin
	.comm	__IONBF,4,2                     ## @_IONBF
	.comm	__readKey_cb,8,3                ## @_readKey_cb
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.KEYBOARD_Init
l_switch.table.KEYBOARD_Init:
	.quad	_KB_ES
	.quad	_KB_US
	.quad	_KB_US
	.quad	_KB_JP
	.quad	_KB_IT
	.quad	_KB_DE
	.quad	_KB_FR
	.quad	_KB_NL

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_KEYBOARD_Init                  ; -- Begin function KEYBOARD_Init
	.p2align	2
_KEYBOARD_Init:                         ; @KEYBOARD_Init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_USB_Initialize
Lloh3:
	adrp	x20, _IPC_OK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _IPC_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	bl	_USBKeyboard_Initialize
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.2:
Lloh5:
	adrp	x23, __ukbd_keymapdata@GOTPAGE
Lloh6:
	ldr	x23, [x23, __ukbd_keymapdata@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh7:
	adrp	x22, _KB_NONE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _KB_NONE@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.3:
	strb	wzr, [sp, #8]
Lloh9:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.4:
	mov	x20, x0
	mov	x1, sp
	bl	_fstat
	cbnz	w0, LBB0_15
; %bb.5:
	ldr	x21, [sp]
	sub	x8, x21, #1
	cmp	x8, #62
	b.hi	LBB0_14
; %bb.6:
	add	x24, sp, #8
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_read
	cmp	x21, x0
	b.ne	LBB0_14
; %bb.7:
	mov	x21, #0
	strb	wzr, [sp, #71]
	b	LBB0_11
LBB0_8:
	mov	w0, #-1
	b	LBB0_32
LBB0_9:
	mov	w0, #-2
	b	LBB0_32
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	cmp	x21, #64
	b.eq	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24, x21]
	cmp	w0, #45
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	bl	_isalpha
	cbnz	x0, LBB0_10
; %bb.13:
	add	x8, sp, #8
	strb	wzr, [x8, x21]
LBB0_14:
	mov	x0, x20
	bl	_close
LBB0_15:
	add	x0, sp, #8
	bl	__get_keymap_by_name
	str	x0, [x23]
	ldr	x8, [x22]
LBB0_16:
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.17:
	bl	_CONF_GetLanguage
	sub	w8, w0, #129
	cmp	w8, #7
	b.hi	LBB0_19
; %bb.18:
Lloh14:
	adrp	x9, l_switch.table.KEYBOARD_Init@PAGE
Lloh15:
	add	x9, x9, l_switch.table.KEYBOARD_Init@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_20
LBB0_19:
Lloh16:
	adrp	x8, _KB_US@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KB_US@GOTPAGEOFF]
LBB0_20:
	ldr	x8, [x8]
	str	x8, [x23]
LBB0_21:
Lloh18:
	adrp	x20, __ukbd_keymapdata@GOTPAGE
Lloh19:
	ldr	x20, [x20, __ukbd_keymapdata@GOTPAGEOFF]
Lloh20:
	adrp	x1, __sc_map@GOTPAGE
Lloh21:
	ldr	x1, [x1, __sc_map@GOTPAGEOFF]
Lloh22:
	adrp	x2, __sc_maplen@GOTPAGE
Lloh23:
	ldr	x2, [x2, __sc_maplen@GOTPAGEOFF]
	mov	x0, x20
	bl	_wskbd_load_keymap
	tbnz	x0, #63, LBB0_24
; %bb.22:
Lloh24:
	adrp	x0, __queue@GOTPAGE
Lloh25:
	ldr	x0, [x0, __queue@GOTPAGEOFF]
	bl	___lwp_queue_init_empty
Lloh26:
	adrp	x21, __kbd_thread_running@GOTPAGE
Lloh27:
	ldr	x21, [x21, __kbd_thread_running@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_25
; %bb.23:
	mov	w0, #0
	b	LBB0_32
LBB0_24:
	ldr	x8, [x22]
	str	x8, [x20]
	mov	w0, #-4
	b	LBB0_32
LBB0_25:
Lloh28:
	adrp	x22, __kbd_thread_quit@GOTPAGE
Lloh29:
	ldr	x22, [x22, __kbd_thread_quit@GOTPAGEOFF]
	str	wzr, [x22]
Lloh30:
	adrp	x20, __kbd_stack@GOTPAGE
Lloh31:
	ldr	x20, [x20, __kbd_stack@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh32:
	adrp	x23, _KBD_THREAD_STACKSIZE@GOTPAGE
Lloh33:
	ldr	x23, [x23, _KBD_THREAD_STACKSIZE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_memset
Lloh34:
	adrp	x8, __kbd_thread_func@GOTPAGE
Lloh35:
	ldr	x8, [x8, __kbd_thread_func@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	w3, [x20]
	ldr	w4, [x23]
Lloh37:
	adrp	x24, _KBD_THREAD_PRIO@GOTPAGE
Lloh38:
	ldr	x24, [x24, _KBD_THREAD_PRIO@GOTPAGEOFF]
	ldr	w5, [x24]
Lloh39:
	adrp	x20, __kbd_thread@GOTPAGE
Lloh40:
	ldr	x20, [x20, __kbd_thread@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, #0
	bl	_LWP_CreateThread
	cbz	w0, LBB0_27
; %bb.26:
	bl	_USBKeyboard_Close
	mov	w0, #-6
	b	LBB0_32
LBB0_27:
	cbz	x19, LBB0_31
; %bb.28:
Lloh41:
	adrp	x8, __keyBuffer@GOTPAGE
Lloh42:
	ldr	x8, [x8, __keyBuffer@GOTPAGEOFF]
	stp	xzr, xzr, [x8]
Lloh43:
	adrp	x8, __kbd_buf_thread_func@GOTPAGE
Lloh44:
	ldr	x8, [x8, __kbd_buf_thread_func@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
Lloh46:
	adrp	x8, __kbd_buf_stack@GOTPAGE
Lloh47:
	ldr	x8, [x8, __kbd_buf_stack@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
	ldr	w4, [x23]
	ldr	w5, [x24]
Lloh49:
	adrp	x0, __kbd_buf_thread@GOTPAGE
Lloh50:
	ldr	x0, [x0, __kbd_buf_thread@GOTPAGEOFF]
	mov	x2, #0
	bl	_LWP_CreateThread
	cbz	w0, LBB0_30
; %bb.29:
	mov	w8, #1
	str	w8, [x22]
	ldr	w0, [x20]
	mov	x1, #0
	bl	_LWP_JoinThread
	bl	_USBKeyboard_Close
	bl	_KEYBOARD_FlushEvents
	bl	_USBKeyboard_Deinitialize
	str	wzr, [x21]
	mov	w0, #-6
	b	LBB0_32
LBB0_30:
Lloh51:
	adrp	x8, _devoptab_list@GOTPAGE
Lloh52:
	ldr	x8, [x8, _devoptab_list@GOTPAGEOFF]
Lloh53:
	adrp	x9, _STD_IN@GOTPAGE
Lloh54:
	ldr	x9, [x9, _STD_IN@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
Lloh56:
	ldr	x9, [x9]
Lloh57:
	adrp	x10, _std_in@GOTPAGE
Lloh58:
	ldr	x10, [x10, _std_in@GOTPAGEOFF]
	str	x10, [x8, x9, lsl #3]
Lloh59:
	adrp	x8, _stdin@GOTPAGE
Lloh60:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x8, __IONBF@GOTPAGE
Lloh63:
	ldr	x8, [x8, __IONBF@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
	mov	x1, #0
	mov	w3, #0
	bl	_setvbuf
Lloh65:
	adrp	x8, __readKey_cb@GOTPAGE
Lloh66:
	ldr	x8, [x8, __readKey_cb@GOTPAGEOFF]
Lloh67:
	str	x19, [x8]
LBB0_31:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x21]
LBB0_32:
	ldur	x8, [x29, #-56]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh55
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_IPC_OK,8,3                     ; @IPC_OK
	.comm	__ukbd_keymapdata,8,3           ; @_ukbd_keymapdata
	.comm	_KB_NONE,8,3                    ; @KB_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/wiikbd.map"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_KB_DE,8,3                      ; @KB_DE
	.comm	_KB_JP,8,3                      ; @KB_JP
	.comm	_KB_FR,8,3                      ; @KB_FR
	.comm	_KB_ES,8,3                      ; @KB_ES
	.comm	_KB_IT,8,3                      ; @KB_IT
	.comm	_KB_NL,8,3                      ; @KB_NL
	.comm	_KB_US,8,3                      ; @KB_US
	.comm	__sc_map,4,2                    ; @_sc_map
	.comm	__sc_maplen,4,2                 ; @_sc_maplen
	.comm	__queue,4,2                     ; @_queue
	.comm	__kbd_thread_running,4,2        ; @_kbd_thread_running
	.comm	__kbd_thread_quit,4,2           ; @_kbd_thread_quit
	.comm	__kbd_stack,4,2                 ; @_kbd_stack
	.comm	_KBD_THREAD_STACKSIZE,4,2       ; @KBD_THREAD_STACKSIZE
	.comm	__kbd_thread,4,2                ; @_kbd_thread
	.comm	__kbd_thread_func,4,2           ; @_kbd_thread_func
	.comm	_KBD_THREAD_PRIO,4,2            ; @KBD_THREAD_PRIO
	.comm	__keyBuffer,16,3                ; @_keyBuffer
	.comm	__kbd_buf_thread,4,2            ; @_kbd_buf_thread
	.comm	__kbd_buf_thread_func,4,2       ; @_kbd_buf_thread_func
	.comm	__kbd_buf_stack,4,2             ; @_kbd_buf_stack
	.comm	_std_in,4,2                     ; @std_in
	.comm	_devoptab_list,8,3              ; @devoptab_list
	.comm	_STD_IN,8,3                     ; @STD_IN
	.comm	_stdin,4,2                      ; @stdin
	.comm	__IONBF,4,2                     ; @_IONBF
	.comm	__readKey_cb,8,3                ; @_readKey_cb
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.KEYBOARD_Init
l_switch.table.KEYBOARD_Init:
	.quad	_KB_ES
	.quad	_KB_US
	.quad	_KB_US
	.quad	_KB_JP
	.quad	_KB_IT
	.quad	_KB_DE
	.quad	_KB_FR
	.quad	_KB_NL

.subsections_via_symbols
