	.file	"extr_sndaudiotrack.c_SNDAudioTrackInit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"android/media/AudioTrack"
.LC1:
	.string	"(IIIIII)V"
.LC2:
	.string	"<init>"
.LC3:
	.string	"([BII)I"
.LC4:
	.string	"write"
.LC5:
	.string	"()V"
.LC6:
	.string	"play"
.LC7:
	.string	"(III)I"
.LC8:
	.string	"getMinBufferSize"
	.text
	.p2align 4
	.type	SNDAudioTrackInit, @function
SNDAudioTrackInit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR yvm[rip]
	mov	edx, DWORD PTR JNI_VERSION_1_6[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR [rax]]
	cmp	rax, QWORD PTR JNI_OK[rip]
	jne	.L4
	mov	rdi, QWORD PTR [rsp]
	lea	rsi, .LC0[rip]
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 48[rax]]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, rax
	mov	QWORD PTR cAudioTrack[rip], rax
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 16[rax]]
	mov	rdi, QWORD PTR [rsp]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	mov	rsi, rax
	mov	QWORD PTR cAudioTrack[rip], rax
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 40[rax]]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, QWORD PTR cAudioTrack[rip]
	lea	rcx, .LC3[rip]
	mov	r13, rax
	lea	rdx, .LC4[rip]
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 40[rax]]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, QWORD PTR cAudioTrack[rip]
	lea	rcx, .LC5[rip]
	mov	QWORD PTR mWrite[rip], rax
	lea	rdx, .LC6[rip]
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 40[rax]]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, QWORD PTR cAudioTrack[rip]
	lea	rcx, .LC7[rip]
	mov	r12, rax
	lea	rdx, .LC8[rip]
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 32[rax]]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, QWORD PTR cAudioTrack[rip]
	mov	r9d, 2
	mov	rdx, rax
	mov	r8d, 12
	mov	ecx, 44100
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR [rax]]
	mov	rdi, QWORD PTR [rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r9d, 12
	mov	r8d, 44100
	mov	ecx, 3
	mov	rdx, r13
	mov	rsi, QWORD PTR cAudioTrack[rip]
	mov	r10, QWORD PTR [rdi]
	mov	DWORD PTR mbufferSizeInBytes[rip], eax
	push	1
	.cfi_def_cfa_offset 64
	push	rax
	.cfi_def_cfa_offset 72
	push	2
	.cfi_def_cfa_offset 80
	call	[QWORD PTR 24[r10]]
	mov	rdi, QWORD PTR 32[rsp]
	mov	rsi, rax
	mov	rax, QWORD PTR [rdi]
	add	rsp, 32
	.cfi_def_cfa_offset 48
	call	[QWORD PTR 16[rax]]
	mov	rdi, QWORD PTR [rsp]
	mov	rdx, QWORD PTR cAudioTrack[rip]
	mov	rcx, r12
	mov	rsi, rax
	mov	QWORD PTR gtrack[rip], rax
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 8[rax]]
	mov	eax, DWORD PTR mbufferSizeInBytes[rip]
	lea	edi, [rax+rax]
	call	malloc@PLT
	mov	QWORD PTR stereodata16[rip], rax
	mov	rdi, rax
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR soundbufsize[rip]
	xor	esi, esi
	call	memset@PLT
	xor	eax, eax
	mov	DWORD PTR soundvolume[rip], 100
	mov	DWORD PTR soundmaxvolume[rip], 100
	mov	DWORD PTR soundbufsize[rip], 85
	mov	QWORD PTR soundoffset[rip], 0
	mov	QWORD PTR muted[rip], 0
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	SNDAudioTrackInit, .-SNDAudioTrackInit
	.comm	yvm,8,8
	.comm	stereodata16,8,8
	.comm	soundvolume,4,4
	.comm	soundoffset,8,8
	.comm	soundmaxvolume,4,4
	.comm	soundbufsize,4,4
	.comm	muted,8,8
	.comm	mbufferSizeInBytes,4,4
	.comm	mWrite,8,8
	.comm	gtrack,8,8
	.comm	cAudioTrack,8,8
	.comm	JNI_VERSION_1_6,4,4
	.comm	JNI_OK,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_sndaudiotrack.c_SNDAudioTrackInit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"android/media/AudioTrack\000"
	.align	2
.LC1:
	.ascii	"(IIIIII)V\000"
	.align	2
.LC2:
	.ascii	"<init>\000"
	.align	2
.LC3:
	.ascii	"([BII)I\000"
	.align	2
.LC4:
	.ascii	"write\000"
	.align	2
.LC5:
	.ascii	"()V\000"
	.align	2
.LC6:
	.ascii	"play\000"
	.align	2
.LC7:
	.ascii	"(III)I\000"
	.align	2
.LC8:
	.ascii	"getMinBufferSize\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SNDAudioTrackInit, %function
