	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SNDAudioTrackInit
_SNDAudioTrackInit:                     ## @SNDAudioTrackInit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_yvm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	_JNI_VERSION_1_6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %rsi
	callq	*(%rax)
	movq	_JNI_OK@GOTPCREL(%rip), %rcx
	movl	$-1, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rax
	leaq	L_.str(%rip), %rsi
	callq	*48(%rax)
	movq	_cAudioTrack@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rcx
	movq	%rax, %rsi
	callq	*16(%rcx)
	movq	%rax, (%r14)
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rbx
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	movq	%rax, %rsi
	callq	*40(%rbx)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rax
	movq	(%r14), %rsi
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	callq	*40(%rax)
	movq	_mWrite@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rax
	movq	(%r14), %rsi
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	callq	*40(%rax)
	movq	%rax, %r15
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rax
	movq	(%r14), %rsi
	leaq	L_.str.7(%rip), %rdx
	leaq	L_.str.8(%rip), %rcx
	callq	*32(%rax)
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rbx
	movq	(%r14), %rsi
	movq	%rax, %rdx
	movl	$44100, %ecx                    ## imm = 0xAC44
	movl	$12, %r8d
	movl	$2, %r9d
	callq	*(%rbx)
                                        ## kill: def $eax killed $eax def $rax
	movq	_mbufferSizeInBytes@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rbx
	movq	(%r14), %rsi
	subq	$8, %rsp
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	$3, %ecx
	movl	$44100, %r8d                    ## imm = 0xAC44
	movl	$12, %r9d
	pushq	$1
	pushq	%rax
	pushq	$2
	callq	*24(%rbx)
	addq	$32, %rsp
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rcx
	movq	%rax, %rsi
	callq	*16(%rcx)
	movq	_gtrack@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rdi
	movq	(%rdi), %rbx
	movq	(%r14), %rdx
	movq	%rax, %rsi
	movq	%r15, %rcx
	callq	*8(%rbx)
	movl	(%r13), %edi
	addl	%edi, %edi
	callq	_malloc
	movq	_stereodata16@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_soundbufsize@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%r12d, %r12d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_soundvolume@GOTPCREL(%rip), %rax
	movl	$100, (%rax)
	movq	_soundmaxvolume@GOTPCREL(%rip), %rax
	movl	$100, (%rax)
	movl	$85, (%rbx)
	movq	_soundoffset@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_muted@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_3:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_yvm,8,3                        ## @yvm
	.comm	_JNI_VERSION_1_6,4,2            ## @JNI_VERSION_1_6
	.comm	_JNI_OK,8,3                     ## @JNI_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"android/media/AudioTrack"

	.comm	_cAudioTrack,8,3                ## @cAudioTrack
L_.str.1:                               ## @.str.1
	.asciz	"<init>"

L_.str.2:                               ## @.str.2
	.asciz	"(IIIIII)V"

L_.str.3:                               ## @.str.3
	.asciz	"write"

L_.str.4:                               ## @.str.4
	.asciz	"([BII)I"

	.comm	_mWrite,8,3                     ## @mWrite
L_.str.5:                               ## @.str.5
	.asciz	"play"

L_.str.6:                               ## @.str.6
	.asciz	"()V"

L_.str.7:                               ## @.str.7
	.asciz	"getMinBufferSize"

L_.str.8:                               ## @.str.8
	.asciz	"(III)I"

	.comm	_mbufferSizeInBytes,4,2         ## @mbufferSizeInBytes
	.comm	_gtrack,8,3                     ## @gtrack
	.comm	_stereodata16,8,3               ## @stereodata16
	.comm	_soundbufsize,4,2               ## @soundbufsize
	.comm	_soundvolume,4,2                ## @soundvolume
	.comm	_soundmaxvolume,4,2             ## @soundmaxvolume
	.comm	_soundoffset,8,3                ## @soundoffset
	.comm	_muted,8,3                      ## @muted
	.no_dead_strip	_SNDAudioTrackInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SNDAudioTrackInit
_SNDAudioTrackInit:                     ; @SNDAudioTrackInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _yvm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _yvm@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _JNI_VERSION_1_6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JNI_VERSION_1_6@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	add	x1, sp, #8
	blr	x8
Lloh6:
	adrp	x8, _JNI_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JNI_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #48]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	mov	x1, x0
Lloh11:
	adrp	x21, _cAudioTrack@GOTPAGE
Lloh12:
	ldr	x21, [x21, _cAudioTrack@GOTPAGEOFF]
	str	x0, [x21]
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #16]
	blr	x8
	mov	x1, x0
	str	x0, [x21]
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #40]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	blr	x8
	mov	x19, x0
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #40]
	ldr	x1, [x21]
Lloh17:
	adrp	x2, l_.str.3@PAGE
Lloh18:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh19:
	adrp	x3, l_.str.4@PAGE
Lloh20:
	add	x3, x3, l_.str.4@PAGEOFF
	blr	x8
