	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ir_do_keyup
_ir_do_keyup:                           ## @ir_do_keyup
	.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
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	addq	$16, %rdi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	leaq	12(%rbx), %rdi
	callq	_del_timer
	movl	4(%rbx), %edi
	movl	8(%rbx), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	_led_feedback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_led_trigger_event
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	movl	4(%rbx), %edi
	callq	_input_sync
LBB0_3:
	movl	$0, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"keyup key 0x%04x\n"

	.comm	_led_feedback,4,2               ## @led_feedback
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.no_dead_strip	_ir_do_keyup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ir_do_keyup
_ir_do_keyup:                           ; @ir_do_keyup
	.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, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #16
	ldr	w2, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	add	x0, x19, #12
	bl	_del_timer
	ldp	w0, w1, [x19, #4]
	mov	w2, #0
	bl	_input_report_key
Lloh2:
	adrp	x8, _led_feedback@GOTPAGE
Lloh3:
	ldr	x8, [x8, _led_feedback@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_led_trigger_event
	cbz	w20, LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	bl	_input_sync
LBB0_3:
	str	wzr, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"keyup key 0x%04x\n"

	.comm	_led_feedback,4,2               ; @led_feedback
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.no_dead_strip	_ir_do_keyup
.subsections_via_symbols
