	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function detect_input_clocks
_detect_input_clocks:                   ## @detect_input_clocks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, %ecx
	movq	_GML_CLOCK_DETECT_BIT_SPDIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	je	LBB0_2
## %bb.1:
	movq	_ECHO_CLOCK_BIT_SPDIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	_ECHO_CLOCK_BIT_INTERNAL@GOTPCREL(%rip), %rsi
	movq	_GML_CLOCK_DETECT_BIT_ADAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	je	LBB0_4
## %bb.3:
	movq	_ECHO_CLOCK_BIT_ADAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_4:
	orl	(%rsi), %eax
	movq	_GML_CLOCK_DETECT_BIT_WORD@GOTPCREL(%rip), %rsi
	andl	(%rsi), %ecx
	je	LBB0_6
## %bb.5:
	movq	_ECHO_CLOCK_BIT_WORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%ecx, %edx
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECHO_CLOCK_BIT_INTERNAL,4,2    ## @ECHO_CLOCK_BIT_INTERNAL
	.comm	_GML_CLOCK_DETECT_BIT_SPDIF,4,2 ## @GML_CLOCK_DETECT_BIT_SPDIF
	.comm	_ECHO_CLOCK_BIT_SPDIF,4,2       ## @ECHO_CLOCK_BIT_SPDIF
	.comm	_GML_CLOCK_DETECT_BIT_ADAT,4,2  ## @GML_CLOCK_DETECT_BIT_ADAT
	.comm	_ECHO_CLOCK_BIT_ADAT,4,2        ## @ECHO_CLOCK_BIT_ADAT
	.comm	_GML_CLOCK_DETECT_BIT_WORD,4,2  ## @GML_CLOCK_DETECT_BIT_WORD
	.comm	_ECHO_CLOCK_BIT_WORD,4,2        ## @ECHO_CLOCK_BIT_WORD
	.no_dead_strip	_detect_input_clocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function detect_input_clocks
_detect_input_clocks:                   ; @detect_input_clocks
	.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
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _ECHO_CLOCK_BIT_INTERNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECHO_CLOCK_BIT_INTERNAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GML_CLOCK_DETECT_BIT_SPDIF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GML_CLOCK_DETECT_BIT_SPDIF@GOTPAGEOFF]
Lloh5:
	adrp	x10, _ECHO_CLOCK_BIT_SPDIF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ECHO_CLOCK_BIT_SPDIF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh9:
	adrp	x10, _GML_CLOCK_DETECT_BIT_ADAT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GML_CLOCK_DETECT_BIT_ADAT@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh11:
	ldr	w9, [x10]
Lloh12:
	adrp	x10, _ECHO_CLOCK_BIT_ADAT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ECHO_CLOCK_BIT_ADAT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _GML_CLOCK_DETECT_BIT_WORD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GML_CLOCK_DETECT_BIT_WORD@GOTPAGEOFF]
Lloh17:
	adrp	x10, _ECHO_CLOCK_BIT_WORD@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ECHO_CLOCK_BIT_WORD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ECHO_CLOCK_BIT_INTERNAL,4,2    ; @ECHO_CLOCK_BIT_INTERNAL
	.comm	_GML_CLOCK_DETECT_BIT_SPDIF,4,2 ; @GML_CLOCK_DETECT_BIT_SPDIF
	.comm	_ECHO_CLOCK_BIT_SPDIF,4,2       ; @ECHO_CLOCK_BIT_SPDIF
	.comm	_GML_CLOCK_DETECT_BIT_ADAT,4,2  ; @GML_CLOCK_DETECT_BIT_ADAT
	.comm	_ECHO_CLOCK_BIT_ADAT,4,2        ; @ECHO_CLOCK_BIT_ADAT
	.comm	_GML_CLOCK_DETECT_BIT_WORD,4,2  ; @GML_CLOCK_DETECT_BIT_WORD
	.comm	_ECHO_CLOCK_BIT_WORD,4,2        ; @ECHO_CLOCK_BIT_WORD
	.no_dead_strip	_detect_input_clocks
.subsections_via_symbols
