	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function block_cmp
_block_cmp:                             ## @block_cmp
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, -1080(%rbp)               ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, -1076(%rbp)               ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rbp), %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	___bzero
	imull	(%r14), %r15d
	xorl	%eax, %eax
	movl	$0, %edx
	testl	%r13d, %r13d
	jle	LBB0_9
## %bb.1:
	movslq	-1076(%rbp), %r9                ## 4-byte Folded Reload
	movslq	-1080(%rbp), %r10               ## 4-byte Folded Reload
	movl	%r15d, %r8d
	movl	%r8d, %edi
	andl	$-2, %edi
	shlq	$2, %r9
	shlq	$2, %r10
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r9, %rbx
	addq	%r10, %r12
	incl	%esi
	cmpl	%r13d, %esi
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	cmpl	$1, %r15d
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12,%rcx,4), %edx
	xorl	(%rbx,%rcx,4), %edx
	movslq	%edx, %rdx
	incl	-1072(%rbp,%rdx,4)
	movl	4(%r12,%rcx,4), %edx
	xorl	4(%rbx,%rcx,4), %edx
	movslq	%edx, %rdx
	incl	-1072(%rbp,%rdx,4)
	addq	$2, %rcx
	cmpq	%rcx, %rdi
	jne	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12,%rcx,4), %edx
	xorl	(%rbx,%rcx,4), %edx
	movslq	%edx, %rcx
	incl	-1072(%rbp,%rcx,4)
	jmp	LBB0_7
LBB0_8:
	movl	-1072(%rbp), %edx
LBB0_9:
	imull	%r13d, %r15d
	xorl	%ecx, %ecx
	cmpl	%r15d, %edx
	setl	%cl
	movq	24(%rbp), %rsi
	movl	%ecx, (%rsi)
	jge	LBB0_12
## %bb.10:
	movq	8(%r14), %rcx
	movslq	%edx, %rax
	movl	(%rcx,%rax,8), %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movslq	-1068(%rbp,%rdx,4), %rsi
	addl	(%rcx,%rsi,8), %eax
	movslq	-1064(%rbp,%rdx,4), %rsi
	addl	(%rcx,%rsi,8), %eax
	movslq	-1060(%rbp,%rdx,4), %rsi
	addl	(%rcx,%rsi,8), %eax
	movslq	-1056(%rbp,%rdx,4), %rsi
	addl	(%rcx,%rsi,8), %eax
	movslq	-1052(%rbp,%rdx,4), %rsi
	addl	(%rcx,%rsi,8), %eax
	addq	$5, %rdx
	cmpq	$255, %rdx
	jne	LBB0_11
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_block_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function block_cmp
_block_cmp:                             ; @block_cmp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1040
	mov	x19, x7
	mov	x21, x6
	mov	x26, x5
	mov	x24, x4
	mov	x22, x3
	mov	x25, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x27, sp, #8
	add	x0, sp, #8
	mov	w1, #1024
	bl	_bzero
	ldr	w8, [x20]
	mul	w8, w8, w26
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w9, #0
	sbfiz	x10, x24, #2, #32
	sbfiz	x11, x25, #2, #32
	lsl	x12, x8, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	add	x22, x22, x10
	add	x23, x23, x11
	cmp	w9, w21
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x13, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x23, x13]
	ldr	w15, [x22, x13]
	eor	w14, w15, w14
	sbfiz	x14, x14, #2, #32
	ldr	w15, [x27, x14]
	add	w15, w15, #1
	str	w15, [x27, x14]
	add	x13, x13, #4
	cmp	x12, x13
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ldr	w13, [sp, #8]
	b	LBB0_8
LBB0_7:
	mov	w13, #0
LBB0_8:
	mul	w8, w8, w21
	cmp	w13, w8
	cset	w8, lt
	str	w8, [x19]
	b.ge	LBB0_12
; %bb.9:
	mov	x12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w9, #0
	ldr	x8, [x20, #8]
	ldr	x13, [x8, w13, sxtw #3]
	add	x14, sp, #8
	add	x14, x14, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x15, x14, x12
	ldpsw	x16, x17, [x15, #-4]
	ldpsw	x0, x15, [x15, #4]
	ldr	x16, [x8, x16, lsl #3]
	ldr	x17, [x8, x17, lsl #3]
	ldr	x0, [x8, x0, lsl #3]
	ldr	x15, [x8, x15, lsl #3]
	add	w13, w13, w16
	add	w11, w11, w17
	add	w10, w10, w0
	add	w9, w9, w15
	add	x12, x12, #16
	cmp	x12, #1008
	b.ne	LBB0_10
; %bb.11:
	add	w11, w11, w13
	add	w10, w10, w11
	ldrsw	x11, [sp, #1020]
	ldr	x11, [x8, x11, lsl #3]
	ldrsw	x12, [sp, #1024]
	ldr	x12, [x8, x12, lsl #3]
	add	w9, w9, w10
	add	w9, w9, w11
	ldrsw	x10, [sp, #1028]
	ldr	x8, [x8, x10, lsl #3]
	add	w9, w9, w12
	add	w0, w9, w8
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_block_cmp
.subsections_via_symbols
