	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ez_input_mapping
_ez_input_mapping:                      ## @ez_input_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rcx), %ecx
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ecx, %edx
	movq	_HID_UP_CONSUMER@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpl	(%rsi), %edx
	jne	LBB0_9
## %bb.1:
	movq	_HID_USAGE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	cmpl	$562, %ecx                      ## imm = 0x232
	je	LBB0_6
## %bb.2:
	cmpl	$561, %ecx                      ## imm = 0x231
	je	LBB0_5
## %bb.3:
	cmpl	$560, %ecx                      ## imm = 0x230
	jne	LBB0_9
## %bb.4:
	movq	_BTN_MOUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ez_map_key
	jmp	LBB0_8
LBB0_6:
	movq	_REL_HWHEEL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	callq	_ez_map_rel
LBB0_8:
	movl	$1, %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_CONSUMER,4,2            ## @HID_UP_CONSUMER
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.comm	_BTN_MOUSE,4,2                  ## @BTN_MOUSE
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.comm	_REL_HWHEEL,4,2                 ## @REL_HWHEEL
	.no_dead_strip	_ez_input_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ez_input_mapping
_ez_input_mapping:                      ; @ez_input_mapping
	.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
	ldr	w8, [x3]
Lloh0:
	adrp	x9, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x10, _HID_UP_CONSUMER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HID_UP_CONSUMER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_5
; %bb.1:
Lloh6:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #562
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #561
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #560
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _BTN_MOUSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTN_MOUSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_ez_map_key
	b	LBB0_9
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh12:
	adrp	x8, _REL_HWHEEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REL_HWHEEL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	bl	_ez_map_rel
LBB0_9:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_CONSUMER,4,2            ; @HID_UP_CONSUMER
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.comm	_BTN_MOUSE,4,2                  ; @BTN_MOUSE
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.comm	_REL_HWHEEL,4,2                 ; @REL_HWHEEL
	.no_dead_strip	_ez_input_mapping
.subsections_via_symbols
