	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es1968_bob_start
_snd_es1968_bob_start:                  ## @snd_es1968_bob_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_ESS_SYSCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	sarl	$14, %eax
	cmpl	%eax, %edi
	jle	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	movl	$5, %r8d
	xorl	%r9d, %r9d
	jmp	LBB0_16
LBB0_2:
	movl	%esi, %ecx
	sarl	$15, %ecx
	movl	$6, %eax
	cmpl	%ecx, %edi
	jg	LBB0_8
## %bb.3:
	movl	%esi, %ecx
	sarl	$16, %ecx
	movl	$7, %eax
	cmpl	%ecx, %edi
	jg	LBB0_8
## %bb.4:
	movl	%esi, %ecx
	sarl	$17, %ecx
	movl	$8, %eax
	cmpl	%ecx, %edi
	jg	LBB0_8
## %bb.5:
	movl	%esi, %ecx
	sarl	$18, %ecx
	movl	$9, %eax
	cmpl	%ecx, %edi
	jg	LBB0_8
## %bb.6:
	movl	%esi, %ecx
	sarl	$19, %ecx
	movl	$10, %eax
	cmpl	%ecx, %edi
	jg	LBB0_8
## %bb.7:
	movl	%esi, %eax
	sarl	$20, %eax
	xorl	%ecx, %ecx
	cmpl	%eax, %edi
	setg	%cl
	movl	$12, %eax
	subl	%ecx, %eax
LBB0_8:
	leal	-1(%rax), %r8d
	movl	$1, %ebx
	cmpl	$7, %eax
	setae	%cl
	jb	LBB0_15
## %bb.9:
	leal	-2(%rax), %edx
	movl	$2, %ebx
	cmpl	$7, %r8d
	setae	%cl
	jb	LBB0_14
## %bb.10:
	leal	-3(%rax), %r8d
	movl	$4, %ebx
	cmpl	$7, %edx
	setae	%cl
	jb	LBB0_15
## %bb.11:
	leal	-4(%rax), %edx
	movl	$8, %ebx
	cmpl	$7, %r8d
	setae	%cl
	jb	LBB0_14
## %bb.12:
	addl	$-5, %eax
	cmpl	$7, %edx
	setae	%cl
	movl	$16, %ebx
	movl	%eax, %r8d
	jmp	LBB0_15
LBB0_14:
	movl	%edx, %r8d
LBB0_15:
	movzbl	%cl, %r9d
	negl	%r9d
