	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac_hid_start_emulation
_mac_hid_start_emulation:               ## @mac_hid_start_emulation
	.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
	xorl	%eax, %eax
	callq	_mac_hid_create_emumouse
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_mac_hid_emumouse_handler@GOTPCREL(%rip), %rdi
	callq	_input_register_handler
	movl	%eax, %ebx
	movl	$0, %eax
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_mac_hid_destroy_emumouse
	movl	%ebx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mac_hid_emumouse_handler,4,2   ## @mac_hid_emumouse_handler
	.no_dead_strip	_mac_hid_start_emulation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac_hid_start_emulation
_mac_hid_start_emulation:               ; @mac_hid_start_emulation
	.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
	bl	_mac_hid_create_emumouse
	mov	x19, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, _mac_hid_emumouse_handler@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mac_hid_emumouse_handler@GOTPAGEOFF]
	bl	_input_register_handler
	mov	x19, x0
	cbz	w0, LBB0_3
; %bb.2:
	bl	_mac_hid_destroy_emumouse
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mac_hid_emumouse_handler,4,2   ; @mac_hid_emumouse_handler
	.no_dead_strip	_mac_hid_start_emulation
.subsections_via_symbols
