	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdsp_pref_sync_ref
_hdsp_pref_sync_ref:                    ## @hdsp_pref_sync_ref
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HDSP_SyncRefMask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.hdsp_pref_sync_ref(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HDSP_SYNC_FROM_WORD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDSP_SyncRefMask,4,2           ## @HDSP_SyncRefMask
	.comm	_HDSP_SYNC_FROM_ADAT1,4,2       ## @HDSP_SYNC_FROM_ADAT1
	.comm	_HDSP_SYNC_FROM_ADAT2,4,2       ## @HDSP_SYNC_FROM_ADAT2
	.comm	_HDSP_SYNC_FROM_ADAT3,4,2       ## @HDSP_SYNC_FROM_ADAT3
	.comm	_HDSP_SYNC_FROM_SPDIF,4,2       ## @HDSP_SYNC_FROM_SPDIF
	.comm	_HDSP_SYNC_FROM_WORD,4,2        ## @HDSP_SYNC_FROM_WORD
	.comm	_HDSP_SYNC_FROM_ADAT_SYNC,4,2   ## @HDSP_SYNC_FROM_ADAT_SYNC
	.no_dead_strip	_hdsp_pref_sync_ref
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.hdsp_pref_sync_ref
l_switch.table.hdsp_pref_sync_ref:
	.quad	_HDSP_SYNC_FROM_WORD
	.quad	_HDSP_SYNC_FROM_SPDIF
	.quad	_HDSP_SYNC_FROM_ADAT_SYNC
	.quad	_HDSP_SYNC_FROM_ADAT3
	.quad	_HDSP_SYNC_FROM_ADAT2
	.quad	_HDSP_SYNC_FROM_ADAT1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdsp_pref_sync_ref
_hdsp_pref_sync_ref:                    ; @hdsp_pref_sync_ref
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HDSP_SyncRefMask@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDSP_SyncRefMask@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, l_switch.table.hdsp_pref_sync_ref@PAGE
Lloh4:
	add	x9, x9, l_switch.table.hdsp_pref_sync_ref@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh5:
	adrp	x8, _HDSP_SYNC_FROM_WORD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HDSP_SYNC_FROM_WORD@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HDSP_SyncRefMask,4,2           ; @HDSP_SyncRefMask
	.comm	_HDSP_SYNC_FROM_ADAT1,4,2       ; @HDSP_SYNC_FROM_ADAT1
	.comm	_HDSP_SYNC_FROM_ADAT2,4,2       ; @HDSP_SYNC_FROM_ADAT2
	.comm	_HDSP_SYNC_FROM_ADAT3,4,2       ; @HDSP_SYNC_FROM_ADAT3
	.comm	_HDSP_SYNC_FROM_SPDIF,4,2       ; @HDSP_SYNC_FROM_SPDIF
	.comm	_HDSP_SYNC_FROM_WORD,4,2        ; @HDSP_SYNC_FROM_WORD
	.comm	_HDSP_SYNC_FROM_ADAT_SYNC,4,2   ; @HDSP_SYNC_FROM_ADAT_SYNC
	.no_dead_strip	_hdsp_pref_sync_ref
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.hdsp_pref_sync_ref
l_switch.table.hdsp_pref_sync_ref:
	.quad	_HDSP_SYNC_FROM_WORD
	.quad	_HDSP_SYNC_FROM_SPDIF
	.quad	_HDSP_SYNC_FROM_ADAT_SYNC
	.quad	_HDSP_SYNC_FROM_ADAT3
	.quad	_HDSP_SYNC_FROM_ADAT2
	.quad	_HDSP_SYNC_FROM_ADAT1

.subsections_via_symbols
