	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crystal_digital_control
_crystal_digital_control:               ## @crystal_digital_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AUDIO_DIGITAL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	testl	%edx, %edx
	je	LBB0_7
## %bb.3:
	cmpl	$44100, %edx                    ## imm = 0xAC44
	je	LBB0_6
## %bb.4:
	cmpl	$48000, %edx                    ## imm = 0xBB80
	jne	LBB0_1
## %bb.5:
	movl	$32772, %edx                    ## imm = 0x8004
	jmp	LBB0_7
LBB0_6:
	movl	$33028, %edx                    ## imm = 0x8104
LBB0_7:
	movl	$104, %esi
	callq	*(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUDIO_DIGITAL,4,2              ## @AUDIO_DIGITAL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_crystal_digital_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crystal_digital_control
_crystal_digital_control:               ; @crystal_digital_control
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _AUDIO_DIGITAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUDIO_DIGITAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	cbz	w2, LBB0_7
; %bb.3:
	mov	w8, #44100
	cmp	w2, w8
	b.eq	LBB0_6
; %bb.4:
	mov	w8, #48000
	cmp	w2, w8
	b.ne	LBB0_1
; %bb.5:
	mov	w2, #32772
	b	LBB0_7
LBB0_6:
	mov	w2, #33028
LBB0_7:
	ldr	x8, [x0]
	mov	w1, #104
	blr	x8
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AUDIO_DIGITAL,4,2              ; @AUDIO_DIGITAL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_crystal_digital_control
.subsections_via_symbols
