	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_rec
_check_rec:                             ## @check_rec
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rdi, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %ebx
	cmpl	%esi, %ebx
	jle	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %ebx
	jge	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r12), %r15d
	cmpl	%esi, %r15d
	jle	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %r15d
	jge	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %ebx
	jg	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	decl	%r14d
	movq	24(%r12), %rdi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_check_rec
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12), %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	callq	_check_rec
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %ebx
	jge	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %r12
	movl	%r15d, %r13d
	movl	%ebx, %esi
	testq	%r12, %r12
	jne	LBB0_2
LBB0_13:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_14:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_rec
_check_rec:                             ; @check_rec
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x20]
	cmp	w22, w1
	ccmp	w22, w21, #0, gt
	b.ge	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w23, [x20, #4]
	cmp	w23, w1
	ccmp	w23, w21, #0, gt
	ccmp	w22, w23, #0, lt
	b.gt	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	w19, w19, #1
	b.lt	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #24]
	mov	x2, x22
	mov	x3, x19
	bl	_check_rec
	cbz	w0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #16]
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	bl	_check_rec
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w22, w23
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x20, [x20, #8]
	mov	x21, x23
	mov	x1, x22
	cbnz	x20, LBB0_2
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_rec
.subsections_via_symbols
