	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cortron_detect
_cortron_detect:                        ## @cortron_detect
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	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	%rdi, %rbx
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rdi)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 8(%rdi)
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	callq	___set_bit
	movq	_BTN_SIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	callq	___set_bit
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
LBB0_2:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cortron"

L_.str.1:                               ## @.str.1
	.asciz	"PS/2 Trackball"

	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_BTN_SIDE,4,2                   ## @BTN_SIDE
	.no_dead_strip	_cortron_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cortron_detect
_cortron_detect:                        ; @cortron_detect
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	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
	mov	x19, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [x0]
Lloh4:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	___set_bit
Lloh7:
	adrp	x8, _BTN_SIDE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BTN_SIDE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	___set_bit
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cortron"

l_.str.1:                               ; @.str.1
	.asciz	"PS/2 Trackball"

	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_BTN_SIDE,4,2                   ; @BTN_SIDE
	.no_dead_strip	_cortron_detect
.subsections_via_symbols
