	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_W1@GOTPCREL(%rip), %r15
	movq	_H1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	(%r15), %edi
	callq	_av_malloc
	movq	%rax, %r14
	movq	%rax, -56(%rbp)
	movq	_W2@GOTPCREL(%rip), %rax
	movq	_H2@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	imull	(%rax), %edi
	callq	_av_malloc
	movq	%rax, -72(%rbp)
	testq	%r14, %r14
	je	LBB0_39
## %bb.1:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_39
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_ff_check_pixfmt_descriptors
	movq	_H1@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	imull	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	imull	$1664525, %r13d, %r13d          ## imm = 0x19660D
	addl	$1013904223, %r13d              ## imm = 0x3C6EF35F
	movl	%r13d, %ecx
	sarl	$24, %ecx
	movl	%ecx, (%r14,%rax,4)
	incq	%rax
	movslq	(%r15), %rcx
	movslq	(%rsi), %rdx
	imulq	%rcx, %rdx
	cmpq	%rdx, %rax
	jl	LBB0_4
LBB0_5:
	movl	(%r12), %eax
	movq	_W2@GOTPCREL(%rip), %rsi
	imull	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	imull	$1664525, %r13d, %r13d          ## imm = 0x19660D
	addl	$1013904223, %r13d              ## imm = 0x3C6EF35F
	movl	%r13d, %ecx
	sarl	$24, %ecx
	movl	%ecx, (%rbx,%rax,4)
	incq	%rax
	movslq	(%rsi), %rcx
	movslq	(%r12), %rdx
	imulq	%rcx, %rdx
	cmpq	%rdx, %rax
	jl	LBB0_7
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_run_test
	testl	%eax, %eax
	js	LBB0_42
## %bb.9:
	movq	_H1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_W1@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movq	%r14, %rdi
	movl	$255, %esi
	callq	_memset
	movl	(%r12), %edx
	movq	_W2@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_run_test
	testl	%eax, %eax
	js	LBB0_42
## %bb.10:
	movq	_H1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_W1@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movq	%r14, %rdi
	movl	$144, %esi
	callq	_memset
	movl	(%r12), %edx
	movq	_W2@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movq	%rbx, %rdi
	movl	$144, %esi
	callq	_memset
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_run_test
	testl	%eax, %eax
	js	LBB0_42