Lloh21:
	adrp	x8, _mWrite@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mWrite@GOTPAGEOFF]
Lloh23:
	str	x0, [x8]
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #40]
	ldr	x1, [x21]
Lloh24:
	adrp	x2, l_.str.5@PAGE
Lloh25:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh26:
	adrp	x3, l_.str.6@PAGE
Lloh27:
	add	x3, x3, l_.str.6@PAGEOFF
	blr	x8
	mov	x20, x0
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #32]
	ldr	x1, [x21]
Lloh28:
	adrp	x2, l_.str.7@PAGE
Lloh29:
	add	x2, x2, l_.str.7@PAGEOFF
Lloh30:
	adrp	x3, l_.str.8@PAGE
Lloh31:
	add	x3, x3, l_.str.8@PAGEOFF
	blr	x8
	mov	x2, x0
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x1, [x21]
	mov	w3, #44100
	mov	w4, #12
	mov	w5, #2
	blr	x8
	mov	x7, x0
Lloh32:
	adrp	x22, _mbufferSizeInBytes@GOTPAGE
Lloh33:
	ldr	x22, [x22, _mbufferSizeInBytes@GOTPAGEOFF]
	str	w0, [x22]
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #24]
	ldr	x1, [x21]
	mov	w9, #1
	str	w9, [sp]
	mov	x2, x19
	mov	w3, #3
	mov	w4, #44100
	mov	w5, #12
	mov	w6, #2
	blr	x8
	mov	x1, x0
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #16]
	blr	x8
	mov	x1, x0
Lloh34:
	adrp	x8, _gtrack@GOTPAGE
Lloh35:
	ldr	x8, [x8, _gtrack@GOTPAGEOFF]
Lloh36:
	str	x0, [x8]
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldr	x2, [x21]
	mov	x3, x20
	blr	x8
	ldr	w8, [x22]
	lsl	w0, w8, #1
	bl	_malloc
Lloh37:
	adrp	x8, _stereodata16@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stereodata16@GOTPAGEOFF]
Lloh39:
	str	x0, [x8]
	cbz	x0, LBB0_3
; %bb.2:
Lloh40:
	adrp	x19, _soundbufsize@GOTPAGE
Lloh41:
	ldr	x19, [x19, _soundbufsize@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w1, #0
	bl	_memset
	mov	w0, #0
Lloh42:
	adrp	x8, _soundvolume@GOTPAGE
Lloh43:
	ldr	x8, [x8, _soundvolume@GOTPAGEOFF]
	mov	w9, #100
Lloh44:
	str	w9, [x8]
Lloh45:
	adrp	x8, _soundmaxvolume@GOTPAGE
Lloh46:
	ldr	x8, [x8, _soundmaxvolume@GOTPAGEOFF]
Lloh47:
	str	w9, [x8]
	mov	w8, #85
	str	w8, [x19]
Lloh48:
	adrp	x8, _soundoffset@GOTPAGE
Lloh49:
	ldr	x8, [x8, _soundoffset@GOTPAGEOFF]
Lloh50:
	str	xzr, [x8]
Lloh51:
	adrp	x8, _muted@GOTPAGE
Lloh52:
	ldr	x8, [x8, _muted@GOTPAGEOFF]
Lloh53:
	str	xzr, [x8]
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_yvm,8,3                        ; @yvm
	.comm	_JNI_VERSION_1_6,4,2            ; @JNI_VERSION_1_6
	.comm	_JNI_OK,8,3                     ; @JNI_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"android/media/AudioTrack"

	.comm	_cAudioTrack,8,3                ; @cAudioTrack
l_.str.1:                               ; @.str.1
	.asciz	"<init>"

l_.str.2:                               ; @.str.2
	.asciz	"(IIIIII)V"

l_.str.3:                               ; @.str.3
	.asciz	"write"

l_.str.4:                               ; @.str.4
	.asciz	"([BII)I"

	.comm	_mWrite,8,3                     ; @mWrite
l_.str.5:                               ; @.str.5
	.asciz	"play"

l_.str.6:                               ; @.str.6
	.asciz	"()V"

l_.str.7:                               ; @.str.7
	.asciz	"getMinBufferSize"

l_.str.8:                               ; @.str.8
	.asciz	"(III)I"

	.comm	_mbufferSizeInBytes,4,2         ; @mbufferSizeInBytes
	.comm	_gtrack,8,3                     ; @gtrack
	.comm	_stereodata16,8,3               ; @stereodata16
	.comm	_soundbufsize,4,2               ; @soundbufsize
	.comm	_soundvolume,4,2                ; @soundvolume
	.comm	_soundmaxvolume,4,2             ; @soundmaxvolume
	.comm	_soundoffset,8,3                ; @soundoffset
	.comm	_muted,8,3                      ; @muted
	.no_dead_strip	_SNDAudioTrackInit
.subsections_via_symbols
