	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpuintr
_mpuintr:                               ## @mpuintr
	.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
	movq	_dev_conf@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movslq	%esi, %rax
	leaq	(%rax,%rax,2), %r15
	leaq	(%r14,%r15,8), %rbx
	movq	%rbx, %rdi
	callq	_input_avail
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.3:
	movq	_OPEN_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14,%r15,8)
	jne	LBB0_5
## %bb.4:
	movq	16(%r14,%r15,8), %rax
	movq	_MODE_SYNTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_mpu401_input_loop
	jmp	LBB0_7
LBB0_1:
	xorl	%edi, %edi
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_read_data
LBB0_7:
	movl	$1, %edi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_conf,8,3                   ## @dev_conf
	.comm	_OPEN_READ,4,2                  ## @OPEN_READ
	.comm	_MODE_SYNTH,8,3                 ## @MODE_SYNTH
	.no_dead_strip	_mpuintr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpuintr
_mpuintr:                               ; @mpuintr
	.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
Lloh0:
	adrp	x8, _dev_conf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev_conf@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	w8, #24
	smaddl	x19, w20, w8, x21
	mov	x0, x19
	bl	_input_avail
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.2:
	sxtw	x8, w20
	mov	w9, #24
	madd	x9, x8, x9, x21
	ldr	w9, [x9, #8]
Lloh3:
	adrp	x10, _OPEN_READ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OPEN_READ@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_4
; %bb.3:
	mov	w9, #24
	madd	x8, x8, x9, x21
	ldr	x8, [x8, #16]
Lloh6:
	adrp	x9, _MODE_SYNTH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MODE_SYNTH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_mpu401_input_loop
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_read_data
LBB0_6:
	mov	w0, #1
LBB0_7:
	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
	b	_IRQ_RETVAL
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_conf,8,3                   ; @dev_conf
	.comm	_OPEN_READ,4,2                  ; @OPEN_READ
	.comm	_MODE_SYNTH,8,3                 ; @MODE_SYNTH
	.no_dead_strip	_mpuintr
.subsections_via_symbols
