	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_filter
_validate_filter:                       ## @validate_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movl	(%rdi), %esi
	subl	32(%rdi), %esi
	movq	40(%rdi), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %ecx
	cmpl	%esi, %ecx
	jg	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	js	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_2
LBB0_7:
	movl	12(%rdi), %r8d
	movl	$1, %eax
	testl	%r8d, %r8d
	jle	LBB0_13
## %bb.8:
	movl	8(%rdi), %esi
	subl	16(%rdi), %esi
	movq	24(%rdi), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %ecx
	cmpl	%esi, %ecx
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%ecx, %ecx
	js	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_9
LBB0_13:
	popq	%rbp
	retq
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fprintf
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out X = %d => In X = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Out Y = %d => In Y = %d\n"

	.no_dead_strip	_validate_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_filter
_validate_filter:                       ; @validate_filter
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x2, #0
	ldr	w9, [x0]
	ldr	w10, [x0, #32]
	sub	w9, w9, w10
	ldr	x10, [x0, #40]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x10, x2, lsl #2]
	cmp	w3, w9
	b.gt	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w3, #31, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x2, x2, #1
	cmp	x8, x2
	b.ne	LBB0_2
LBB0_5:
	ldr	w8, [x0, #12]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x2, #0
	ldr	w9, [x0, #8]
	ldr	w10, [x0, #16]
	sub	w9, w9, w10
	ldr	x10, [x0, #24]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x10, x2, lsl #2]
	cmp	w3, w9
	b.gt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	tbnz	w3, #31, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x2, x2, #1
	cmp	x8, x2
	b.ne	LBB0_7
LBB0_10:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_fprintf
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out X = %d => In X = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Out Y = %d => In Y = %d\n"

	.no_dead_strip	_validate_filter
.subsections_via_symbols