## %bb.11:
	movl	$1, %r14d
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_23 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leal	(%r14,%r14), %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_23 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
	leaq	-56(%rbp), %rdi
	callq	_av_freep
	leaq	-72(%rbp), %rdi
	callq	_av_freep
	cmpl	$1, %r12d
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	movl	%eax, %r14d
	testl	%r12d, %r12d
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ebx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	%ebx, %edi
	callq	_av_malloc
	movq	%rax, -56(%rbp)
	movl	%r14d, %edi
	callq	_av_malloc
	movq	%rax, -72(%rbp)
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_39
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	testq	%rax, %rax
	je	LBB0_39
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	testl	%ebx, %ebx
	jle	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	%ebx, %edx
	leaq	-1(%rdx), %rdi
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdi
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=2
	xorl	%edi, %edi
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=2
	andl	$-4, %edx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_12 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	imull	$1664525, %r13d, %ebx           ## imm = 0x19660D
	addl	$1013904223, %ebx               ## imm = 0x3C6EF35F
	imull	$1664525, %ebx, %ecx            ## imm = 0x19660D
	sarl	$24, %ebx
	movl	%ebx, (%rsi,%rdi,4)
	addl	$1013904223, %ecx               ## imm = 0x3C6EF35F
	imull	$1664525, %ecx, %ebx            ## imm = 0x19660D
	sarl	$24, %ecx
	movl	%ecx, 4(%rsi,%rdi,4)
	addl	$1013904223, %ebx               ## imm = 0x3C6EF35F
	imull	$1664525, %ebx, %r13d           ## imm = 0x19660D
	sarl	$24, %ebx
	movl	%ebx, 8(%rsi,%rdi,4)
	addl	$1013904223, %r13d              ## imm = 0x3C6EF35F
	movl	%r13d, %ecx
	sarl	$24, %ecx
	movl	%ecx, 12(%rsi,%rdi,4)
	addq	$4, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=2
	testq	%r8, %r8
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	(%rsi,%rdi,4), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_12 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	imull	$1664525, %r13d, %r13d          ## imm = 0x19660D
	addl	$1013904223, %r13d              ## imm = 0x3C6EF35F
	movl	%r13d, %ebx
	sarl	$24, %ebx
	movl	%ebx, (%rdx,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=2
	testl	%r14d, %r14d
	jle	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	%r14d, %edx
	leaq	-1(%rdx), %rdi
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdi
	jae	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_13 Depth=2
	xorl	%edi, %edi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_13 Depth=2
	andl	$-4, %edx
	xorl	%edi, %edi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_12 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	imull	$1664525, %r13d, %ebx           ## imm = 0x19660D
	addl	$1013904223, %ebx               ## imm = 0x3C6EF35F
	imull	$1664525, %ebx, %ecx            ## imm = 0x19660D
	sarl	$24, %ebx
	movl	%ebx, (%rax,%rdi,4)
	addl	$1013904223, %ecx               ## imm = 0x3C6EF35F
	imull	$1664525, %ecx, %ebx            ## imm = 0x19660D
	sarl	$24, %ecx
	movl	%ecx, 4(%rax,%rdi,4)
	addl	$1013904223, %ebx               ## imm = 0x3C6EF35F
	imull	$1664525, %ebx, %r13d           ## imm = 0x19660D
	sarl	$24, %ebx
	movl	%ebx, 8(%rax,%rdi,4)
	addl	$1013904223, %r13d              ## imm = 0x3C6EF35F
	movl	%r13d, %ecx
	sarl	$24, %ecx
	movl	%ecx, 12(%rax,%rdi,4)
	addq	$4, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_32
LBB0_33:                                ##   in Loop: Header=BB0_13 Depth=2
	testq	%r8, %r8
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	(%rax,%rdi,4), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_12 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	imull	$1664525, %r13d, %r13d          ## imm = 0x19660D
	addl	$1013904223, %r13d              ## imm = 0x3C6EF35F
	movl	%r13d, %ecx
	sarl	$24, %ecx
	movl	%ecx, (%rdx,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_35
LBB0_36:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	%r14d, (%rsp)
	leaq	L_.str.4(%rip), %rdi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movq	%rax, %rcx
	movl	%edx, %r8d
	movl	%r12d, %r9d
	callq	_run_single_test
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_43
## %bb.37:                              ##   in Loop: Header=BB0_13 Depth=2
	incl	%r12d
	cmpl	$3, %r12d
	jne	LBB0_13
## %bb.38:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%r14d
	cmpl	$6, %r14d
	jne	LBB0_12
	jmp	LBB0_43
LBB0_39:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %r15d
	jmp	LBB0_43
LBB0_42:
	movl	%eax, %r15d
LBB0_43:
	movq	-56(%rbp), %rdi
	callq	_av_free
	movq	-72(%rbp), %rdi
	callq	_av_free
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_W1,4,2                         ## @W1
	.comm	_H1,4,2                         ## @H1
	.comm	_W2,4,2                         ## @W2
	.comm	_H2,4,2                         ## @H2
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failure\n"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"small"

.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, _W1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _W1@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _H1@GOTPAGE
Lloh3:
	ldr	x22, [x22, _H1@GOTPAGEOFF]
	ldr	w9, [x22]
	mul	w0, w9, w8
	bl	_av_malloc
	mov	x19, x0
Lloh4:
	adrp	x24, _W2@GOTPAGE
Lloh5:
	ldr	x24, [x24, _W2@GOTPAGEOFF]
	str	x0, [sp, #8]
	ldr	w8, [x24]
Lloh6:
	adrp	x28, _H2@GOTPAGE
Lloh7:
	ldr	x28, [x28, _H2@GOTPAGEOFF]
	ldr	w9, [x28]
	mul	w0, w9, w8
	bl	_av_malloc
	str	x0, [sp]
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
LBB0_1:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w23, #1
	b	LBB0_30
LBB0_2:
	mov	x20, x0
	mov	w25, #62303
	movk	w25, #15470, lsl #16
	mov	w26, #26125
	movk	w26, #25, lsl #16
	bl	_ff_check_pixfmt_descriptors
	ldr	w8, [x21]
	ldr	w9, [x22]
	mul	w8, w9, w8
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x8, #0
	mov	w27, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	madd	w27, w27, w26, w25
	asr	w9, w27, #24
	str	w9, [x19, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x9, [x21]
	ldrsw	x10, [x22]
	mul	x9, x10, x9
	cmp	x8, x9
	b.lt	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w27, #0
LBB0_6:
	ldr	w8, [x24]
	ldr	w9, [x28]
	mul	w8, w9, w8
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x8, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	madd	w27, w27, w26, w25
	asr	w9, w27, #24
	str	w9, [x20, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x9, [x24]
	ldrsw	x10, [x28]
	mul	x9, x10, x9
	cmp	x8, x9
	b.lt	LBB0_8
LBB0_9:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_run_test
	tbnz	w0, #31, LBB0_29
; %bb.10:
	ldr	w8, [x21]
	ldr	w9, [x22]
	mul	w2, w9, w8
	mov	x0, x19
	mov	w1, #255
	bl	_memset
	ldr	w8, [x24]
	ldr	w9, [x28]
	mul	w2, w9, w8
	mov	x0, x20
	mov	w1, #0
	bl	_memset
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_run_test
	tbnz	w0, #31, LBB0_29
; %bb.11:
	ldr	w8, [x21]
	ldr	w9, [x22]
	mul	w2, w9, w8
	mov	x0, x19
	mov	w1, #144
	bl	_memset
	ldr	w8, [x24]
	ldr	w9, [x28]
	mul	w2, w9, w8
	mov	x0, x20
	mov	w1, #144
	bl	_memset
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_run_test
	tbnz	w0, #31, LBB0_29
; %bb.12:
	mov	w9, #1
	mov	w20, #1
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;       Child Loop BB0_22 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
	mov	w21, #0
	lsl	w8, w20, #1
	lsl	w28, w9, w8
	add	w19, w28, #1
	lsl	w22, w9, w20
LBB0_14:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_22 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
	add	x0, sp, #8
	bl	_av_freep
	mov	x0, sp
	bl	_av_freep
	mov	x24, x28
	cmp	w21, #1
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x23, x28
	cbnz	w21, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x24, x19
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=2
	mov	x23, x19
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=2
	mov	x0, x24
	bl	_av_malloc
	str	x0, [sp, #8]
	mov	x0, x23
	bl	_av_malloc
	str	x0, [sp]
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_1
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x3, x0
	cbz	x0, LBB0_1
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=2
	cmp	w24, #1
	b.lt	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	w8, w24
	mov	x9, x1
LBB0_22:                                ;   Parent Loop BB0_13 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	madd	w27, w27, w26, w25
	asr	w10, w27, #24
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_14 Depth=2
	cmp	w23, #1
	b.lt	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	w8, w23
	mov	x9, x3
LBB0_25:                                ;   Parent Loop BB0_13 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	madd	w27, w27, w26, w25
	asr	w10, w27, #24
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_25
LBB0_26:                                ;   in Loop: Header=BB0_14 Depth=2
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x22
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	bl	_run_single_test
	mov	x23, x0
	tbnz	w0, #31, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_14 Depth=2
	add	w21, w21, #1
	cmp	w21, #3
	b.ne	LBB0_14
; %bb.28:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w20, w20, #1
	cmp	w20, #6
	mov	w9, #1
	b.ne	LBB0_13
	b	LBB0_30
LBB0_29:
	mov	x23, x0
LBB0_30:
	ldr	x0, [sp, #8]
	bl	_av_free
	ldr	x0, [sp]
	bl	_av_free
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_W1,4,2                         ; @W1
	.comm	_H1,4,2                         ; @H1
	.comm	_W2,4,2                         ; @W2
	.comm	_H2,4,2                         ; @H2
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failure\n"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"small"

.subsections_via_symbols
