	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h3600ts_interrupt
_h3600ts_interrupt:                     ## @h3600ts_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_serio_get_drvdata
	movq	_state@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edx
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_CHAR_SOF@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	jne	LBB0_13
## %bb.3:
	movl	$129, (%rdi)
	jmp	LBB0_13
LBB0_9:
	movl	$128, (%rdi)
	movq	_CHAR_EOF@GOTPCREL(%rip), %rcx
	cmpb	%bl, (%rcx)
	je	LBB0_11
## %bb.10:
	cmpb	%bl, 16(%rax)
	jne	LBB0_13
LBB0_11:
	movq	%rax, %rdi
	callq	_h3600ts_process_packet
	jmp	LBB0_13
LBB0_7:
	addb	%bl, 16(%rax)
	movq	8(%rax), %rcx
	movq	24(%rax), %rdx
	movb	%bl, (%rdx,%rcx)
	movq	8(%rax), %rcx
	incq	%rcx
	movq	%rcx, 8(%rax)
	movzbl	1(%rax), %eax
	cmpq	%rax, %rcx
	jne	LBB0_13
## %bb.8:
	movl	$130, (%rdi)
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str(%rip), %rdi
	callq	_printk
	jmp	LBB0_13
LBB0_4:
	movl	%ebx, %ecx
	shrb	$4, %cl
	movb	%cl, (%rax)
	movl	%ebx, %edx
	andb	$15, %dl
	movb	%dl, 1(%rax)
	movq	$0, 8(%rax)
	movq	_MAX_ID@GOTPCREL(%rip), %rsi
	cmpb	(%rsi), %cl
	jae	LBB0_5
## %bb.6:
	movb	%bl, 16(%rax)
	cmpb	$1, %dl
	movl	$131, %eax
	sbbl	$0, %eax
	movl	%eax, (%rdi)
	jmp	LBB0_13
LBB0_5:
	movl	$128, (%rdi)
LBB0_13:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_state,4,2                      ## @state
	.comm	_CHAR_SOF,1,0                   ## @CHAR_SOF
	.comm	_MAX_ID,1,0                     ## @MAX_ID
	.comm	_CHAR_EOF,1,0                   ## @CHAR_EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error3\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h3600ts_interrupt
_h3600ts_interrupt:                     ; @h3600ts_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
Lloh0:
	adrp	x8, _state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _state@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_9
; %bb.1:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x9, _CHAR_SOF@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CHAR_SOF@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w19
	b.ne	LBB0_14
; %bb.3:
	mov	w9, #129
	b	LBB0_13
LBB0_4:
	mov	w9, #128
	str	w9, [x8]
Lloh6:
	adrp	x8, _CHAR_EOF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHAR_EOF@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_6
; %bb.5:
	ldrb	w8, [x0, #16]
	cmp	w8, w19
	b.ne	LBB0_14
LBB0_6:
	bl	_h3600ts_process_packet
	b	LBB0_14
LBB0_7:
	ldrb	w9, [x0, #16]
	add	w9, w9, w19
	strb	w9, [x0, #16]
	ldr	x9, [x0, #24]
	ldr	x10, [x0, #8]
	strb	w19, [x9, x10]
	ldr	x9, [x0, #8]
	add	x9, x9, #1
	str	x9, [x0, #8]
	ldrb	w10, [x0, #1]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.8:
	mov	w9, #130
	b	LBB0_13
LBB0_9:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	b	LBB0_14
LBB0_10:
	lsr	w10, w19, #4
	strb	w10, [x0]
	and	w9, w19, #0xf
	strb	w9, [x0, #1]
	str	xzr, [x0, #8]
Lloh10:
	adrp	x11, _MAX_ID@GOTPAGE
Lloh11:
	ldr	x11, [x11, _MAX_ID@GOTPAGEOFF]
	ldrb	w11, [x11]
	cmp	w10, w11
	b.hs	LBB0_12
; %bb.11:
	strb	w19, [x0, #16]
	cmp	w9, #0
	mov	w9, #130
	cinc	w9, w9, ne
	b	LBB0_13
LBB0_12:
	mov	w9, #128
LBB0_13:
	str	w9, [x8]
LBB0_14:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_state,4,2                      ; @state
	.comm	_CHAR_SOF,1,0                   ; @CHAR_SOF
	.comm	_MAX_ID,1,0                     ; @MAX_ID
	.comm	_CHAR_EOF,1,0                   ; @CHAR_EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error3\n"

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