	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gunze_interrupt
_gunze_interrupt:                       ## @gunze_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_serio_get_drvdata
	movq	%rax, %rbx
	cmpb	$13, %r14b
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_gunze_process_packet
	movq	$0, (%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	(%rbx), %rax
	movq	_GUNZE_MAX_LENGTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.3:
	movq	8(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rbx)
	movb	%r14b, (%rcx,%rax)
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GUNZE_MAX_LENGTH,8,3           ## @GUNZE_MAX_LENGTH
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_gunze_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gunze_interrupt
_gunze_interrupt:                       ; @gunze_interrupt
	.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
	mov	x19, x1
	bl	_serio_get_drvdata
	mov	x20, x0
	cmp	w19, #13
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_gunze_process_packet
	str	xzr, [x20]
	b	LBB0_4
LBB0_2:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _GUNZE_MAX_LENGTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GUNZE_MAX_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	ldr	x9, [x20, #8]
	add	x10, x8, #1
	str	x10, [x20]
	strb	w19, [x9, x8]
LBB0_4:
Lloh3:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GUNZE_MAX_LENGTH,8,3           ; @GUNZE_MAX_LENGTH
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_gunze_interrupt
.subsections_via_symbols
