	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps2mult_interrupt
_ps2mult_interrupt:                     ## @ps2mult_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	%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
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_serio_get_drvdata
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movl	$0, (%rbx)
LBB0_2:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.3:
	movl	(%rax), %edi
	movzbl	%r13b, %esi
	movl	%r12d, %edx
	callq	_serio_interrupt
	jmp	LBB0_9
LBB0_4:
	leal	-128(%r13), %eax
	cmpb	$5, %al
	ja	LBB0_2
## %bb.5:
	movzbl	%al, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_11
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
LBB0_11:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_9
LBB0_15:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_PS2MULT_MOUSE_PORT@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_PS2MULT_KBD_PORT@GOTPCREL(%rip), %rax
LBB0_14:
	movq	(%rax), %rax
	shlq	$4, %rax
	addq	16(%rbx), %rax
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$1, (%rbx)
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	24(%rbx), %rax
LBB0_8:
	movq	%rax, 8(%rbx)
LBB0_9:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received %02x flags %02x\n"

L_.str.1:                               ## @.str.1
	.asciz	"ESCAPE\n"

L_.str.2:                               ## @.str.2
	.asciz	"BSYNC\n"

L_.str.3:                               ## @.str.3
	.asciz	"SS\n"

L_.str.4:                               ## @.str.4
	.asciz	"SE\n"

L_.str.5:                               ## @.str.5
	.asciz	"KB\n"

	.comm	_PS2MULT_KBD_PORT,8,3           ## @PS2MULT_KBD_PORT
L_.str.6:                               ## @.str.6
	.asciz	"MS\n"

	.comm	_PS2MULT_MOUSE_PORT,8,3         ## @PS2MULT_MOUSE_PORT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ps2mult_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps2mult_interrupt
_ps2mult_interrupt:                     ; @ps2mult_interrupt
	.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
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_serio_get_drvdata
	mov	x20, x0
	mov	w8, w23
	stp	x8, x21, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	add	x19, x20, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.1:
	str	wzr, [x20]
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_15
; %bb.3:
	ldr	w0, [x8]
	mov	x1, x23
	mov	x2, x21
	bl	_serio_interrupt
	b	LBB0_15
LBB0_4:
	sub	w8, w23, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.5:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_8:
	mov	x0, x22
	bl	_dev_dbg
	b	LBB0_15
LBB0_9:
Lloh8:
	adrp	x1, l_.str.6@PAGE
Lloh9:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	ldr	x8, [x20, #16]
Lloh10:
	adrp	x9, _PS2MULT_MOUSE_PORT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PS2MULT_MOUSE_PORT@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	ldr	x8, [x20, #16]
Lloh14:
	adrp	x9, _PS2MULT_KBD_PORT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PS2MULT_KBD_PORT@GOTPAGEOFF]
LBB0_11:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #4
	b	LBB0_14
LBB0_12:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_15
LBB0_13:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	ldr	x8, [x20, #24]
LBB0_14:
	str	x8, [x20, #8]
LBB0_15:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh20:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received %02x flags %02x\n"

l_.str.1:                               ; @.str.1
	.asciz	"ESCAPE\n"

l_.str.2:                               ; @.str.2
	.asciz	"BSYNC\n"

l_.str.3:                               ; @.str.3
	.asciz	"SS\n"

l_.str.4:                               ; @.str.4
	.asciz	"SE\n"

l_.str.5:                               ; @.str.5
	.asciz	"KB\n"

	.comm	_PS2MULT_KBD_PORT,8,3           ; @PS2MULT_KBD_PORT
l_.str.6:                               ; @.str.6
	.asciz	"MS\n"

	.comm	_PS2MULT_MOUSE_PORT,8,3         ; @PS2MULT_MOUSE_PORT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ps2mult_interrupt
.subsections_via_symbols
