	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ir_rc5_timer_end               ## -- Begin function ir_rc5_timer_end
	.p2align	4, 0x90
_ir_rc5_timer_end:                      ## @ir_rc5_timer_end
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	-48(%rbp), %rdi
	callq	_do_gettimeofday
	movl	-48(%rbp), %eax
	subl	64(%rbx), %eax
	cmpl	$1, %eax
	jle	LBB0_1
## %bb.3:
	movq	$0, 56(%rbx)
	jmp	LBB0_4
LBB0_1:
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	addl	-44(%rbp), %eax
	subl	68(%rbx), %eax
	movq	$0, 56(%rbx)
	cmpl	$27999, %eax                    ## imm = 0x6D5F
	jg	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_13
LBB0_4:
	movl	4(%rbx), %edx
	cmpl	$19, (%rbx)
	jg	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_13
LBB0_6:
	movb	8(%rbx), %cl
	shll	%cl, %edx
	orl	$1, %edx
	movl	%edx, 4(%rbx)
	movl	%edx, %edi
	callq	_ir_rc5_decode
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_RC5_START
	cmpq	16(%rbx), %rax
	jne	LBB0_7
## %bb.8:
	movl	%r15d, %edi
	callq	_RC5_ADDR
	cmpq	24(%rbx), %rax
	jne	LBB0_13
## %bb.9:
	movl	%r15d, %edi
	callq	_RC5_TOGGLE
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_RC5_INSTR
	movl	%eax, %r12d
	movl	32(%rbx), %edi
	callq	_RC5_TOGGLE
	cmpl	%eax, %r13d
	jne	LBB0_11
## %bb.10:
	movl	32(%rbx), %edi
	callq	_RC5_INSTR
	cmpl	%eax, %r12d
	je	LBB0_12
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_dprintk
	movl	48(%rbx), %edi
	leaq	44(%rbx), %r13
	movq	%r13, %rsi
	callq	_ir_input_nokey
	movl	48(%rbx), %edi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	callq	_ir_input_keydown
LBB0_12:
	movl	40(%rbx), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %r14
	leaq	36(%rbx), %rdi
	movq	%r14, %rsi
	callq	_mod_timer
	movl	%r15d, 32(%rbx)
	jmp	LBB0_13
LBB0_7:
	movl	%r15d, %edi
	callq	_RC5_START
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_dprintk
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ir-common: spurious timer_end\n"

L_.str.1:                               ## @.str.1
	.asciz	"ir-common: short code: %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"ir-common: rc5 start bits invalid: %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"ir-common: instruction %x, toggle %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ir_rc5_timer_end               ; -- Begin function ir_rc5_timer_end
	.p2align	2
_ir_rc5_timer_end:                      ; @ir_rc5_timer_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	add	x0, sp, #24
	bl	_do_gettimeofday
	ldr	w8, [sp, #24]
	ldr	w9, [x19, #64]
	sub	w8, w8, w9
	cmp	w8, #1
	b.le	LBB0_2
; %bb.1:
	str	xzr, [x19, #56]
	b	LBB0_4
LBB0_2:
	mov	w9, #16960
	movk	w9, #15, lsl #16
	ldr	w10, [sp, #28]
	madd	w8, w8, w9, w10
	ldr	w9, [x19, #68]
	str	xzr, [x19, #56]
	mov	w10, #27999
	sub	w8, w8, w9
	cmp	w8, w10
	b.gt	LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_4:
	ldp	w9, w8, [x19]
	cmp	w9, #19
	b.gt	LBB0_6
; %bb.5:
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_6:
	ldr	w9, [x19, #8]
	lsl	w8, w8, w9
	orr	w0, w8, #0x1
	str	w0, [x19, #4]
	bl	_ir_rc5_decode
	mov	x20, x0
	bl	_RC5_START
	ldr	x8, [x19, #16]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x20
	bl	_RC5_ADDR
	ldr	x8, [x19, #24]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.8:
	mov	x0, x20
	bl	_RC5_TOGGLE
	mov	x22, x0
	mov	x0, x20
	bl	_RC5_INSTR
	mov	x21, x0
	ldr	w0, [x19, #32]
	bl	_RC5_TOGGLE
	cmp	w22, w0
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x19, #32]
	bl	_RC5_INSTR
	cmp	w21, w0
	b.eq	LBB0_11
LBB0_10:
	stp	x21, x22, [sp]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	ldr	w0, [x19, #48]
	add	x22, x19, #44
	mov	x1, x22
	bl	_ir_input_nokey
	ldr	w0, [x19, #48]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x21
	bl	_ir_input_keydown
LBB0_11:
	ldr	w0, [x19, #40]
	bl	_msecs_to_jiffies
	add	x1, x0, x23
	add	x0, x19, #36
	bl	_mod_timer
	str	w20, [x19, #32]
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_RC5_START
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_13:
	mov	w0, #1
	bl	_dprintk
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ir-common: spurious timer_end\n"

l_.str.1:                               ; @.str.1
	.asciz	"ir-common: short code: %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"ir-common: rc5 start bits invalid: %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"ir-common: instruction %x, toggle %x\n"

.subsections_via_symbols
