	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rain_interrupt
_rain_interrupt:                        ## @rain_interrupt
	.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
	movl	%esi, %r14d
	callq	_serio_get_drvdata
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_DATA_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	32(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn_once
	jmp	LBB0_3
LBB0_2:
	leaq	28(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	incq	(%rbx)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movb	%r14b, (%rax,%rcx)
	movl	16(%rbx), %eax
	incl	%eax
	movzbl	%al, %eax
	movq	%rax, 16(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_schedule_work
LBB0_3:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA_SIZE,8,3                  ## @DATA_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buffer overflow\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_rain_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rain_interrupt
_rain_interrupt:                        ; @rain_interrupt
	.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	x20, x1
	bl	_serio_get_drvdata
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DATA_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DATA_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #32]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn_once
	b	LBB0_3
LBB0_2:
	add	x21, x19, #28
	mov	x0, x21
	bl	_spin_lock
	ldp	x8, x9, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x8, [x19, #16]
	strb	w20, [x9, x8]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	and	x8, x8, #0xff
	str	x8, [x19, #16]
	mov	x0, x21
	bl	_spin_unlock
	add	x0, x19, #24
	bl	_schedule_work
LBB0_3:
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA_SIZE,8,3                  ; @DATA_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buffer overflow\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_rain_interrupt
.subsections_via_symbols
