	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function sws_printVec2
LCPI0_0:
	.quad	0x404e000000000000              ## double 60
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sws_printVec2
	.p2align	4, 0x90
_sws_printVec2:                         ## @sws_printVec2
	.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
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	jle	LBB0_20
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	8(%rdi), %rsi
	leaq	-1(%rbx), %r8
	movl	%ebx, %edx
	andl	$3, %edx
	cmpq	$3, %r8
	jae	LBB0_8
## %bb.2:
	xorpd	%xmm0, %xmm0
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_8:
	movl	%ebx, %eax
	andl	$-4, %eax
	xorpd	%xmm0, %xmm0
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rsi,%rcx,8), %xmm1            ## xmm1 = mem[0],zero
	maxsd	%xmm0, %xmm1
	movsd	8(%rsi,%rcx,8), %xmm0           ## xmm0 = mem[0],zero
	maxsd	%xmm1, %xmm0
	movsd	16(%rsi,%rcx,8), %xmm1          ## xmm1 = mem[0],zero
	maxsd	%xmm0, %xmm1
	movsd	24(%rsi,%rcx,8), %xmm0          ## xmm0 = mem[0],zero
	maxsd	%xmm1, %xmm0
	addq	$4, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_9
LBB0_3:
	movapd	%xmm0, %xmm2
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:
	leaq	(%rsi,%rcx,8), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rax,%rsi,8), %xmm2            ## xmm2 = mem[0],zero
	maxsd	%xmm0, %xmm2
	incq	%rsi
	movapd	%xmm2, %xmm0
	cmpq	%rsi, %rdx
	jne	LBB0_5
LBB0_6:
	movq	8(%rdi), %rsi
	movl	%ebx, %edx
	andl	$3, %edx
	cmpq	$3, %r8
	jae	LBB0_10
## %bb.7:
	xorpd	%xmm0, %xmm0
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_10:
	andl	$-4, %ebx
	xorpd	%xmm0, %xmm0
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%rsi,%rcx,8), %xmm1            ## xmm1 = mem[0],zero
	minsd	%xmm0, %xmm1
	movsd	8(%rsi,%rcx,8), %xmm0           ## xmm0 = mem[0],zero
	minsd	%xmm1, %xmm0
	movsd	16(%rsi,%rcx,8), %xmm1          ## xmm1 = mem[0],zero
	minsd	%xmm0, %xmm1
	movsd	24(%rsi,%rcx,8), %xmm0          ## xmm0 = mem[0],zero
	minsd	%xmm1, %xmm0
	addq	$4, %rcx
	cmpq	%rcx, %rbx
	jne	LBB0_11
LBB0_12:
	movapd	%xmm0, %xmm3
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.13:
	leaq	(%rsi,%rcx,8), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%rax,%rcx,8), %xmm3            ## xmm3 = mem[0],zero
	minsd	%xmm0, %xmm3
	incq	%rcx
	movapd	%xmm3, %xmm0
	cmpq	%rcx, %rdx
	jne	LBB0_14
LBB0_15:
	subsd	%xmm3, %xmm2
	leaq	L_.str.1(%rip), %rbx
	xorl	%r12d, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movsd	%xmm2, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm3, -48(%rbp)                ## 8-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	incq	%r12
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movslq	(%rdi), %rax
	cmpq	%rax, %r12
	movsd	-56(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-48(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	jge	LBB0_20
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	8(%rdi), %rax
	movsd	(%rax,%r12,8), %xmm0            ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	subsd	%xmm3, %xmm1
	mulsd	LCPI0_0(%rip), %xmm1
	divsd	%xmm2, %xmm1
	addsd	LCPI0_1(%rip), %xmm1
	cvttsd2si	%xmm1, %r15d
	movq	%r13, %rdi
	movl	%r14d, %esi
	leaq	L_.str(%rip), %rdx
	movb	$1, %al
	callq	_av_log
	testl	%r15d, %r15d
	jle	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	incl	%r15d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_av_log
	decl	%r15d
	cmpl	$1, %r15d
	ja	LBB0_18
	jmp	LBB0_19
LBB0_20:
	addq	$24, %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	"%1.3f "

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

L_.str.2:                               ## @.str.2
	.asciz	"|\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sws_printVec2                  ; -- Begin function sws_printVec2
	.p2align	2
_sws_printVec2:                         ; @sws_printVec2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x9, [x0, #8]
	movi	d0, #0000000000000000
	mov	x10, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x9], #8
	fcmp	d1, d0
	fcsel	d0, d1, d0, gt
	subs	x10, x10, #1
	b.ne	LBB0_2
; %bb.3:
	ldr	x9, [x21, #8]
	movi	d8, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x9], #8
	fcmp	d1, d8
	fcsel	d8, d1, d8, mi
	subs	x8, x8, #1
	b.ne	LBB0_4
; %bb.5:
	mov	x25, #0
	fsub	d9, d0, d8
	mov	x26, #4633641066610819072
	fmov	d10, #0.50000000
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh4:
	adrp	x24, l_.str.2@PAGE
Lloh5:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_av_log
	add	x25, x25, #1
	ldrsw	x8, [x21]
	cmp	x25, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x21, #8]
	ldr	d0, [x8, x25, lsl #3]
	fsub	d1, d0, d8
	fmov	d2, x26
	fmul	d1, d1, d2
	fdiv	d1, d1, d9
	fadd	d1, d1, d10
	fcvtzs	w27, d1
	str	d0, [sp]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_av_log
	cmp	w27, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w27, #1
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_av_log
	sub	w27, w27, #1
	cmp	w27, #1
	b.hi	LBB0_9
	b	LBB0_6
LBB0_10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%1.3f "

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

l_.str.2:                               ; @.str.2
	.asciz	"|\n"

.subsections_via_symbols
