	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_zones
_search_zones:                          ## @search_zones
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rsi), %eax
	movl	%r8d, %esi
	movl	%ecx, %edx
	movl	%eax, %ecx
	callq	_search_first_zone
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rdx
	movl	24(%rbp), %r11d
	movl	16(%rbp), %r10d
	movl	(%r15), %esi
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdx), %esi
	jl	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	4(%rdx), %esi
	jg	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ebx, 8(%rdx)
	jg	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ebx, 12(%rdx)
	jl	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 32(%rdx)
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rcx
	incl	%eax
	movq	%rdx, (%r14,%rcx,8)
	cmpl	%r10d, %eax
	jl	LBB0_2
	jmp	LBB0_10
LBB0_11:
	movl	16(%rdx), %eax
	movl	%eax, -36(%rbp)
	cmpl	$5, %r11d
	jle	LBB0_13
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	20(%rdx), %ecx
	movl	24(%rdx), %r8d
	testl	%eax, %eax
	jns	LBB0_15
## %bb.14:
	movl	%esi, -36(%rbp)
LBB0_15:
	incl	%r11d
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movq	%r14, %r9
	pushq	%r11
	pushq	%r10
	callq	_search_zones
	addq	$16, %rsp
	testl	%eax, %eax
	jle	LBB0_10
## %bb.16:
	movl	-36(%rbp), %ecx
	movl	%ecx, (%r15)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_search_zones
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_zones
_search_zones:                          ; @search_zones
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x7
	mov	x20, x6
	mov	x21, x5
	mov	x8, x3
	mov	x22, x2
	mov	x19, x1
	mov	x24, x0
	ldr	w3, [x1]
	mov	x1, x4
	mov	x2, x8
	bl	_search_first_zone
	cbz	x0, LBB0_15
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cmp	w9, w10
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x8, #4]
	cmp	w9, w10
	b.gt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x8, #8]
	cmp	w10, w22
	b.gt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x8, #12]
	cmp	w10, w22
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8, #32]
	cbnz	x10, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [x21, w0, sxtw #3]
	add	w10, w0, #1
	mov	x0, x10
	cmp	w10, w20
	b.lt	LBB0_2
	b	LBB0_15
LBB0_9:
	ldr	w10, [x8, #16]
	str	w10, [sp, #12]
	cmp	w23, #5
	b.le	LBB0_11
; %bb.10:
	mov	w0, #0
	b	LBB0_15
LBB0_11:
	ldp	w3, w4, [x8, #20]
	tbz	w10, #31, LBB0_13
; %bb.12:
	str	w9, [sp, #12]
LBB0_13:
	add	w7, w23, #1
	add	x1, sp, #12
	mov	x0, x24
	mov	x2, x22
	mov	x5, x21
	mov	x6, x20
	bl	_search_zones
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.14:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_search_zones
.subsections_via_symbols
