	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_repeat                      ## -- Begin function rc_repeat
	.p2align	4, 0x90
_rc_repeat:                             ## @rc_repeat
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	60(%rdi), %edi
	callq	_nsecs_to_jiffies
	movl	%eax, %r14d
	movl	56(%rbx), %edi
	callq	_repeat_period
	movl	%eax, %edi
	callq	_msecs_to_jiffies
	movl	%eax, %r15d
	movq	_LIRC_SCANCODE_FLAG_REPEAT@GOTPCREL(%rip), %rax
	movl	48(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_LIRC_SCANCODE_FLAG_TOGGLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
	cmpq	$0, 32(%rbx)
	jne	LBB0_3
## %bb.4:
	movq	_KEY_RESERVED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	leaq	52(%rbx), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	56(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	44(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	(%rbx), %rax
	movq	_RC_PROTO_BIT_CEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ir_lirc_scancode_event
LBB0_7:
	leaq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	_EV_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSC_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	40(%rbx), %edi
	movl	44(%rbx), %ecx
	callq	_input_event
	movl	40(%rbx), %edi
	callq	_input_sync
	cmpq	$0, 32(%rbx)
	je	LBB0_9
## %bb.8:
	addl	%r14d, %r15d
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	%r15d, %esi
	addq	(%rax), %rsi
	movq	%rsi, 16(%rbx)
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_mod_timer
LBB0_9:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIRC_SCANCODE_FLAG_REPEAT,4,2  ## @LIRC_SCANCODE_FLAG_REPEAT
	.comm	_LIRC_SCANCODE_FLAG_TOGGLE,4,2  ## @LIRC_SCANCODE_FLAG_TOGGLE
	.comm	_KEY_RESERVED,4,2               ## @KEY_RESERVED
	.comm	_RC_PROTO_BIT_CEC,8,3           ## @RC_PROTO_BIT_CEC
	.comm	_EV_MSC,4,2                     ## @EV_MSC
	.comm	_MSC_SCAN,4,2                   ## @MSC_SCAN
	.comm	_jiffies,8,3                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_repeat                      ; -- Begin function rc_repeat
	.p2align	2
_rc_repeat:                             ; @rc_repeat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w0, [x0, #60]
	bl	_nsecs_to_jiffies
	mov	x20, x0
	ldr	w0, [x19, #56]
	bl	_repeat_period
	bl	_msecs_to_jiffies
	mov	x21, x0
Lloh0:
	adrp	x8, _LIRC_SCANCODE_FLAG_REPEAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIRC_SCANCODE_FLAG_REPEAT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LIRC_SCANCODE_FLAG_TOGGLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LIRC_SCANCODE_FLAG_TOGGLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	ldp	w11, w10, [x19, #44]
	cmp	w10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
	ldr	x9, [x19, #32]
	add	x10, x19, #52
Lloh6:
	adrp	x12, _KEY_RESERVED@GOTPAGE
Lloh7:
	ldr	x12, [x12, _KEY_RESERVED@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x12, x10, eq
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	ldr	w8, [x19, #56]
	stp	w8, w11, [sp, #8]
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _RC_PROTO_BIT_CEC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RC_PROTO_BIT_CEC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x1, sp
	mov	x0, x19
	bl	_ir_lirc_scancode_event
LBB0_2:
	add	x22, x19, #8
	mov	x0, x22
	bl	_spin_lock_irqsave
Lloh11:
	adrp	x8, _EV_MSC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EV_MSC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _MSC_SCAN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSC_SCAN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldp	w0, w3, [x19, #40]
	bl	_input_event
	ldr	w0, [x19, #40]
	bl	_input_sync
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
	add	w8, w21, w20
Lloh17:
	adrp	x9, _jiffies@GOTPAGE
Lloh18:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, w8, uxtw
	str	x1, [x19, #16]
	add	x0, x19, #24
	bl	_mod_timer
LBB0_4:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_LIRC_SCANCODE_FLAG_REPEAT,4,2  ; @LIRC_SCANCODE_FLAG_REPEAT
	.comm	_LIRC_SCANCODE_FLAG_TOGGLE,4,2  ; @LIRC_SCANCODE_FLAG_TOGGLE
	.comm	_KEY_RESERVED,4,2               ; @KEY_RESERVED
	.comm	_RC_PROTO_BIT_CEC,8,3           ; @RC_PROTO_BIT_CEC
	.comm	_EV_MSC,4,2                     ; @EV_MSC
	.comm	_MSC_SCAN,4,2                   ; @MSC_SCAN
	.comm	_jiffies,8,3                    ; @jiffies
.subsections_via_symbols
