	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_mtpav_output_timer
_snd_mtpav_output_timer:                ## @snd_mtpav_output_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	%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
	movq	%rdi, %r12
	addq	$4, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	leaq	16(%r12), %rdi
	movq	%rax, 16(%r12)
	callq	_add_timer
	movl	(%r12), %eax
	leal	(%rax,%rax), %edx
	movq	_MTPAV_PIDX_BROADCAST@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	addl	%ecx, %edx
	js	LBB0_6
## %bb.1:
	movq	$-1, %r13
	xorl	%ebx, %ebx
	movq	_MTPAV_MODE_OUTPUT_TRIGGERED@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rcx,%rax,2), %edx
	movslq	%edx, %rdx
	incq	%r13
	addq	$16, %rbx
	cmpq	%rdx, %r13
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	movl	(%r14), %edx
	testl	%edx, (%rsi,%rbx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi,%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rbx, %rsi
	movq	%r12, %rdi
	callq	_snd_mtpav_output_port_write
	movl	(%r12), %eax
	movl	(%r15), %ecx
	jmp	LBB0_5
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MTPAV_PIDX_BROADCAST,4,2       ## @MTPAV_PIDX_BROADCAST
	.comm	_MTPAV_MODE_OUTPUT_TRIGGERED,4,2 ## @MTPAV_MODE_OUTPUT_TRIGGERED
	.no_dead_strip	_snd_mtpav_output_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_mtpav_output_timer
_snd_mtpav_output_timer:                ; @snd_mtpav_output_timer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, #1
	mov	x0, x20
	str	x8, [x0, #16]!
	bl	_add_timer
	ldr	w8, [x20]
Lloh3:
	adrp	x21, _MTPAV_PIDX_BROADCAST@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MTPAV_PIDX_BROADCAST@GOTPAGEOFF]
	ldr	w9, [x21]
	cmn	w9, w8, lsl #1
	b.mi	LBB0_6
; %bb.1:
	mov	x22, #0
	mov	x23, #-1
Lloh5:
	adrp	x24, _MTPAV_MODE_OUTPUT_TRIGGERED@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MTPAV_MODE_OUTPUT_TRIGGERED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w10, w9, w8, lsl #1
	add	x23, x23, #1
	add	x22, x22, #16
	cmp	x23, w10, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #8]
	add	x1, x10, x22
	ldr	w10, [x1]
	ldr	w11, [x24]
	tst	w11, w10
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x1, #8]
	cbz	x2, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_snd_mtpav_output_port_write
	ldr	w8, [x20]
	ldr	w9, [x21]
	b	LBB0_2
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MTPAV_PIDX_BROADCAST,4,2       ; @MTPAV_PIDX_BROADCAST
	.comm	_MTPAV_MODE_OUTPUT_TRIGGERED,4,2 ; @MTPAV_MODE_OUTPUT_TRIGGERED
	.no_dead_strip	_snd_mtpav_output_timer
.subsections_via_symbols
