	.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	_ECHO_CLOCK_BIT_INTERNAL@GOTPCREL(%rip), %rdx
	movq	_GLDM_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:
	orl	(%rdx), %eax
	movq	_GLDM_CLOCK_DETECT_BIT_WORD@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.3:
	movq	_GLDM_CLOCK_DETECT_BIT_SUPER@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.4:
	movq	_ECHO_CLOCK_BIT_SUPER@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_ECHO_CLOCK_BIT_WORD@GOTPCREL(%rip), %rcx
LBB0_6:
	orl	(%rcx), %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECHO_CLOCK_BIT_INTERNAL,4,2    ## @ECHO_CLOCK_BIT_INTERNAL
	.comm	_GLDM_CLOCK_DETECT_BIT_SPDIF,4,2 ## @GLDM_CLOCK_DETECT_BIT_SPDIF
	.comm	_ECHO_CLOCK_BIT_SPDIF,4,2       ## @ECHO_CLOCK_BIT_SPDIF
	.comm	_GLDM_CLOCK_DETECT_BIT_WORD,4,2 ## @GLDM_CLOCK_DETECT_BIT_WORD
	.comm	_GLDM_CLOCK_DETECT_BIT_SUPER,4,2 ## @GLDM_CLOCK_DETECT_BIT_SUPER
	.comm	_ECHO_CLOCK_BIT_SUPER,4,2       ## @ECHO_CLOCK_BIT_SUPER
	.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
	mov	x8, x0
Lloh0:
	adrp	x9, _ECHO_CLOCK_BIT_INTERNAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ECHO_CLOCK_BIT_INTERNAL@GOTPAGEOFF]
Lloh2:
	adrp	x10, _GLDM_CLOCK_DETECT_BIT_SPDIF@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GLDM_CLOCK_DETECT_BIT_SPDIF@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _ECHO_CLOCK_BIT_SPDIF@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ECHO_CLOCK_BIT_SPDIF@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w10, w0
	csel	w10, wzr, w11, eq
	orr	w0, w10, w9
Lloh9:
	adrp	x9, _GLDM_CLOCK_DETECT_BIT_WORD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GLDM_CLOCK_DETECT_BIT_WORD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
Lloh12:
	adrp	x9, _GLDM_CLOCK_DETECT_BIT_SUPER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GLDM_CLOCK_DETECT_BIT_SUPER@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh15:
	adrp	x8, _ECHO_CLOCK_BIT_SUPER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ECHO_CLOCK_BIT_SUPER@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _ECHO_CLOCK_BIT_WORD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ECHO_CLOCK_BIT_WORD@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ECHO_CLOCK_BIT_INTERNAL,4,2    ; @ECHO_CLOCK_BIT_INTERNAL
	.comm	_GLDM_CLOCK_DETECT_BIT_SPDIF,4,2 ; @GLDM_CLOCK_DETECT_BIT_SPDIF
	.comm	_ECHO_CLOCK_BIT_SPDIF,4,2       ; @ECHO_CLOCK_BIT_SPDIF
	.comm	_GLDM_CLOCK_DETECT_BIT_WORD,4,2 ; @GLDM_CLOCK_DETECT_BIT_WORD
	.comm	_GLDM_CLOCK_DETECT_BIT_SUPER,4,2 ; @GLDM_CLOCK_DETECT_BIT_SUPER
	.comm	_ECHO_CLOCK_BIT_SUPER,4,2       ; @ECHO_CLOCK_BIT_SUPER
	.comm	_ECHO_CLOCK_BIT_WORD,4,2        ; @ECHO_CLOCK_BIT_WORD
	.no_dead_strip	_detect_input_clocks
.subsections_via_symbols
