	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_refines                     ## -- Begin function rn_refines
	.p2align	4, 0x90
_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	%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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_LEN
	cltq
	leaq	(%r15,%rax,4), %r12
	leaq	4(%r15), %rbx
	movq	%r15, %rdi
	callq	_LEN
	movl	%eax, %r15d
	leaq	4(%r14), %r13
	movq	%r14, %rdi
	callq	_LEN
	subl	%eax, %r15d
	movslq	%r15d, %rax
	movq	%rax, %r8
	negq	%r8
	xorl	%r9d, %r9d
	testl	%eax, %eax
	movl	$0, %eax
	cmovgq	%r8, %rax
	leaq	(%r12,%rax,4), %rsi
	movl	$1, %ecx
	cmpq	%rbx, %rsi
	jbe	LBB0_4
## %bb.1:
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r13), %edx
	movl	%edx, %eax
	notl	%eax
	testl	%eax, %edi
	jne	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rbx
	addq	$4, %r13
	cmpl	%edx, %edi
	cmovnel	%r9d, %ecx
	cmpq	%rsi, %rbx
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %rbx
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, (%rbx)
	leaq	4(%rbx), %rbx
	je	LBB0_4
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_7:
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.8:
	testl	%r15d, %r15d
	jns	LBB0_13
## %bb.9:
	leaq	(,%r8,4), %rax
	addq	%r13, %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %r13
	jae	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$0, (%r13)
	leaq	4(%r13), %r13
	je	LBB0_10
## %bb.12:
	movl	$1, %eax
	jmp	LBB0_15
LBB0_13:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_refines                     ; -- Begin function rn_refines
	.p2align	2
_rn_refines:                            ; @rn_refines
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_LEN
	add	x22, x19, w0, sxtw #2
	add	x23, x19, #4
	mov	x0, x19
	bl	_LEN
	mov	x19, x0
	add	x21, x20, #4
	mov	x0, x20
	bl	_LEN
	sub	w9, w19, w0
	sxtw	x10, w9
	cmp	w9, #0
	csneg	x8, xzr, x10, le
	add	x11, x22, x8, lsl #2
	mov	w8, #1
	cmp	x11, x23
	b.ls	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x23]
	ldr	w13, [x21]
	bics	wzr, w12, w13
	b.ne	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x23, x23, #4
	add	x21, x21, #4
	cmp	w12, w13
	csel	w8, w8, wzr, eq
	cmp	x23, x11
	b.lo	LBB0_1
LBB0_3:
	neg	x10, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x22
	b.hs	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x23], #4
	cbz	w11, LBB0_4
LBB0_6:
	mov	w0, #0
	b	LBB0_14
LBB0_7:
	cbz	w8, LBB0_13
; %bb.8:
	tbz	w9, #31, LBB0_13
; %bb.9:
	add	x9, x21, x10, lsl #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	x21, x9
	b.hs	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w10, [x21], #4
	cbz	w10, LBB0_10
; %bb.12:
	mov	w0, #1
	b	LBB0_14
LBB0_13:
	cmp	w8, #0
	cset	w0, eq
LBB0_14:
	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
.subsections_via_symbols
