	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sdl_callback
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0xbf800000                      ## float -1
	.long	0xbf800000                      ## float -1
	.long	0xbf800000                      ## float -1
	.long	0xbf800000                      ## float -1
LCPI0_2:
	.long	0x47000000                      ## float 32768
	.long	0x47000000                      ## float 32768
	.long	0x47000000                      ## float 32768
	.long	0x47000000                      ## float 32768
LCPI0_3:
	.long	0x46fffe00                      ## float 32767
	.long	0x46fffe00                      ## float 32767
	.long	0x46fffe00                      ## float 32767
	.long	0x46fffe00                      ## float 32767
LCPI0_4:
	.long	0xc7000000                      ## float -32768
	.long	0xc7000000                      ## float -32768
	.long	0xc7000000                      ## float -32768
	.long	0xc7000000                      ## float -32768
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_5:
	.long	0x46fffe00                      ## float 32767
LCPI0_6:
	.long	0x3f800000                      ## float 1
LCPI0_7:
	.long	0xc7000000                      ## float -32768
LCPI0_8:
	.long	0xbf800000                      ## float -1
LCPI0_9:
	.long	0x47000000                      ## float 32768
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sdl_callback:                          ## @sdl_callback
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_48
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	%r13, %rsi
	callq	_mmal_queue_put_back
	testl	%r14d, %r14d
	jle	LBB0_48
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_36 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	movl	(%rbx), %edi
	callq	_mmal_queue_get
	testq	%rax, %rax
	je	LBB0_52
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	(%r15), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	movq	_MMAL_ENCODING_PCM_SIGNED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$16, %ecx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %ebx
	cmpl	%r14d, %ebx
	cmovael	%r14d, %ebx
	movq	8(%r13), %rsi
	addq	16(%r13), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	addq	%rbx, 8(%r13)
	movl	(%r13), %eax
	subl	%ebx, %eax
	movl	%eax, (%r13)
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %eax
	cmpl	$32, %ecx
	jne	LBB0_45
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r14,%r14), %ebx
	cmpl	%ebx, %eax
	cmovbl	%eax, %ebx
	xorl	%edi, %edi
	testb	$3, %bl
	sete	%dil
	callq	_vcos_assert
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_MMAL_ENCODING_PCM_FLOAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %r8
	cmpl	$4, %ebx
	jb	LBB0_43
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r10d
	shrl	$2, %r10d
	movq	16(%r13), %rsi
	addq	%r8, %rsi
	leal	-1(%r10), %r9d
	xorl	%edi, %edi
	cmpl	$7, %r9d
	movaps	LCPI0_0(%rip), %xmm8            ## xmm8 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0]
	movaps	LCPI0_1(%rip), %xmm9            ## xmm9 = [-1.0E+0,-1.0E+0,-1.0E+0,-1.0E+0]
	movaps	LCPI0_2(%rip), %xmm7            ## xmm7 = [3.2768E+4,3.2768E+4,3.2768E+4,3.2768E+4]
	movaps	LCPI0_3(%rip), %xmm10           ## xmm10 = [3.2767E+4,3.2767E+4,3.2767E+4,3.2767E+4]
	movaps	LCPI0_4(%rip), %xmm11           ## xmm11 = [-3.2768E+4,-3.2768E+4,-3.2768E+4,-3.2768E+4]
	jb	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r9
	movq	%r9, %rdi
	andq	$-8, %rdi
	leaq	(%r12,%rdi,4), %rdx
	leaq	(%rsi,%rdi,4), %rax
	addq	$16, %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-16(%rsi,%rcx,4), %xmm4
	movups	(%rsi,%rcx,4), %xmm5
	movaps	%xmm8, %xmm0
	cmpnleps	%xmm4, %xmm0
	movaps	%xmm8, %xmm1
	cmpnleps	%xmm5, %xmm1
	movaps	%xmm4, %xmm2
	cmpltps	%xmm9, %xmm2
	movaps	%xmm5, %xmm3
	cmpltps	%xmm9, %xmm3
	mulps	%xmm7, %xmm4
	mulps	%xmm7, %xmm5
	andps	%xmm0, %xmm2
	andps	%xmm1, %xmm3
	movaps	%xmm10, %xmm6
	blendvps	%xmm0, %xmm4, %xmm6
	movaps	%xmm10, %xmm4
	movaps	%xmm1, %xmm0
	blendvps	%xmm0, %xmm5, %xmm4
	movaps	%xmm2, %xmm0
	blendvps	%xmm0, %xmm11, %xmm6
	movaps	%xmm3, %xmm0
	blendvps	%xmm0, %xmm11, %xmm4
	movups	%xmm6, (%r12,%rcx,4)
	movups	%xmm4, 16(%r12,%rcx,4)
	addq	$8, %rcx
	cmpq	%rcx, %rdi
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %r9
	jne	LBB0_15
	jmp	LBB0_43
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %r8
	movq	_MMAL_ENCODING_PCM_SIGNED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_43
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %ebx
	jb	LBB0_43
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %ecx
	shrl	$2, %ecx
	movq	16(%r13), %rdx
	addq	%r8, %rdx
	leal	-1(%rcx), %r9d
	xorl	%r10d, %r10d
	cmpl	$7, %r9d
	jae	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rax
	jmp	LBB0_41
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdx
	movq	%rsi, %rax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, %esi
	subl	%edi, %esi
	leal	1(%rdi), %ecx
	testb	$1, %sil
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_6(%rip), %xmm0
	movss	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	jae	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movss	LCPI0_8(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	movss	LCPI0_7(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ja	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	mulss	LCPI0_9(%rip), %xmm0
	movaps	%xmm0, %xmm1
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movss	%xmm1, (%rdx)
	addq	$4, %rax
	addq	$4, %rdx
	movl	%ecx, %edi
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %r10d
	je	LBB0_43
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	subl	%edi, %r10d
	xorl	%esi, %esi
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=2
	movss	%xmm1, 4(%rdx,%rsi,4)
	addq	$2, %rsi
	cmpl	%esi, %r10d
	je	LBB0_43
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rax,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_6(%rip), %xmm0
	movss	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	jae	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movss	LCPI0_8(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	movss	LCPI0_7(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ja	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=2
	mulss	LCPI0_9(%rip), %xmm0
	movaps	%xmm0, %xmm1
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=2
	movss	%xmm1, (%rdx,%rsi,4)
	movss	4(%rax,%rsi,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_6(%rip), %xmm0
	movss	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	jae	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=2
	movss	LCPI0_8(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	movss	LCPI0_7(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ja	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=2
	mulss	LCPI0_9(%rip), %xmm0
	movaps	%xmm0, %xmm1
	jmp	LBB0_28
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r9
	movq	%r9, %r10
	andq	$-8, %r10
	leaq	-8(%r10), %rax
	movq	%rax, %r11
	shrq	$3, %r11
	incq	%r11
	testq	%rax, %rax
	je	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %rax
	andq	$-2, %rax
	leaq	48(%rdx), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-48(%rsi,%rdi,4), %xmm0
	movdqu	-32(%rsi,%rdi,4), %xmm1
	psrad	$16, %xmm0
	psrad	$16, %xmm1
	cvtdq2ps	%xmm0, %xmm0
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm0, (%r12,%rdi,4)
	movups	%xmm1, 16(%r12,%rdi,4)
	movdqu	-16(%rsi,%rdi,4), %xmm0
	movdqu	(%rsi,%rdi,4), %xmm1
	psrad	$16, %xmm0
	psrad	$16, %xmm1
	cvtdq2ps	%xmm0, %xmm0
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm0, 32(%r12,%rdi,4)
	movups	%xmm1, 48(%r12,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rax
	jne	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r11b
	je	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movdqu	(%rdx,%rdi,4), %xmm0
	movdqu	16(%rdx,%rdi,4), %xmm1
	psrad	$16, %xmm0
	psrad	$16, %xmm1
	cvtdq2ps	%xmm0, %xmm0
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm0, (%r12,%rdi,4)
	movups	%xmm1, 16(%r12,%rdi,4)
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r10, %r9
	je	LBB0_43
## %bb.40:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%r10,4), %rax
	leaq	(%rdx,%r10,4), %rdx
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%r10d, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movswl	2(%rdx,%rsi,4), %edi
	xorps	%xmm0, %xmm0
	cvtsi2ss	%edi, %xmm0
	movss	%xmm0, (%rax,%rsi,4)
	incq	%rsi
	cmpl	%esi, %ecx
	jne	LBB0_42
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	addq	%r8, %rax
	movq	%rax, 8(%r13)
	movl	(%r13), %eax
	subl	%ebx, %eax
	movl	%eax, (%r13)
	shrl	%ebx
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%rbx,4), %r12
	subl	%ebx, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_46
## %bb.49:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MMAL_BUFFER_HEADER_FLAG_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13)
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_mmal_event_eos_send
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 8(%r13)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_mmal_port_buffer_header_callback
	testl	%r14d, %r14d
	jg	LBB0_2
	jmp	LBB0_48
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	testb	$1, %r11b
	jne	LBB0_38
	jmp	LBB0_39
LBB0_48:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LOG_ERROR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audio underrun"

	.comm	_MMAL_ENCODING_PCM_SIGNED,8,3   ## @MMAL_ENCODING_PCM_SIGNED
	.comm	_MMAL_ENCODING_PCM_FLOAT,8,3    ## @MMAL_ENCODING_PCM_FLOAT
	.comm	_MMAL_BUFFER_HEADER_FLAG_EOS,4,2 ## @MMAL_BUFFER_HEADER_FLAG_EOS
	.no_dead_strip	_sdl_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdl_callback
_sdl_callback:                          ; @sdl_callback
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-128]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	cmp	w2, #1
	b.lt	LBB0_29
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x24, _MMAL_ENCODING_PCM_SIGNED@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MMAL_ENCODING_PCM_SIGNED@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MMAL_ENCODING_PCM_FLOAT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MMAL_ENCODING_PCM_FLOAT@GOTPAGEOFF]
	ldr	x26, [x8]
	fmov	s8, #1.00000000
	fmov	s9, #-1.00000000
	movi.2s	v10, #71, lsl #24
Lloh4:
	adrp	x27, _MMAL_BUFFER_HEADER_FLAG_EOS@GOTPAGE
Lloh5:
	ldr	x27, [x27, _MMAL_BUFFER_HEADER_FLAG_EOS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_mmal_queue_put_back
	cmp	w19, #0
	b.le	LBB0_29
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w0, [x26]
	bl	_mmal_queue_get
	cbz	x0, LBB0_30
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	ldr	x8, [x21]
	ldr	x10, [x24]
	ldp	x11, x8, [x8]
	ldr	w9, [x8]
	cmp	x11, x10
	ccmp	w9, #16, #0, eq
	b.eq	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	cmp	w9, #32
	b.ne	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w9, w19, #1
	cmp	w8, w9
	csel	w23, w8, w9, lo
	tst	w23, #0x3
	cset	w0, eq
	bl	_vcos_assert
	ldr	x8, [x21]
	ldr	x9, [x8]
	ldr	x8, [x25]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #8]
	cmp	w23, #4
	b.lo	LBB0_28
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	lsr	w9, w23, #2
	ldr	x10, [x22, #16]
	add	x10, x8, x10
	mov	x11, x20
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	mov	w12, #65024
	movk	w12, #18175, lsl #16
	fmov	s0, w12
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	str	s0, [x11], #4
	add	x10, x10, #4
	subs	w9, w9, #1
	b.eq	LBB0_28
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x10]
	fcmp	s0, s8
	b.ge	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	fcmp	s0, s9
	b.pl	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	movi.2s	v0, #199, lsl #24
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=2
	fmul	s0, s0, s10
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	cmp	w8, w19
	csel	w23, w8, w19, lo
	ldp	x9, x8, [x22, #8]
	add	x1, x9, x8
	mov	x0, x20
	mov	x2, x23
	bl	_memcpy
	ldr	x8, [x22, #8]
	add	x8, x8, x23
	str	x8, [x22, #8]
	ldr	w8, [x22]
	sub	w8, w8, w23
	str	w8, [x22]
	add	x20, x20, w23, uxtw #2
	sub	w19, w19, w23
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w8, LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22, #4]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_mmal_event_eos_send
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x22, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_mmal_port_buffer_header_callback
	cmp	w19, #0
	b.gt	LBB0_3
	b	LBB0_29
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x24]
	ldr	x8, [x22, #8]
	cmp	x9, x10
	ccmp	w23, #4, #0, eq
	b.lo	LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	lsr	w10, w23, #2
	ldr	x9, [x22, #16]
	add	x15, x8, x9
	sub	w9, w10, #1
	cmp	w9, #15
	b.hs	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w12, #0
	mov	x9, x20
	mov	x11, x15
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x9, #1
	and	x12, x13, #0x1fffffff0
	lsl	x11, x12, #2
	add	x9, x20, x11
	add	x11, x15, x11
	add	x14, x20, #32
	add	x15, x15, #32
	mov	x16, x12
LBB0_24:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x15, #-32]
	ldp	q2, q3, [x15], #64
	sshr.4s	v0, v0, #16
	sshr.4s	v1, v1, #16
	sshr.4s	v2, v2, #16
	sshr.4s	v3, v3, #16
	scvtf.4s	v0, v0
	scvtf.4s	v1, v1
	scvtf.4s	v2, v2
	scvtf.4s	v3, v3
	stp	q0, q1, [x14, #-32]
	stp	q2, q3, [x14], #64
	subs	x16, x16, #16
	b.ne	LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x13, x12
	b.eq	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w10, w10, w12
LBB0_27:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	h0, [x11, #2]
	add	x11, x11, #4
	sshll.4s	v0, v0, #0
	scvtf	s0, s0
	str	s0, [x9], #4
	subs	w10, w10, #1
	b.ne	LBB0_27
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, w23, uxtw
	str	x8, [x22, #8]
	ldr	w8, [x22]
	sub	w8, w8, w23
	str	w8, [x22]
	lsr	w9, w23, #1
	add	x20, x20, w9, uxtw #2
	sub	w19, w19, w9
	cbnz	w8, LBB0_2
	b	LBB0_17
LBB0_29:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #128            ; 16-byte Folded Reload
	ret
LBB0_30:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #128            ; 16-byte Folded Reload
	b	_LOG_ERROR
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audio underrun"

	.comm	_MMAL_ENCODING_PCM_SIGNED,8,3   ; @MMAL_ENCODING_PCM_SIGNED
	.comm	_MMAL_ENCODING_PCM_FLOAT,8,3    ; @MMAL_ENCODING_PCM_FLOAT
	.comm	_MMAL_BUFFER_HEADER_FLAG_EOS,4,2 ; @MMAL_BUFFER_HEADER_FLAG_EOS
	.no_dead_strip	_sdl_callback
.subsections_via_symbols
