	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rn_refines
_rn_refines:                            ## @rn_refines
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movslq	(%rsi), %r9
	leaq	(%rsi,%r9,4), %r11
	addq	$4, %rsi
	movslq	(%rdi), %rax
	addq	$4, %rdi
	subq	%rax, %r9
	movq	%r9, %r8
	negq	%r8
	xorl	%r10d, %r10d
	testl	%r9d, %r9d
	movl	$0, %eax
	cmovgq	%r8, %rax
	leaq	(%r11,%rax,4), %r14
	movl	$1, %ecx
	cmpq	%rsi, %r14
	jbe	LBB0_4
## %bb.1:
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edx
	movl	(%rdi), %eax
	movl	%eax, %ebx
	notl	%ebx
	testl	%ebx, %edx
	jne	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rsi
	addq	$4, %rdi
	cmpl	%eax, %edx
	cmovnel	%r10d, %ecx
	cmpq	%r14, %rsi
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r11, %rsi
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, (%rsi)
	leaq	4(%rsi), %rsi
	je	LBB0_4
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_7:
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.8:
	testl	%r9d, %r9d
	jns	LBB0_13
## %bb.9:
	leaq	(%rdi,%r8,4), %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rdi
	jae	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$0, (%rdi)
	leaq	4(%rdi), %rdi
	je	LBB0_10
## %bb.12:
	movl	$1, %eax
	jmp	LBB0_15
LBB0_13:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rn_refines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rn_refines
_rn_refines:                            ; @rn_refines
	.cfi_startproc
; %bb.0:
	mov	x9, x1
	ldrsw	x8, [x9], #4
	ldrsw	x10, [x0], #4
	add	x11, x1, x8, lsl #2
	sub	x10, x8, x10
	cmp	w10, #0
	csneg	x8, xzr, x10, le
	add	x12, x11, x8, lsl #2
	mov	w8, #1
	cmp	x12, x9
	b.ls	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	ldr	w14, [x0]
	bics	wzr, w13, w14
	b.ne	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x9, #4
	add	x0, x0, #4
	cmp	w13, w14
	csel	w8, w8, wzr, eq
	cmp	x9, x12
	b.lo	LBB0_1
LBB0_3:
	neg	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x11
	b.hs	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x9], #4
	cbz	w13, LBB0_4
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	cbz	w8, LBB0_13
; %bb.8:
	tbz	w10, #31, LBB0_13
; %bb.9:
	add	x9, x0, x12, lsl #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	x0, x9
	b.hs	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w10, [x0], #4
	cbz	w10, LBB0_10
; %bb.12:
	mov	w0, #1
	ret
LBB0_13:
	cmp	w8, #0
	cset	w0, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rn_refines
.subsections_via_symbols
