	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_mpu401_uart_add_timer
_snd_mpu401_uart_add_timer:             ## @snd_mpu401_uart_add_timer
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_spin_lock_irqsave
	movl	4(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testl	%r14d, %r14d
	jne	LBB0_3
LBB0_4:
	movq	_MPU401_MODE_OUTPUT_TIMER@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_init_timer
	movq	%rbx, 8(%rbx)
	movq	_snd_mpu401_uart_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	%rax, 16(%rbx)
	movq	%r15, %rdi
	callq	_add_timer
	movl	4(%rbx), %eax
	testl	%r14d, %r14d
	je	LBB0_4
LBB0_3:
	movq	_MPU401_MODE_INPUT_TIMER@GOTPCREL(%rip), %rcx
LBB0_5:
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_mpu401_uart_timer,4,2      ## @snd_mpu401_uart_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MPU401_MODE_INPUT_TIMER,4,2    ## @MPU401_MODE_INPUT_TIMER
	.comm	_MPU401_MODE_OUTPUT_TIMER,4,2   ## @MPU401_MODE_OUTPUT_TIMER
	.no_dead_strip	_snd_mpu401_uart_add_timer
.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_add_timer
_snd_mpu401_uart_add_timer:             ; @snd_mpu401_uart_add_timer
	.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
	mov	x19, x0
	bl	_spin_lock_irqsave
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_2
; %bb.1:
	add	x21, x19, #8
	mov	x0, x21
	bl	_init_timer
Lloh0:
	adrp	x8, _snd_mpu401_uart_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_mpu401_uart_timer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, #1
	stp	x19, x8, [x19, #8]
	mov	x0, x21
	bl	_add_timer
	ldr	w8, [x19, #4]
LBB0_2:
Lloh6:
	adrp	x9, _MPU401_MODE_INPUT_TIMER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MPU401_MODE_INPUT_TIMER@GOTPAGEOFF]
Lloh8:
	adrp	x10, _MPU401_MODE_OUTPUT_TIMER@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MPU401_MODE_OUTPUT_TIMER@GOTPAGEOFF]
	cmp	w20, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	mov	x0, x19
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_mpu401_uart_timer,4,2      ; @snd_mpu401_uart_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MPU401_MODE_INPUT_TIMER,4,2    ; @MPU401_MODE_INPUT_TIMER
	.comm	_MPU401_MODE_OUTPUT_TIMER,4,2   ; @MPU401_MODE_OUTPUT_TIMER
	.no_dead_strip	_snd_mpu401_uart_add_timer
.subsections_via_symbols