SNDAudioTrackInit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	r0, [r2]
	ldr	r2, [r3]
	ldr	r3, [r0]
	sub	sp, sp, #32
	ldr	ip, .L12+8
	ldr	r3, [r3]
	add	r1, sp, #24
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	blx	r3
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L4
	ldr	r0, [sp, #24]
	ldr	r1, .L12+16
	ldr	r3, [r0]
	ldr	r4, .L12+20
	ldr	r3, [r3, #24]
	blx	r3
	mov	r1, r0
	ldr	r0, [sp, #24]
	mov	r9, #2
	ldr	r3, [r0]
	str	r1, [r4]
	ldr	r3, [r3, #8]
	blx	r3
	mov	r1, r0
	ldr	r0, [sp, #24]
	str	r1, [r4]
	ldr	r3, [r0]
	ldr	r2, .L12+24
	ldr	r5, [r3, #20]
	ldr	r3, .L12+28
	blx	r5
	mov	r6, r0
	ldr	r0, [sp, #24]
	ldr	r1, [r4]
	ldr	r3, [r0]
	ldr	r2, .L12+32
	ldr	r5, [r3, #20]
	ldr	r3, .L12+36
	blx	r5
	ldr	r3, [sp, #24]
	ldr	r1, .L12+40
	ldr	r2, [r3]
	str	r0, [r1]
	ldr	r5, [r2, #20]
	ldr	r1, [r4]
	mov	r0, r3
	ldr	r2, .L12+44
	ldr	r3, .L12+48
	blx	r5
	mov	r5, r0
	ldr	r0, [sp, #24]
	ldr	r1, [r4]
	ldr	r3, [r0]
	ldr	r2, .L12+52
	ldr	r7, [r3, #16]
	ldr	r3, .L12+56
	blx	r7
	mov	r8, #12
	mov	r2, r0
	ldr	r0, [sp, #24]
	ldr	r10, .L12+60
	ldr	r1, [r0]
	stm	sp, {r8, r9}
	mov	r3, r10
	ldr	r7, [r1]
	ldr	r1, [r4]
	blx	r7
	mov	r2, #1
	mov	r1, r0
	ldr	r0, [sp, #24]
	ldr	r7, .L12+64
	ldr	r3, [r0]
	str	r2, [sp, #16]
	str	r9, [sp, #8]
	str	r1, [sp, #12]
	str	r8, [sp, #4]
	str	r10, [sp]
	mov	r2, r6
	str	r1, [r7]
	ldr	r6, [r3, #12]
	ldr	r1, [r4]
	mov	r3, #3
	blx	r6
	mov	r1, r0
	ldr	r0, [sp, #24]
	ldr	r2, [r0]
	ldr	r3, [r2, #8]
	blx	r3
	mov	r1, r0
	ldr	r0, [sp, #24]
	ldr	lr, .L12+68
	ldr	ip, [r0]
	ldr	r2, [r4]
	mov	r3, r5
	ldr	r4, [ip, #4]
	str	r1, [lr]
	blx	r4
	ldr	r0, [r7]
	lsl	r0, r0, #1
	bl	malloc
	ldr	r2, .L12+72
	cmp	r0, #0
	str	r0, [r2]
	beq	.L4
	ldr	r4, .L12+76
	mov	r1, #0
	ldr	r2, [r4]
	bl	memset
	mov	r3, #0
	mov	ip, #85
	mov	r2, #100
	mov	r0, r3
	ldr	r1, .L12+80
	ldr	lr, .L12+84
	str	r3, [r1]
	str	ip, [r4]
	ldr	r1, .L12+88
	ldr	ip, .L12+92
	str	r3, [lr]
	str	r2, [ip]
	str	r2, [r1]
.L1:
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mvn	r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	yvm
	.word	JNI_VERSION_1_6
	.word	.LC9
	.word	JNI_OK
	.word	.LC0
	.word	cAudioTrack
	.word	.LC2
	.word	.LC1
	.word	.LC4
	.word	.LC3
	.word	mWrite
	.word	.LC6
	.word	.LC5
	.word	.LC8
	.word	.LC7
	.word	44100
	.word	mbufferSizeInBytes
	.word	gtrack
	.word	stereodata16
	.word	soundbufsize
	.word	soundoffset
	.word	muted
	.word	soundmaxvolume
	.word	soundvolume
	.size	SNDAudioTrackInit, .-SNDAudioTrackInit
	.comm	yvm,4,4
	.comm	stereodata16,4,4
	.comm	soundvolume,4,4
	.comm	soundoffset,4,4
	.comm	soundmaxvolume,4,4
	.comm	soundbufsize,4,4
	.comm	muted,4,4
	.comm	mbufferSizeInBytes,4,4
	.comm	mWrite,4,4
	.comm	gtrack,4,4
	.comm	cAudioTrack,4,4
	.comm	JNI_VERSION_1_6,4,4
	.comm	JNI_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
