	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i3000_is_interleaved
_i3000_is_interleaved:                  ## @i3000_is_interleaved
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_I3000_RANKS_PER_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	$2, %edx
	jl	LBB0_5
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%r12), %edi
	callq	_odd_rank_attrib
	movq	%rax, %r14
	movzbl	(%r13,%r12), %edi
	callq	_odd_rank_attrib
	cmpq	%rax, %r14
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r15,%r12), %edi
	callq	_even_rank_attrib
	movq	%rax, %rbx
	movzbl	(%r13,%r12), %edi
	callq	_even_rank_attrib
	cmpq	%rax, %rbx
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	_I3000_RANKS_PER_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %r12
	jl	LBB0_2
LBB0_5:
	movl	$1, %eax
	testl	%edx, %edx
	jle	LBB0_10
## %bb.6:
	movl	%edx, %esi
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rcx), %edx
	cmpb	(%rdi,%rcx), %dl
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_8
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I3000_RANKS_PER_CHANNEL,4,2    ## @I3000_RANKS_PER_CHANNEL
	.no_dead_strip	_i3000_is_interleaved
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i3000_is_interleaved
_i3000_is_interleaved:                  ; @i3000_is_interleaved
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
Lloh0:
	adrp	x24, _I3000_RANKS_PER_CHANNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _I3000_RANKS_PER_CHANNEL@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.le	LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x22, x0
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x22, x25]
	bl	_odd_rank_attrib
	mov	x23, x0
	ldrb	w0, [x21, x25]
	bl	_odd_rank_attrib
	cmp	x23, x0
	b.ne	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w0, [x22, x25]
	bl	_even_rank_attrib
	mov	x23, x0
	ldrb	w0, [x21, x25]
	bl	_even_rank_attrib
	cmp	x23, x0
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	ldr	w8, [x24]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	cmp	x25, w9, sxtw
	b.lt	LBB0_2
LBB0_5:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	w8, w8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20]
	ldrb	w10, [x19]
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x19, #1
	add	x20, x20, #1
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_9:
	mov	w0, #1
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I3000_RANKS_PER_CHANNEL,4,2    ; @I3000_RANKS_PER_CHANNEL
	.no_dead_strip	_i3000_is_interleaved
.subsections_via_symbols
