	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ir_raw_edge_handle
_ir_raw_edge_handle:                    ## @ir_raw_edge_handle
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_edge_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	(%rax), %r15
	movq	8(%r15), %rdi
	callq	_spin_lock_irqsave
	xorl	%eax, %eax
	callq	_ktime_get
	movq	8(%r15), %rcx
	movl	8(%rcx), %esi
	movl	%eax, %edi
	callq	_ktime_sub
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ktime_to_ns
	movq	(%r15), %rbx
	cmpq	%rbx, %rax
	jge	LBB0_1
## %bb.2:
	movq	8(%r15), %r12
	addq	$4, %r12
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r14d, %edi
	callq	_ktime_to_ns
	subq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_nsecs_to_jiffies
	addq	%rax, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mod_timer
	jmp	LBB0_3
LBB0_1:
	movl	$1, -56(%rbp)
	movl	%r14d, %edi
	callq	_ktime_to_ns
	movq	%rax, -48(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ir_raw_event_store
LBB0_3:
	movq	8(%r15), %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_ir_raw_event_handle
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_edge_handle,4,2                ## @edge_handle
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_raw,8,3                        ## @raw
	.no_dead_strip	_ir_raw_edge_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ir_raw_edge_handle
_ir_raw_edge_handle:                    ; @ir_raw_edge_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _edge_handle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _edge_handle@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	ldr	x19, [x0]
	ldr	x0, [x19, #8]
	bl	_spin_lock_irqsave
	bl	_ktime_get
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	bl	_ktime_sub
	mov	x20, x0
	bl	_ktime_to_ns
	ldr	x22, [x19]
	cmp	x0, x22
	b.ge	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	add	x21, x8, #4
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
	mov	x0, x20
	bl	_ktime_to_ns
	sub	x0, x22, x0
	bl	_nsecs_to_jiffies
	add	x1, x0, x23
	mov	x0, x21
	bl	_mod_timer
	b	LBB0_3
LBB0_2:
	mov	w8, #1
	str	w8, [sp]
	mov	x0, x20
	bl	_ktime_to_ns
	str	x0, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	bl	_ir_raw_event_store
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_ir_raw_event_handle
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_edge_handle,4,2                ; @edge_handle
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_raw,8,3                        ; @raw
	.no_dead_strip	_ir_raw_edge_handle
.subsections_via_symbols
