	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _snd_timer_stop
__snd_timer_stop:                       ## @_snd_timer_stop
	.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, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_SNDRV_TIMER_IFLG_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_6
## %bb.4:
	testl	%r12d, %r12d
	jne	LBB0_17
## %bb.5:
	movq	_slave_active_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_SNDRV_TIMER_IFLG_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_6:
	movq	16(%r15), %r13
	testq	%r13, %r13
	je	LBB0_7
## %bb.8:
	leaq	4(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	8(%r15), %rdi
	callq	_list_del_init
	leaq	4(%r15), %rdi
	callq	_list_del_init
	movq	_SNDRV_TIMER_IFLG_RUNNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	testl	%eax, (%r15)
	je	LBB0_13
## %bb.9:
	decl	24(%r13)
	jne	LBB0_13
## %bb.10:
	movq	%r13, %rdi
	callq	*16(%r13)
	movq	_SNDRV_TIMER_IFLG_RUNNING@GOTPCREL(%rip), %rdx
	movl	(%r13), %eax
	movq	_SNDRV_TIMER_FLG_RESCHED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_13
## %bb.11:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_snd_timer_reschedule
	movq	_SNDRV_TIMER_IFLG_RUNNING@GOTPCREL(%rip), %rdx
	movl	(%r13), %eax
	movq	_SNDRV_TIMER_FLG_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_13
## %bb.12:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	*8(%r13)
	movq	_SNDRV_TIMER_IFLG_RUNNING@GOTPCREL(%rip), %rdx
LBB0_13:
	testl	%r12d, %r12d
	jne	LBB0_16
## %bb.14:
	movq	_SNDRV_TIMER_IFLG_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rdx), %eax
LBB0_15:
	notl	%eax
	andl	%eax, (%r15)
LBB0_16:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_17:
	movq	_SNDRV_TIMER_EVENT_RESOLUTION@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%r14d, (%rax)
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_snd_timer_notify1
	jmp	LBB0_19
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_SNDRV_TIMER_IFLG_SLAVE,4,2     ## @SNDRV_TIMER_IFLG_SLAVE
	.comm	_slave_active_lock,4,2          ## @slave_active_lock
	.comm	_SNDRV_TIMER_IFLG_RUNNING,4,2   ## @SNDRV_TIMER_IFLG_RUNNING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_TIMER_FLG_RESCHED,4,2    ## @SNDRV_TIMER_FLG_RESCHED
	.comm	_SNDRV_TIMER_FLG_CHANGE,4,2     ## @SNDRV_TIMER_FLG_CHANGE
	.comm	_SNDRV_TIMER_IFLG_START,4,2     ## @SNDRV_TIMER_IFLG_START
	.comm	_SNDRV_TIMER_EVENT_RESOLUTION,4,2 ## @SNDRV_TIMER_EVENT_RESOLUTION
	.no_dead_strip	__snd_timer_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _snd_timer_stop
__snd_timer_stop:                       ; @_snd_timer_stop
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_3:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _SNDRV_TIMER_IFLG_SLAVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SNDRV_TIMER_IFLG_SLAVE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	cbnz	w22, LBB0_16
; %bb.5:
Lloh5:
	adrp	x21, _slave_active_lock@GOTPAGE
Lloh6:
	ldr	x21, [x21, _slave_active_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh7:
	adrp	x8, _SNDRV_TIMER_IFLG_RUNNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SNDRV_TIMER_IFLG_RUNNING@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	b	LBB0_14
LBB0_6:
	ldr	x23, [x20, #16]
	cbz	x23, LBB0_20
; %bb.7:
	add	x21, x23, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	add	x0, x20, #8
	bl	_list_del_init
	add	x0, x20, #4
	bl	_list_del_init
	ldr	w8, [x20]
Lloh10:
	adrp	x24, _SNDRV_TIMER_IFLG_RUNNING@GOTPAGE
Lloh11:
	ldr	x24, [x24, _SNDRV_TIMER_IFLG_RUNNING@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.8:
	ldr	w8, [x23, #24]
	subs	w8, w8, #1
	str	w8, [x23, #24]
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x23, #16]
	mov	x0, x23
	blr	x8
	ldr	w8, [x23]
Lloh12:
	adrp	x9, _SNDRV_TIMER_FLG_RESCHED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SNDRV_TIMER_FLG_RESCHED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
	bic	w8, w8, w9
	str	w8, [x23]
	mov	x0, x23
	mov	w1, #0
	bl	_snd_timer_reschedule
	ldr	w8, [x23]
Lloh15:
	adrp	x9, _SNDRV_TIMER_FLG_CHANGE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SNDRV_TIMER_FLG_CHANGE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	bic	w8, w8, w9
	str	w8, [x23]
	ldr	x8, [x23, #8]
	mov	x0, x23
	blr	x8
LBB0_12:
	cbnz	w22, LBB0_15
; %bb.13:
	ldr	w8, [x24]
Lloh18:
	adrp	x9, _SNDRV_TIMER_IFLG_START@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SNDRV_TIMER_IFLG_START@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_14:
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
LBB0_15:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_16:
Lloh21:
	adrp	x8, _SNDRV_TIMER_EVENT_RESOLUTION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SNDRV_TIMER_EVENT_RESOLUTION@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x20
	mov	x1, x19
	bl	_snd_timer_notify1
LBB0_18:
	mov	w0, #0
LBB0_19:
	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
	ret
LBB0_20:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_SNDRV_TIMER_IFLG_SLAVE,4,2     ; @SNDRV_TIMER_IFLG_SLAVE
	.comm	_slave_active_lock,4,2          ; @slave_active_lock
	.comm	_SNDRV_TIMER_IFLG_RUNNING,4,2   ; @SNDRV_TIMER_IFLG_RUNNING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_TIMER_FLG_RESCHED,4,2    ; @SNDRV_TIMER_FLG_RESCHED
	.comm	_SNDRV_TIMER_FLG_CHANGE,4,2     ; @SNDRV_TIMER_FLG_CHANGE
	.comm	_SNDRV_TIMER_IFLG_START,4,2     ; @SNDRV_TIMER_IFLG_START
	.comm	_SNDRV_TIMER_EVENT_RESOLUTION,4,2 ; @SNDRV_TIMER_EVENT_RESOLUTION
	.no_dead_strip	__snd_timer_stop
.subsections_via_symbols
