	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_vt1724_pro_internal_clock_put
_snd_vt1724_pro_internal_clock_put:     ## @snd_vt1724_pro_internal_clock_put
	.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	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r13
	movq	(%r14), %rax
	movl	(%rax), %r12d
	movq	40(%r13), %rax
	movl	(%rax), %ebx
	cmpl	%ebx, %r12d
	jbe	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_2:
	movq	%r13, %r15
	addq	$32, %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	%r13, %rdi
	callq	*56(%r13)
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	cmpl	%ebx, %r12d
	jne	LBB0_6
LBB0_5:
	movq	%r13, %rdi
	callq	*48(%r13)
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_3:
	movq	%r13, %rdi
	callq	*(%r13)
	movl	%eax, %r14d
	cmpl	%ebx, %r12d
	je	LBB0_5
LBB0_6:
	movq	40(%r13), %rax
	movq	8(%rax), %rax
	movl	(%rax,%r12,4), %r12d
	movl	%r12d, 8(%r13)
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movl	8(%r13), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_snd_vt1724_set_pro_rate
	movq	%r15, %rdi
	callq	_spin_lock_irq
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.8:
	testl	%r12d, %r12d
	jne	LBB0_16
## %bb.9:
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_11:
	movl	12(%r13), %eax
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r15
	movl	%eax, %ecx
	addq	$8, %rbx
	cmpq	%rcx, %r15
	jae	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdi
	movq	(%rdi,%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	addq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*%rcx
	movl	12(%r13), %eax
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	cmpl	%r12d, %r14d
	setne	%al
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_vt1724_pro_internal_clock_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_vt1724_pro_internal_clock_put
_snd_vt1724_pro_internal_clock_put:     ; @snd_vt1724_pro_internal_clock_put
	.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, x1
	bl	_snd_kcontrol_chip
	ldr	x8, [x20]
	ldr	w22, [x8]
	ldr	x8, [x0, #40]
	ldr	w23, [x8]
	cmp	w22, w23
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_2:
	mov	x19, x0
	add	x21, x0, #32
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	x8, [x19, #56]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_5
; %bb.3:
	mov	w20, #0
	cmp	w22, w23
	b.ne	LBB0_6
LBB0_4:
	ldr	x8, [x19, #48]
	mov	x0, x19
	blr	x8
	mov	w22, #0
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cmp	w22, w23
	b.eq	LBB0_4
LBB0_6:
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #8]
	ldr	w22, [x8, x22, lsl #2]
	str	w22, [x19, #8]
	mov	x0, x21
	bl	_spin_unlock_irq
	ldr	w1, [x19, #8]
	mov	x0, x19
	mov	w2, #1
	bl	_snd_vt1724_set_pro_rate
	mov	x0, x21
	bl	_spin_lock_irq
LBB0_7:
	mov	x0, x21
	bl	_spin_unlock_irq
	cbz	w20, LBB0_16
; %bb.8:
	cbnz	w22, LBB0_16
; %bb.9:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_11:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_16
; %bb.12:
	mov	x21, #0
	mov	x23, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x23, x23, #1
	add	x21, x21, #8
	cmp	x23, w8, uxtw
	b.hs	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	add	x0, x9, x21
	ldr	x9, [x0]
	cbz	x9, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w1, #0
	blr	x9
	ldr	w8, [x19, #12]
	b	LBB0_13
LBB0_16:
	cmp	w20, w22
	cset	w0, ne
LBB0_17:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_vt1724_pro_internal_clock_put
.subsections_via_symbols
