	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_ms_a3
_init_ms_a3:                            ## @init_ms_a3
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	leaq	L_.str(%rip), %rdi
	callq	_printk
	movq	_ADBREQ_SYNC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	movl	%r12d, %edi
	movl	$2, %esi
	callq	_ADB_WRITEREG
	movl	$7, (%rsp)
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	$3, %ecx
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_adb_request
	movl	(%rbx), %ebx
	movl	%r12d, %edi
	callq	_ADB_FLUSH
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	$1, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_adb_request
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" (Mouse Systems A3 Mouse, or compatible)"

	.comm	_ADBREQ_SYNC,4,2                ## @ADBREQ_SYNC
	.no_dead_strip	_init_ms_a3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_ms_a3
_init_ms_a3:                            ; @init_ms_a3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
Lloh2:
	adrp	x21, _ADBREQ_SYNC@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ADBREQ_SYNC@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x19
	mov	w1, #2
	bl	_ADB_WRITEREG
	mov	x4, x0
	mov	w8, #7
	stp	xzr, x8, [sp]
	add	x0, sp, #24
	mov	x1, #0
	mov	x2, x20
	mov	w3, #3
	bl	_adb_request
	ldr	w20, [x21]
	mov	x0, x19
	bl	_ADB_FLUSH
	mov	x4, x0
	add	x0, sp, #24
	mov	x1, #0
	mov	x2, x20
	mov	w3, #1
	bl	_adb_request
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" (Mouse Systems A3 Mouse, or compatible)"

	.comm	_ADBREQ_SYNC,4,2                ; @ADBREQ_SYNC
	.no_dead_strip	_init_ms_a3
.subsections_via_symbols
