	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loopback_trigger
_loopback_trigger:                      ## @loopback_trigger
	.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	(%rdi), %ecx
	movl	$1, %ebx
	shll	%cl, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	16(%r14), %r12
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_7:
	leaq	8(%r12), %r13
	movq	%r13, %rdi
	callq	_spin_lock
	notl	%ebx
	andl	%ebx, (%r12)
	andl	%ebx, 4(%r12)
	movq	%r13, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	callq	_loopback_timer_stop
	jmp	LBB0_5
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_11
LBB0_2:
	movq	%r12, %rdi
	movl	%ecx, %esi
	callq	_loopback_check_format
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	$0, 8(%r14)
	leaq	8(%r12), %r13
	movq	%r13, %rdi
	callq	_spin_lock
	orl	%ebx, (%r12)
	notl	%ebx
	andl	%ebx, 4(%r12)
	movq	%r13, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	callq	_loopback_timer_start
LBB0_5:
	movl	(%r15), %eax
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.6:
	movq	%r14, %rdi
	callq	_loopback_active_notify
	jmp	LBB0_11
LBB0_9:
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	notl	%ebx
	andl	%ebx, 4(%r12)
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	callq	_loopback_timer_start
	xorl	%r13d, %r13d
	jmp	LBB0_11
LBB0_8:
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	orl	%ebx, 4(%r12)
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	callq	_loopback_timer_stop
	xorl	%r13d, %r13d
	jmp	LBB0_11
LBB0_3:
	movl	%eax, %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_loopback_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loopback_trigger
_loopback_trigger:                      ; @loopback_trigger
	.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
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x9, [x0, #8]
	ldr	x19, [x9]
	ldr	x21, [x19, #16]
	ldr	w1, [x0]
	mov	w9, #1
	lsl	w23, w9, w1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x22, x21, #8
	mov	x0, x22
	bl	_spin_lock
	mvn	w8, w23
	ldr	d0, [x21]
	dup.2s	v1, w8
	and.8b	v0, v0, v1
	str	d0, [x21]
	mov	x0, x22
	bl	_spin_unlock
	mov	x0, x19
	bl	_loopback_timer_stop
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
	b	LBB0_9
LBB0_3:
	add	x20, x21, #8
	mov	x0, x20
	bl	_spin_lock
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w8, [x21, #4]
	bic	w8, w8, w23
	str	w8, [x21, #4]
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x19
	bl	_loopback_timer_start
	b	LBB0_9
LBB0_4:
	add	x20, x21, #8
	mov	x0, x20
	bl	_spin_lock
	ldr	w8, [x21, #4]
	orr	w8, w8, w23
	str	w8, [x21, #4]
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x19
	bl	_loopback_timer_stop
	b	LBB0_9
LBB0_5:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_6:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_loopback_check_format
	tbnz	w0, #31, LBB0_10
; %bb.7:
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	stp	x8, xzr, [x19]
	add	x22, x21, #8
	mov	x0, x22
	bl	_spin_lock
	ldp	w8, w9, [x21]
	orr	w8, w8, w23
	bic	w9, w9, w23
	stp	w8, w9, [x21]
	mov	x0, x22
	bl	_spin_unlock
	mov	x0, x19
	bl	_loopback_timer_start
	mov	w0, #0
	ldr	w8, [x20]
Lloh14:
	adrp	x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_loopback_active_notify
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_loopback_trigger
.subsections_via_symbols
