	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_USBKeyboard_Initialize         ## -- Begin function USBKeyboard_Initialize
	.p2align	4, 0x90
_USBKeyboard_Initialize:                ## @USBKeyboard_Initialize
	.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	_hId@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpq	$0, (%rbx)
	jg	LBB0_5
## %bb.1:
	movq	_HEAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_iosCreateHeap
	movq	%rax, (%rbx)
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movq	_IPC_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_IPC_ENOHEAP@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hId,8,3                        ## @hId
	.comm	_HEAP_SIZE,4,2                  ## @HEAP_SIZE
	.comm	_IPC_ENOHEAP,4,2                ## @IPC_ENOHEAP
	.comm	_IPC_OK,4,2                     ## @IPC_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_USBKeyboard_Initialize         ; -- Begin function USBKeyboard_Initialize
	.p2align	2
_USBKeyboard_Initialize:                ; @USBKeyboard_Initialize
	.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	x19, _hId@GOTPAGE
Lloh1:
	ldr	x19, [x19, _hId@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
Lloh2:
	adrp	x8, _HEAP_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_iosCreateHeap
	str	x0, [x19]
	tbnz	x0, #63, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _IPC_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPC_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _IPC_ENOHEAP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IPC_ENOHEAP@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_hId,8,3                        ; @hId
	.comm	_HEAP_SIZE,4,2                  ; @HEAP_SIZE
	.comm	_IPC_ENOHEAP,4,2                ; @IPC_ENOHEAP
	.comm	_IPC_OK,4,2                     ; @IPC_OK
.subsections_via_symbols
