	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _snd_mpu401_uart_interrupt
__snd_mpu401_uart_interrupt:            ## @_snd_mpu401_uart_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
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_MPU401_INFO_INPUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_MPU401_MODE_BIT_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_snd_mpu401_uart_input_read
	jmp	LBB0_4
LBB0_3:
	callq	_snd_mpu401_uart_clear_rx
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%rbx), %eax
LBB0_5:
	movq	_MPU401_INFO_TX_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_uart_interrupt_tx              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MPU401_INFO_INPUT,4,2          ## @MPU401_INFO_INPUT
	.comm	_MPU401_MODE_BIT_INPUT,4,2      ## @MPU401_MODE_BIT_INPUT
	.comm	_MPU401_INFO_TX_IRQ,4,2         ## @MPU401_INFO_TX_IRQ
	.no_dead_strip	__snd_mpu401_uart_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _snd_mpu401_uart_interrupt
__snd_mpu401_uart_interrupt:            ; @_snd_mpu401_uart_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, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MPU401_INFO_INPUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MPU401_INFO_INPUT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x8, _MPU401_MODE_BIT_INPUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPU401_MODE_BIT_INPUT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_snd_mpu401_uart_input_read
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_snd_mpu401_uart_clear_rx
LBB0_4:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w8, [x19]
LBB0_5:
Lloh6:
	adrp	x9, _MPU401_INFO_TX_IRQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MPU401_INFO_TX_IRQ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_uart_interrupt_tx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MPU401_INFO_INPUT,4,2          ; @MPU401_INFO_INPUT
	.comm	_MPU401_MODE_BIT_INPUT,4,2      ; @MPU401_MODE_BIT_INPUT
	.comm	_MPU401_INFO_TX_IRQ,4,2         ; @MPU401_INFO_TX_IRQ
	.no_dead_strip	__snd_mpu401_uart_interrupt
.subsections_via_symbols
