	.file	"extr_obs-output.c_default_encoded_callback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	default_encoded_callback, @function
default_encoded_callback:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	data_active@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR OBS_ENCODER_AUDIO[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L9
.L4:
	mov	edi, DWORD PTR 12[rbx]
	mov	rsi, rbp
	call	[QWORD PTR 16[rbx]]
	mov	rax, QWORD PTR OBS_ENCODER_VIDEO[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L10
.L3:
	cmp	QWORD PTR [rbx], 0
	jne	.L11
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	obs_encoder_packet_release@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	add	DWORD PTR 8[rbx], 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, rbp
	mov	rdi, rbx
	call	get_track_index@PLT
	mov	DWORD PTR 8[rbp], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	default_encoded_callback, .-default_encoded_callback
	.comm	OBS_ENCODER_VIDEO,8,8
	.comm	OBS_ENCODER_AUDIO,8,8
	.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_obs-output.c_default_encoded_callback.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	default_encoded_callback, %function
default_encoded_callback:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	bl	data_active
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L10
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
.L4:
	ldr	r3, [r4, #12]
	mov	r1, r5
	ldr	r0, [r4, #8]
	blx	r3
	ldr	r3, .L10+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, [r4, #4]
	addeq	r3, r3, #1
	streq	r3, [r4, #4]
.L3:
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	obs_encoder_packet_release
.L9:
	mov	r1, r5
	mov	r0, r4
	bl	get_track_index
	str	r0, [r5, #4]
	b	.L4
.L11:
	.align	2
.L10:
	.word	OBS_ENCODER_AUDIO
	.word	OBS_ENCODER_VIDEO
	.size	default_encoded_callback, .-default_encoded_callback
	.comm	OBS_ENCODER_VIDEO,4,4
	.comm	OBS_ENCODER_AUDIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
