	.file	"extr_control.c_usb6fire_control_streaming_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	usb6fire_control_streaming_update, @function
usb6fire_control_streaming_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 16[rdi]
	mov	rbp, QWORD PTR [rax]
	test	rbp, rbp
	je	.L2
	mov	rax, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR [rdi]
	test	rax, rax
	je	.L11
.L3:
	xor	r8d, r8d
	test	rax, rax
	mov	r9, QWORD PTR 0[rbp]
	setne	r8b
	mov	eax, r8d
	or	eax, 8
	test	rdx, rdx
	cmovne	r8d, eax
.L5:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rdi, rbp
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, 2
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	r9
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	test	rdx, rdx
	jne	.L12
	mov	r9, QWORD PTR 0[rbp]
	xor	r8d, r8d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR DIGITAL_THRU_ONLY_SAMPLERATE[rip]
	mov	QWORD PTR 8[rsp], rdi
	call	usb6fire_control_set_rate@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR [rdi]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	usb6fire_control_streaming_update, .-usb6fire_control_streaming_update
	.comm	EINVAL,4,4
	.comm	DIGITAL_THRU_ONLY_SAMPLERATE,4,4
	.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_control.c_usb6fire_control_streaming_update.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usb6fire_control_streaming_update, %function
usb6fire_control_streaming_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #8]
	sub	sp, sp, #12
	ldr	r5, [r3]
	cmp	r5, #0
	beq	.L2
	ldm	r0, {r2, r3}
	cmp	r3, #0
	mov	r4, r0
	beq	.L10
.L3:
	subs	r3, r3, #0
	movne	r3, #1
	cmp	r2, #0
	moveq	r2, r3
	ldr	r4, [r5]
	orrne	r2, r3, #8
.L5:
	mov	r3, #0
	str	r2, [sp]
	mov	r0, r5
	mov	r2, r3
	mov	r1, #2
	blx	r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	cmp	r2, #0
	ldreq	r4, [r5]
	beq	.L5
	ldr	r3, .L11
	ldr	r1, [r3]
	bl	usb6fire_control_set_rate
	ldm	r4, {r2, r3}
	b	.L3
.L2:
	ldr	r3, .L11+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	.align	2
.L11:
	.word	DIGITAL_THRU_ONLY_SAMPLERATE
	.word	EINVAL
	.size	usb6fire_control_streaming_update, .-usb6fire_control_streaming_update
	.comm	EINVAL,4,4
	.comm	DIGITAL_THRU_ONLY_SAMPLERATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
