	.file	"extr_bebob_proc.c_proc_read_clock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Sampling rate: %d\n"
.LC1:
	.string	"Clock Source: %s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Clock Source: %s (MSU-dest: %d)\n"
	.text
	.p2align 4
	.type	proc_read_clock, @function
proc_read_clock:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rsi, 4[rsp]
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, rbx
	mov	r12, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	call	[QWORD PTR [rax]]
	test	rax, rax
	js	.L2
	mov	edx, DWORD PTR 4[rsp]
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	snd_iprintf@PLT
.L2:
	mov	rsi, rsp
	mov	rdi, rbx
	call	snd_bebob_stream_get_clock_src@PLT
	test	rax, rax
	js	.L1
	mov	edx, DWORD PTR [rsp]
	lea	rax, clk_labels.1948[rip]
	mov	rdx, QWORD PTR [rax+rdx*8]
	test	r12, r12
	je	.L4
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	snd_iprintf@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	ecx, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	snd_iprintf@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	proc_read_clock, .-proc_read_clock
	.section	.rodata.str1.1
.LC3:
	.string	"Internal"
.LC4:
	.string	"External"
.LC5:
	.string	"SYT-Match"
	.section	.data.rel.ro.local,"aw"
	.align 16
	.type	clk_labels.1948, @object
	.size	clk_labels.1948, 24
clk_labels.1948:
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bebob_proc.c_proc_read_clock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sampling rate: %d\012\000"
	.align	2
.LC1:
	.ascii	"Clock Source: %s\012\000"
	.align	2
.LC2:
	.ascii	"Clock Source: %s (MSU-dest: %d)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	proc_read_clock, %function
proc_read_clock:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	sub	sp, sp, #16
	ldr	r3, [r4, #4]
	ldr	ip, .L9
	ldr	r2, [r3, #4]
	mov	r5, r1
	mov	r0, r4
	ldr	r2, [r2]
	add	r1, sp, #8
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	ldr	r6, [r3]
	blx	r2
	cmp	r0, #0
	blt	.L2
	mov	r0, r5
	ldr	r2, [sp, #8]
	ldr	r1, .L9+4
	bl	snd_iprintf
.L2:
	mov	r0, r4
	add	r1, sp, #4
	bl	snd_bebob_stream_get_clock_src
	cmp	r0, #0
	blt	.L1
	ldr	r3, .L9+8
	ldr	r2, [sp, #4]
	cmp	r6, #0
	ldr	r2, [r3, r2, lsl #2]
	beq	.L4
	mov	r0, r5
	ldr	r1, .L9+12
	bl	snd_iprintf
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, r5
	ldr	r3, [r4]
	ldr	r1, .L9+16
	bl	snd_iprintf
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	.LC0
	.word	.LANCHOR0
	.word	.LC1
	.word	.LC2
	.size	proc_read_clock, .-proc_read_clock
	.section	.rodata.str1.4
	.align	2
.LC4:
	.ascii	"Internal\000"
	.align	2
.LC5:
	.ascii	"External\000"
	.align	2
.LC6:
	.ascii	"SYT-Match\000"
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	clk_labels.4232, %object
	.size	clk_labels.4232, 12
clk_labels.4232:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