LBB0_16:
	leal	9(%r8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	decl	%ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$30, %ebx
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	leal	2(%rbx), %ecx
	movl	%esi, %eax
	cltd
	idivl	%ecx
	incl	%ebx
	cmpl	%eax, %edi
	jle	LBB0_17
## %bb.19:
	testl	%ebx, %ebx
	jne	LBB0_22
## %bb.20:
	addl	%r9d, %r8d
	movl	$36865, %ebx                    ## imm = 0x9001
	jmp	LBB0_23
LBB0_21:
	movl	$31, %ebx
LBB0_22:
	xorl	%eax, %eax
	cmpl	$2, %ebx
	setge	%al
	subl	%eax, %ebx
	orl	$36864, %ebx                    ## imm = 0x9000
LBB0_23:
	shll	$5, %r8d
	orl	%ebx, %r8d
	movq	%r14, %rdi
	movl	$6, %esi
	movl	%r8d, %edx
	callq	___maestro_write
	movq	%r14, %rdi
	movl	$17, %esi
	callq	___maestro_read
	orl	$1, %eax
	movq	%r14, %rdi
	movl	$17, %esi
	movl	%eax, %edx
	callq	___maestro_write
	movq	%r14, %rdi
	movl	$23, %esi
	callq	___maestro_read
	orl	$1, %eax
	movq	%r14, %rdi
	movl	$23, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___maestro_write                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ESS_SYSCLK,4,2                 ## @ESS_SYSCLK
	.no_dead_strip	_snd_es1968_bob_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_es1968_bob_start
_snd_es1968_bob_start:                  ; @snd_es1968_bob_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ESS_SYSCLK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ESS_SYSCLK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9, asr #14
	b.le	LBB0_2
; %bb.1:
	mov	w12, #0
	mov	w11, #0
	mov	w10, #5
	b	LBB0_17
LBB0_2:
	cmp	w8, w9, asr #15
	b.le	LBB0_4
; %bb.3:
	mov	w11, #6
	b	LBB0_13
LBB0_4:
	cmp	w8, w9, asr #16
	b.le	LBB0_6
; %bb.5:
	mov	w11, #7
	b	LBB0_13
LBB0_6:
	cmp	w8, w9, asr #17
	b.le	LBB0_8
; %bb.7:
	mov	w11, #8
	b	LBB0_13
LBB0_8:
	cmp	w8, w9, asr #18
	b.le	LBB0_10
; %bb.9:
	mov	w11, #9
	b	LBB0_13
LBB0_10:
	cmp	w8, w9, asr #19
	b.le	LBB0_12
; %bb.11:
	mov	w11, #10
	b	LBB0_13
LBB0_12:
	cmp	w8, w9, asr #20
	mov	w10, #11
	cinc	w11, w10, le
LBB0_13:
	sub	w10, w11, #1
	cmp	w11, #6
	cset	w13, hi
	cmp	w11, #7
	b.lo	LBB0_15
; %bb.14:
	sub	w12, w11, #2
	cmp	w10, #6
	cset	w13, hi
	mov	w14, #2
	sub	w15, w11, #3
	cmp	w12, #6
	cset	w16, hi
	mov	w17, #4
	sub	w0, w11, #4
	cmp	w15, #6
	cset	w1, hi
	mov	w2, #8
	sub	w11, w11, #5
	cmp	w0, #6
	cset	w3, hi
	mov	w4, #16
	cmp	w15, #7
	csel	w11, w0, w11, lo
	csel	w0, w2, w4, lo
	csel	w1, w1, w3, lo
	cmp	w12, #7
	csel	w11, w15, w11, lo
	csel	w15, w17, w0, lo
	csel	w16, w16, w1, lo
	cmp	w10, #7
	csel	w10, w12, w11, lo
	csel	w12, w14, w15, lo
	csel	w13, w13, w16, lo
	b	LBB0_16
LBB0_15:
	mov	w12, #1
LBB0_16:
	sbfx	w11, w13, #0, #1
LBB0_17:
	add	w13, w10, #9
	asr	w13, w9, w13
	sub	w9, w12, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, #30
	b.eq	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	w12, w9, #2
	sdiv	w12, w13, w12
	add	w9, w9, #1
	cmp	w8, w12
	b.le	LBB0_18
; %bb.20:
	cbnz	w9, LBB0_23
; %bb.21:
	add	w10, w10, w11
	mov	w8, #36865
	b	LBB0_24
LBB0_22:
	mov	w9, #31
LBB0_23:
	cmp	w9, #1
	cset	w8, gt
	mov	w11, #36864
	sub	w8, w9, w8
	orr	w8, w8, w11
LBB0_24:
	orr	w2, w8, w10, lsl #5
	mov	x0, x19
	mov	w1, #6
	bl	___maestro_write
	mov	x0, x19
	mov	w1, #17
	bl	___maestro_read
	orr	w2, w0, #0x1
	mov	x0, x19
	mov	w1, #17
	bl	___maestro_write
	mov	x0, x19
	mov	w1, #23
	bl	___maestro_read
	orr	w2, w0, #0x1
	mov	x0, x19
	mov	w1, #23
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___maestro_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ESS_SYSCLK,4,2                 ; @ESS_SYSCLK
	.no_dead_strip	_snd_es1968_bob_start
.subsections_via_symbols
