	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lg_ultrax_remote_mapping
_lg_ultrax_remote_mapping:              ## @lg_ultrax_remote_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi), %eax
	movq	_HID_UP_LOGIVENDOR@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpl	(%rcx), %eax
	jne	LBB0_20
## %bb.1:
	movq	%rsi, %rbx
	movq	_EV_REP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_set_bit
	movq	_HID_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	(%rbx), %ecx
	addl	$-4, %ecx
	cmpl	$78, %ecx
	ja	LBB0_20
## %bb.2:
	movq	_KEY_AGAIN@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_KEY_HOME@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_4:
	movq	_KEY_SHUFFLE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_5:
	movq	_KEY_TV@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_6:
	movq	_KEY_MENU@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_7:
	movq	_KEY_AUDIO@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_8:
	movq	_KEY_TEXT@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_9:
	movq	_KEY_LAST@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_10:
	movq	_KEY_MP3@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_11:
	movq	_KEY_DVD@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_12:
	movq	_KEY_MEDIA@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_13:
	movq	_KEY_VIDEO@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_14:
	movq	_KEY_ANGLE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_15:
	movq	_KEY_LANGUAGE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	movq	_KEY_SUBTITLE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_KEY_RED@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_18:
	movq	_KEY_CLOSE@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %edi
	callq	_lg_map_key_clear
	movl	$1, %r14d
LBB0_20:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_3
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_LOGIVENDOR,4,2          ## @HID_UP_LOGIVENDOR
	.comm	_EV_REP,4,2                     ## @EV_REP
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.comm	_KEY_AGAIN,4,2                  ## @KEY_AGAIN
	.comm	_KEY_HOME,4,2                   ## @KEY_HOME
	.comm	_KEY_SHUFFLE,4,2                ## @KEY_SHUFFLE
	.comm	_KEY_TV,4,2                     ## @KEY_TV
	.comm	_KEY_MENU,4,2                   ## @KEY_MENU
	.comm	_KEY_AUDIO,4,2                  ## @KEY_AUDIO
	.comm	_KEY_TEXT,4,2                   ## @KEY_TEXT
	.comm	_KEY_LAST,4,2                   ## @KEY_LAST
	.comm	_KEY_MP3,4,2                    ## @KEY_MP3
	.comm	_KEY_DVD,4,2                    ## @KEY_DVD
	.comm	_KEY_MEDIA,4,2                  ## @KEY_MEDIA
	.comm	_KEY_VIDEO,4,2                  ## @KEY_VIDEO
	.comm	_KEY_ANGLE,4,2                  ## @KEY_ANGLE
	.comm	_KEY_LANGUAGE,4,2               ## @KEY_LANGUAGE
	.comm	_KEY_SUBTITLE,4,2               ## @KEY_SUBTITLE
	.comm	_KEY_RED,4,2                    ## @KEY_RED
	.comm	_KEY_CLOSE,4,2                  ## @KEY_CLOSE
	.no_dead_strip	_lg_ultrax_remote_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lg_ultrax_remote_mapping
_lg_ultrax_remote_mapping:              ; @lg_ultrax_remote_mapping
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _HID_UP_LOGIVENDOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HID_UP_LOGIVENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x1
Lloh6:
	adrp	x8, _EV_REP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_REP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x0]
	ldr	w1, [x9]
	mov	x0, x8
	bl	_set_bit
	mov	w0, #0
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w9, w8, #4
	cmp	w9, #78
	b.hi	LBB0_21
; %bb.2:
Lloh12:
	adrp	x8, _KEY_AGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KEY_AGAIN@GOTPAGEOFF]
Lloh14:
	adrp	x10, lJTI0_0@PAGE
Lloh15:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh16:
	adrp	x8, _KEY_HOME@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KEY_HOME@GOTPAGEOFF]
	b	LBB0_20
LBB0_4:
	mov	w0, #0
	b	LBB0_21
LBB0_5:
Lloh18:
	adrp	x8, _KEY_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TPAGE
Lloh41:
	ldr	x8, [x8, _KEY_LANGUAGE@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
Lloh42:
	adrp	x8, _KEY_SUBTITLE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _KEY_SUBTITLE@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
Lloh44:
	adrp	x8, _KEY_RED@GOTPAGE
Lloh45:
	ldr	x8, [x8, _KEY_RED@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh46:
	adrp	x8, _KEY_CLOSE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _KEY_CLOSE@GOTPAGEOFF]
LBB0_20:
	ldr	w0, [x8]
	bl	_lg_map_key_clear
	mov	w0, #1
LBB0_21:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_LOGIVENDOR,4,2          ; @HID_UP_LOGIVENDOR
	.comm	_EV_REP,4,2                     ; @EV_REP
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.comm	_KEY_AGAIN,4,2                  ; @KEY_AGAIN
	.comm	_KEY_HOME,4,2                   ; @KEY_HOME
	.comm	_KEY_SHUFFLE,4,2                ; @KEY_SHUFFLE
	.comm	_KEY_TV,4,2                     ; @KEY_TV
	.comm	_KEY_MENU,4,2                   ; @KEY_MENU
	.comm	_KEY_AUDIO,4,2                  ; @KEY_AUDIO
	.comm	_KEY_TEXT,4,2                   ; @KEY_TEXT
	.comm	_KEY_LAST,4,2                   ; @KEY_LAST
	.comm	_KEY_MP3,4,2                    ; @KEY_MP3
	.comm	_KEY_DVD,4,2                    ; @KEY_DVD
	.comm	_KEY_MEDIA,4,2                  ; @KEY_MEDIA
	.comm	_KEY_VIDEO,4,2                  ; @KEY_VIDEO
	.comm	_KEY_ANGLE,4,2                  ; @KEY_ANGLE
	.comm	_KEY_LANGUAGE,4,2               ; @KEY_LANGUAGE
	.comm	_KEY_SUBTITLE,4,2               ; @KEY_SUBTITLE
	.comm	_KEY_RED,4,2                    ; @KEY_RED
	.comm	_KEY_CLOSE,4,2                  ; @KEY_CLOSE
	.no_dead_strip	_lg_ultrax_remote_mapping
.subsections_via_symbols
