	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pl_input_mapping
_pl_input_mapping:                      ## @pl_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_LOGIVENDOR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_3
## %bb.1:
	movq	_HID_USAGE@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	addl	$-90, %ecx
	xorl	%eax, %eax
	cmpl	$5, %ecx
	jae	LBB0_9
## %bb.2:
	movslq	%ecx, %rax
	leaq	l_switch.table.pl_input_mapping(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_HID_UP_CONSUMER@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpl	(%rsi), %edx
	jne	LBB0_9
## %bb.4:
	movq	_HID_USAGE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	cmpl	$246, %ecx
	je	LBB0_5
## %bb.6:
	cmpl	$250, %ecx
	jne	LBB0_9
## %bb.7:
	movq	_KEY_BACK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_KEY_NEXT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	callq	_pl_map_key_clear
	movl	$1, %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_LOGIVENDOR,4,2          ## @HID_UP_LOGIVENDOR
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.comm	_KEY_TEXT,4,2                   ## @KEY_TEXT
	.comm	_KEY_RED,4,2                    ## @KEY_RED
	.comm	_KEY_GREEN,4,2                  ## @KEY_GREEN
	.comm	_KEY_YELLOW,4,2                 ## @KEY_YELLOW
	.comm	_KEY_BLUE,4,2                   ## @KEY_BLUE
	.comm	_HID_UP_CONSUMER,4,2            ## @HID_UP_CONSUMER
	.comm	_KEY_NEXT,4,2                   ## @KEY_NEXT
	.comm	_KEY_BACK,4,2                   ## @KEY_BACK
	.no_dead_strip	_pl_input_mapping
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.pl_input_mapping
l_switch.table.pl_input_mapping:
	.quad	_KEY_TEXT
	.quad	_KEY_RED
	.quad	_KEY_GREEN
	.quad	_KEY_YELLOW
	.quad	_KEY_BLUE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pl_input_mapping
_pl_input_mapping:                      ; @pl_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_LOGIVENDOR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HID_UP_LOGIVENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #90
	cmp	w8, #5
	b.hs	LBB0_7
; %bb.2:
Lloh9:
	adrp	x9, l_switch.table.pl_input_mapping@PAGE
Lloh10:
	add	x9, x9, l_switch.table.pl_input_mapping@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_9
LBB0_3:
Lloh11:
	adrp	x10, _HID_UP_CONSUMER@GOTPAGE
Lloh12:
	ldr	x10, [x10, _HID_UP_CONSUMER@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_7
; %bb.4:
Lloh14:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #246
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #250
	b.ne	LBB0_7
; %bb.6:
Lloh17:
	adrp	x8, _KEY_BACK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _KEY_BACK@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh19:
	adrp	x8, _KEY_NEXT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KEY_NEXT@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	bl	_pl_map_key_clear
	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 AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_LOGIVENDOR,4,2          ; @HID_UP_LOGIVENDOR
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.comm	_KEY_TEXT,4,2                   ; @KEY_TEXT
	.comm	_KEY_RED,4,2                    ; @KEY_RED
	.comm	_KEY_GREEN,4,2                  ; @KEY_GREEN
	.comm	_KEY_YELLOW,4,2                 ; @KEY_YELLOW
	.comm	_KEY_BLUE,4,2                   ; @KEY_BLUE
	.comm	_HID_UP_CONSUMER,4,2            ; @HID_UP_CONSUMER
	.comm	_KEY_NEXT,4,2                   ; @KEY_NEXT
	.comm	_KEY_BACK,4,2                   ; @KEY_BACK
	.no_dead_strip	_pl_input_mapping
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.pl_input_mapping
l_switch.table.pl_input_mapping:
	.quad	_KEY_TEXT
	.quad	_KEY_RED
	.quad	_KEY_GREEN
	.quad	_KEY_YELLOW
	.quad	_KEY_BLUE

.subsections_via_symbols
