	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tango_ir_handle_rc6
_tango_ir_handle_rc6:                   ## @tango_ir_handle_rc6
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_RC6_DATA0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl_relaxed
	movl	%eax, %ebx
	movq	_RC6_DATA1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl_relaxed
	testb	$14, %bl
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%ebx, %r15d
	andl	$1, %r15d
	sarl	$16, %ebx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_RC_SCANCODE_RC6_0
	movl	(%r14), %edi
	movq	_RC_PROTO_RC6_0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rc_keydown                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RC6_DATA0,8,3                  ## @RC6_DATA0
	.comm	_RC6_DATA1,8,3                  ## @RC6_DATA1
	.comm	_RC_PROTO_RC6_0,4,2             ## @RC_PROTO_RC6_0
	.no_dead_strip	_tango_ir_handle_rc6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tango_ir_handle_rc6
_tango_ir_handle_rc6:                   ; @tango_ir_handle_rc6
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _RC6_DATA0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RC6_DATA0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _RC6_DATA1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RC6_DATA1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	tst	w20, #0xe
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x1, x0
	and	w21, w20, #0x1
	asr	w0, w20, #16
	bl	_RC_SCANCODE_RC6_0
	mov	x2, x0
Lloh6:
	adrp	x8, _RC_PROTO_RC6_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RC_PROTO_RC6_0@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh8:
	ldr	w1, [x8]
	mov	x3, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rc_keydown
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RC6_DATA0,8,3                  ; @RC6_DATA0
	.comm	_RC6_DATA1,8,3                  ; @RC6_DATA1
	.comm	_RC_PROTO_RC6_0,4,2             ; @RC_PROTO_RC6_0
	.no_dead_strip	_tango_ir_handle_rc6
.subsections_via_symbols
