	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_rowcol
_check_rowcol:                          ## @check_rowcol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %rcx
	movl	$-1, %eax
	cmpq	%rdx, %rcx
	jge	LBB0_9
## %bb.2:
	testq	%rsi, %rsi
	jle	LBB0_6
## %bb.3:
	subq	%rcx, %rdx
	jmp	LBB0_4
LBB0_5:
	testq	%rsi, %rsi
	jle	LBB0_6
## %bb.10:
	movq	(%rdi), %rax
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	movl	$4294967295, %edx               ## imm = 0xFFFFFFFF
	subq	%rax, %rdx
	incq	%rdx
	testq	%rax, %rax
	cmoveq	%rcx, %rdx
LBB0_4:
	movl	$-1, %eax
	cmpq	%rsi, %rdx
	jge	LBB0_8
LBB0_9:
	popq	%rbp
	retq
LBB0_6:
	testq	%rsi, %rsi
	jns	LBB0_8
## %bb.7:
	negq	%rsi
	movl	$-1, %eax
	cmpq	%rsi, 8(%rdi)
	jl	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_rowcol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_rowcol
_check_rowcol:                          ; @check_rowcol
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x2
	b.ge	LBB0_8
; %bb.2:
	cmp	x1, #0
	b.le	LBB0_6
; %bb.3:
	sub	x8, x2, x8
	cmp	x8, x1
	b.lt	LBB0_8
	b	LBB0_9
LBB0_4:
	cmp	x1, #0
	b.le	LBB0_6
; %bb.5:
	ldr	x8, [x0]
	mov	x9, #4294967296
	sub	x9, x9, x8
	mov	w10, #-1
	cmp	x8, #0
	csel	x8, x10, x9, eq
	cmp	x8, x1
	b.ge	LBB0_9
	b	LBB0_8
LBB0_6:
	tbz	x1, #63, LBB0_9
; %bb.7:
	ldr	x8, [x0, #8]
	neg	x9, x1
	cmp	x8, x9
	b.ge	LBB0_9
LBB0_8:
	mov	w0, #-1
	ret
LBB0_9:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_rowcol
.subsections_via_symbols
