	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_puts
	leaq	L_.str.1(%rip), %rdi
	callq	_puts
	leaq	L_.str.16(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.20(%rip), %rdi
	callq	_puts
	incq	%r13
	cmpq	$8, %r13
	je	LBB0_34
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##         Child Loop BB0_4 Depth 4
                                        ##           Child Loop BB0_5 Depth 5
                                        ##             Child Loop BB0_6 Depth 6
	movq	_check@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	L_.str.20(%rip), %rdi
	callq	_puts
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	cmpq	$8, %rbx
	je	LBB0_33
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##         Child Loop BB0_4 Depth 4
                                        ##           Child Loop BB0_5 Depth 5
                                        ##             Child Loop BB0_6 Depth 6
	movq	_check@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rbx,8), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$49, %esi
	movb	$1, %al
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=3
	leaq	L_.str.20(%rip), %rdi
	callq	_puts
	movl	$50, %esi
	movb	$1, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testb	$1, -56(%rbp)                   ## 1-byte Folded Reload
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	je	LBB0_32
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_4 Depth 4
                                        ##           Child Loop BB0_5 Depth 5
                                        ##             Child Loop BB0_6 Depth 6
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	xorl	%ebx, %ebx
	movb	$1, %al
	movl	$49, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=4
	leaq	L_.str.20(%rip), %rdi
	callq	_puts
	movl	$50, %esi
	movb	$1, %bl
	testb	$1, -68(%rbp)                   ## 1-byte Folded Reload
	movl	$0, %eax
	je	LBB0_31
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_3 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_5 Depth 5
                                        ##             Child Loop BB0_6 Depth 6
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-48(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $al killed $al killed $eax
	andb	%bl, %al
	movb	%al, -42(%rbp)                  ## 1-byte Spill
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ecx
	orb	%bl, %cl
	movb	%cl, -43(%rbp)                  ## 1-byte Spill
                                        ## kill: def $al killed $al killed $eax
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	andb	%bl, %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=5
	leaq	L_.str.20(%rip), %rdi
	callq	_puts
	movl	$1, %esi
	testb	$1, -52(%rbp)                   ## 1-byte Folded Reload
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	je	LBB0_30
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_3 Depth=3
                                        ##         Parent Loop BB0_4 Depth=4
                                        ## =>        This Loop Header: Depth=5
                                        ##             Child Loop BB0_6 Depth 6
	xorl	%r14d, %r14d
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movb	$1, %r15b
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=6
	movq	%rbx, %r12
	leaq	L_.str.20(%rip), %rbx
	movq	%rbx, %rdi
	callq	_puts
	movq	%rbx, %rdi
	callq	_puts
	movl	$1, %r14d
	testb	$1, %r15b
	movl	$0, %r15d
	je	LBB0_29
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_3 Depth=3
                                        ##         Parent Loop BB0_4 Depth=4
                                        ##           Parent Loop BB0_5 Depth=5
                                        ## =>          This Inner Loop Header: Depth=6
	leaq	L_.str.9(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str.21(%rip), %rdi
	callq	_puts
	leaq	L_.str.11(%rip), %rdi
	callq	_puts
	testb	$1, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=6
	leaq	L_.str.12(%rip), %rdi
	callq	_puts
	movl	%r13d, %edi
	leaq	L_.str.13(%rip), %r14
	movq	%r14, %rsi
	callq	_Fetch
	testb	$1, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=6
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_Fetch
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=6
	movl	%r13d, %edi
	leaq	L_.str.13(%rip), %r14
	movq	%r14, %rsi
	callq	_Fetch
	movq	%r14, %rdx
	testb	$1, -52(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=6
	movq	_bitsreal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$16, (%rax,%r13,4)
	leaq	L_.str.15(%rip), %rdi
	leaq	L_.str.14(%rip), %rax
	cmoveq	%rax, %rdi
	callq	_puts
	movq	%r14, %rdx
	testb	$1, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=6
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_Fetch
	movq	_bitsreal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$16, (%rax,%r13,4)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=6
	leaq	L_.str.17(%rip), %rdi
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=6
	leaq	L_.str.18(%rip), %rdi
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=6
	callq	_puts
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=6
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	callq	_BitConv
	movq	%r12, %rdx
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=6
	movl	%r13d, %edi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_BitConv
	testb	$1, %r15b
	jne	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=6
	movq	_bitsreal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$16, (%rax,%r13,4)
	leaq	L_.str.15(%rip), %rdi
	leaq	L_.str.14(%rip), %rax
	cmoveq	%rax, %rdi
	callq	_puts
	testb	$1, -42(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=6
	movq	_bitsreal@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$16, (%rax,%r13,4)
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=6
	leaq	L_.str.17(%rip), %rdi
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=6
	testb	$1, -43(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=6
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_Save
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
                                        ## kill: def $bl killed $bl killed $ebx def $ebx
	testb	$1, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_25
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=6
	leaq	L_str.22(%rip), %rdi
	callq	_puts
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=6
	leaq	L_.str.18(%rip), %rdi
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=6
	callq	_puts
	movb	$1, %bl
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=6
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_Save
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=6
	andb	-48(%rbp), %bl                  ## 1-byte Folded Reload
	testb	$1, %bl
	leaq	L_.str.16(%rip), %rbx
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=6
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_Save
	jmp	LBB0_28
LBB0_34:
	leaq	L_.str.20(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"void SexiALI_Convert(SexyAL_format *srcformat, SexyAL_format *destformat, void *vdest, void *vsrc, uint32_t frames)"

L_.str.1:                               ## @.str.1
	.asciz	"{"

L_.str.2:                               ## @.str.2
	.asciz	"if(srcformat->sampformat == %s)\n{\n"

	.comm	_check,8,3                      ## @check
L_.str.3:                               ## @.str.3
	.asciz	"%s* src=vsrc;\n"

	.comm	_str,8,3                        ## @str
L_.str.4:                               ## @.str.4
	.asciz	"if(destformat->sampformat == %s)\n{\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s* dest=vdest;\n"

L_.str.6:                               ## @.str.6
	.asciz	"if(srcformat->channels == %c)\n{\n"

L_.str.7:                               ## @.str.7
	.asciz	"if(destformat->channels == %c)\n{\n"

L_.str.8:                               ## @.str.8
	.asciz	"if(srcformat->byteorder == %d)\n{\n"

L_.str.9:                               ## @.str.9
	.asciz	"if(destformat->byteorder == %d)\n{\n"

L_.str.11:                              ## @.str.11
	.asciz	"int32_t tmp;"

L_.str.12:                              ## @.str.12
	.asciz	"int32_t tmp2;"

L_.str.13:                              ## @.str.13
	.space	1

	.comm	_bitsreal,8,3                   ## @bitsreal
L_.str.14:                              ## @.str.14
	.asciz	"FLIP16(tmp);"

L_.str.15:                              ## @.str.15
	.asciz	"FLIP32(tmp);"

L_.str.16:                              ## @.str.16
	.asciz	"2"

L_.str.17:                              ## @.str.17
	.asciz	"FLIP16(tmp2);"

L_.str.18:                              ## @.str.18
	.asciz	"FLIP32(tmp2);"

L_.str.20:                              ## @.str.20
	.asciz	"}"

L_str.21:                               ## @str.21
	.asciz	"while(frames--)\n{"

L_str.22:                               ## @str.22
	.asciz	"tmp = (tmp+tmp2)>>1;"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_puts
	mov	x19, #0
Lloh4:
	adrp	x22, l_.str.13@PAGE
Lloh5:
	add	x22, x22, l_.str.13@PAGEOFF
Lloh6:
	adrp	x23, l_.str.16@PAGE
Lloh7:
	add	x23, x23, l_.str.16@PAGEOFF
Lloh8:
	adrp	x25, l_.str.20@PAGE
Lloh9:
	add	x25, x25, l_.str.20@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_puts
	add	x19, x19, #1
	cmp	x19, #8
	b.eq	LBB0_34
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;         Child Loop BB0_8 Depth 4
                                        ;           Child Loop BB0_10 Depth 5
                                        ;             Child Loop BB0_12 Depth 6
Lloh10:
	adrp	x8, _check@GOTPAGE
Lloh11:
	ldr	x8, [x8, _check@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	lsl	x20, x19, #3
	ldr	x8, [x8, x20]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh15:
	adrp	x8, _str@GOTPAGE
Lloh16:
	ldr	x8, [x8, _str@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x8, [x8, x20]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	mov	x26, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x25
	bl	_puts
	add	x26, x26, #1
	cmp	x26, #8
	b.eq	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;         Child Loop BB0_8 Depth 4
                                        ;           Child Loop BB0_10 Depth 5
                                        ;             Child Loop BB0_12 Depth 6
Lloh20:
	adrp	x8, _check@GOTPAGE
Lloh21:
	ldr	x8, [x8, _check@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	lsl	x20, x26, #3
	ldr	x8, [x8, x20]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh25:
	adrp	x8, _str@GOTPAGE
Lloh26:
	ldr	x8, [x8, _str@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x8, [x8, x20]
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	mov	w28, #0
	mov	w8, #49
	mov	w9, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=3
	mov	x0, x25
	bl	_puts
	mov	w9, #0
	mov	w8, #50
	mov	w28, #1
	ldr	w10, [sp, #16]                  ; 4-byte Folded Reload
	tbz	w10, #0, LBB0_3
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_8 Depth 4
                                        ;           Child Loop BB0_10 Depth 5
                                        ;             Child Loop BB0_12 Depth 6
	str	w9, [sp, #16]                   ; 4-byte Folded Spill
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	mov	w20, #0
	mov	w8, #49
	mov	w9, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=4
	mov	x0, x25
	bl	_puts
	mov	w9, #0
	mov	w8, #50
	mov	w20, #1
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	tbz	w10, #0, LBB0_5
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_6 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_10 Depth 5
                                        ;             Child Loop BB0_12 Depth 6
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	str	x8, [sp]
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	mov	w8, #0
	and	w21, w28, w20
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	orr	w27, w9, w20
	and	w9, w9, w20
	stp	w9, w20, [sp, #24]              ; 8-byte Folded Spill
	mov	w9, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=5
	mov	x0, x25
	bl	_puts
	mov	w9, #0
	mov	w8, #1
	tbz	w20, #0, LBB0_7
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_6 Depth=3
                                        ;         Parent Loop BB0_8 Depth=4
                                        ; =>        This Loop Header: Depth=5
                                        ;             Child Loop BB0_12 Depth 6
	mov	x20, x9
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.8@PAGE
Lloh35:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	mov	w8, #0
	mov	w9, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x25
	bl	_puts
	mov	x0, x25
	bl	_puts
	mov	w9, #0
	mov	w8, #1
	tbz	w24, #0, LBB0_9
LBB0_12:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_6 Depth=3
                                        ;         Parent Loop BB0_8 Depth=4
                                        ;           Parent Loop BB0_10 Depth=5
                                        ; =>          This Inner Loop Header: Depth=6
	mov	x24, x9
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.9@PAGE
Lloh37:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
Lloh38:
	adrp	x0, l_str.21@PAGE
Lloh39:
	add	x0, x0, l_str.21@PAGEOFF
	bl	_puts
Lloh40:
	adrp	x0, l_.str.11@PAGE
Lloh41:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_puts
	tbz	w28, #0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=6
Lloh42:
	adrp	x0, l_.str.12@PAGE
Lloh43:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_puts
	mov	x0, x19
	mov	x1, x22
	bl	_Fetch
	tbz	w20, #0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x19
	mov	x1, x23
	bl	_Fetch
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x19
	mov	x1, x22
	bl	_Fetch
	mov	x2, x22
	tbnz	w20, #0, LBB0_22
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=6
Lloh44:
	adrp	x8, _bitsreal@GOTPAGE
Lloh45:
	ldr	x8, [x8, _bitsreal@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	ldr	w8, [x8, x19, lsl #2]
	cmp	w8, #16
Lloh47:
	adrp	x8, l_.str.15@PAGE
Lloh48:
	add	x8, x8, l_.str.15@PAGEOFF
Lloh49:
	adrp	x9, l_.str.14@PAGE
Lloh50:
	add	x9, x9, l_.str.14@PAGEOFF
	csel	x0, x9, x8, eq
	bl	_puts
	mov	x2, x22
	tbz	w28, #0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x19
	mov	x1, x23
	bl	_Fetch
Lloh51:
	adrp	x8, _bitsreal@GOTPAGE
Lloh52:
	ldr	x8, [x8, _bitsreal@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	ldr	w8, [x8, x19, lsl #2]
	cmp	w8, #16
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=6
Lloh54:
	adrp	x0, l_.str.17@PAGE
Lloh55:
	add	x0, x0, l_.str.17@PAGEOFF
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=6
Lloh56:
	adrp	x0, l_.str.18@PAGE
Lloh57:
	add	x0, x0, l_.str.18@PAGEOFF
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=6
	bl	_puts
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x19
	mov	x1, x26
	mov	x2, x22
	bl	_BitConv
	mov	x2, x23
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x19
	mov	x1, x26
	bl	_BitConv
	tbnz	w24, #0, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=6
Lloh58:
	adrp	x8, _bitsreal@GOTPAGE
Lloh59:
	ldr	x8, [x8, _bitsreal@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	ldr	w8, [x8, x19, lsl #2]
	cmp	w8, #16
Lloh61:
	adrp	x8, l_.str.15@PAGE
Lloh62:
	add	x8, x8, l_.str.15@PAGEOFF
Lloh63:
	adrp	x9, l_.str.14@PAGE
Lloh64:
	add	x9, x9, l_.str.14@PAGEOFF
	csel	x0, x9, x8, eq
	bl	_puts
	tbz	w21, #0, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=6
Lloh65:
	adrp	x8, _bitsreal@GOTPAGE
Lloh66:
	ldr	x8, [x8, _bitsreal@GOTPAGEOFF]
Lloh67:
	ldr	x8, [x8]
	ldr	w8, [x8, x19, lsl #2]
	cmp	w8, #16
	b.ne	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_12 Depth=6
Lloh68:
	adrp	x0, l_.str.17@PAGE
Lloh69:
	add	x0, x0, l_.str.17@PAGEOFF
	b	LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_12 Depth=6
	tbz	w27, #0, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x26
	mov	x1, x22
	bl	_Save
	ldp	w8, w23, [sp, #24]              ; 8-byte Folded Reload
	tbnz	w8, #0, LBB0_31
	b	LBB0_32
LBB0_28:                                ;   in Loop: Header=BB0_12 Depth=6
Lloh70:
	adrp	x0, l_str.22@PAGE
Lloh71:
	add	x0, x0, l_str.22@PAGEOFF
	bl	_puts
	mov	w23, #0
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_12 Depth=6
Lloh72:
	adrp	x0, l_.str.18@PAGE
Lloh73:
	add	x0, x0, l_.str.18@PAGEOFF
LBB0_30:                                ;   in Loop: Header=BB0_12 Depth=6
	bl	_puts
	mov	w23, #1
LBB0_31:                                ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x26
	mov	x1, x22
	bl	_Save
LBB0_32:                                ;   in Loop: Header=BB0_12 Depth=6
	and	w8, w28, w23
Lloh74:
	adrp	x23, l_.str.16@PAGE
Lloh75:
	add	x23, x23, l_.str.16@PAGEOFF
	tbz	w8, #0, LBB0_11
; %bb.33:                               ;   in Loop: Header=BB0_12 Depth=6
	mov	x0, x26
	mov	x1, x23
	bl	_Save
	b	LBB0_11
LBB0_34:
Lloh76:
	adrp	x0, l_.str.20@PAGE
Lloh77:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_puts
	mov	w0, #0
	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
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"void SexiALI_Convert(SexyAL_format *srcformat, SexyAL_format *destformat, void *vdest, void *vsrc, uint32_t frames)"

l_.str.1:                               ; @.str.1
	.asciz	"{"

l_.str.2:                               ; @.str.2
	.asciz	"if(srcformat->sampformat == %s)\n{\n"

	.comm	_check,8,3                      ; @check
l_.str.3:                               ; @.str.3
	.asciz	"%s* src=vsrc;\n"

	.comm	_str,8,3                        ; @str
l_.str.4:                               ; @.str.4
	.asciz	"if(destformat->sampformat == %s)\n{\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s* dest=vdest;\n"

l_.str.6:                               ; @.str.6
	.asciz	"if(srcformat->channels == %c)\n{\n"

l_.str.7:                               ; @.str.7
	.asciz	"if(destformat->channels == %c)\n{\n"

l_.str.8:                               ; @.str.8
	.asciz	"if(srcformat->byteorder == %d)\n{\n"

l_.str.9:                               ; @.str.9
	.asciz	"if(destformat->byteorder == %d)\n{\n"

l_.str.11:                              ; @.str.11
	.asciz	"int32_t tmp;"

l_.str.12:                              ; @.str.12
	.asciz	"int32_t tmp2;"

l_.str.13:                              ; @.str.13
	.space	1

	.comm	_bitsreal,8,3                   ; @bitsreal
l_.str.14:                              ; @.str.14
	.asciz	"FLIP16(tmp);"

l_.str.15:                              ; @.str.15
	.asciz	"FLIP32(tmp);"

l_.str.16:                              ; @.str.16
	.asciz	"2"

l_.str.17:                              ; @.str.17
	.asciz	"FLIP16(tmp2);"

l_.str.18:                              ; @.str.18
	.asciz	"FLIP32(tmp2);"

l_.str.20:                              ; @.str.20
	.asciz	"}"

l_str.21:                               ; @str.21
	.asciz	"while(frames--)\n{"

l_str.22:                               ; @str.22
	.asciz	"tmp = (tmp+tmp2)>>1;"

.subsections_via_symbols
