	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps2_mouse_init                 ## -- Begin function ps2_mouse_init
	.p2align	4, 0x90
_ps2_mouse_init:                        ## @ps2_mouse_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_ps2_host_init
	movq	_PS2_MOUSE_INIT_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__delay_ms
	movq	_PS2_MOUSE_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PS2_MOUSE_SEND
	leaq	L_.str.1(%rip), %rdi
	callq	_PS2_MOUSE_RECEIVE
	leaq	L_.str.2(%rip), %rdi
	callq	_PS2_MOUSE_RECEIVE
	xorl	%eax, %eax
	callq	_ps2_mouse_enable_data_reporting
	xorl	%eax, %eax
	popq	%rbp
	jmp	_ps2_mouse_init_user            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PS2_MOUSE_INIT_DELAY,4,2       ## @PS2_MOUSE_INIT_DELAY
	.comm	_PS2_MOUSE_RESET,4,2            ## @PS2_MOUSE_RESET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ps2_mouse_init: sending reset"

L_.str.1:                               ## @.str.1
	.asciz	"ps2_mouse_init: read BAT"

L_.str.2:                               ## @.str.2
	.asciz	"ps2_mouse_init: read DevID"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps2_mouse_init                 ; -- Begin function ps2_mouse_init
	.p2align	2
_ps2_mouse_init:                        ; @ps2_mouse_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_ps2_host_init
Lloh0:
	adrp	x8, _PS2_MOUSE_INIT_DELAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PS2_MOUSE_INIT_DELAY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	__delay_ms
Lloh3:
	adrp	x8, _PS2_MOUSE_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PS2_MOUSE_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PS2_MOUSE_SEND
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_PS2_MOUSE_RECEIVE
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_PS2_MOUSE_RECEIVE
	bl	_ps2_mouse_enable_data_reporting
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ps2_mouse_init_user
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PS2_MOUSE_INIT_DELAY,4,2       ; @PS2_MOUSE_INIT_DELAY
	.comm	_PS2_MOUSE_RESET,4,2            ; @PS2_MOUSE_RESET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ps2_mouse_init: sending reset"

l_.str.1:                               ; @.str.1
	.asciz	"ps2_mouse_init: read BAT"

l_.str.2:                               ; @.str.2
	.asciz	"ps2_mouse_init: read DevID"

.subsections_via_symbols
