	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_head_check                     ## -- Begin function head_check
	.p2align	4, 0x90
_head_check:                            ## @head_check
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_STORAGE_LEV_START_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	$-10, %eax
	cmpq	%rcx, (%rsi)
	jl	LBB0_9
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	(%rbx), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, %rdi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_vk_pread
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movq	_STORAGE_LEV_START_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_vk_pread
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	(%rbx), %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	8(%r13), %esi
	movl	8(%r14), %edx
	leaq	L_.str(%rip), %rdi
	callq	_kprintf
	movl	$-9, %eax
	jmp	LBB0_8
LBB0_2:
	movl	$-7, %eax
	jmp	LBB0_8
LBB0_4:
	movl	$-8, %eax
	jmp	LBB0_8
LBB0_7:
	movl	8(%r14), %edx
	movl	8(%r13), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edi
	callq	_vkprintf
	movq	_STORAGE_LEV_START_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_crc32_partial
	movq	_crc32_complement@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_8:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STORAGE_LEV_START_SIZE,8,3     ## @STORAGE_LEV_START_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s isn't prefix of %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"First 36 bytes are equal (%s, %s).\n"

	.comm	_crc32_complement,4,2           ## @crc32_complement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_head_check                     ; -- Begin function head_check
	.p2align	2
_head_check:                            ; @head_check
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x9, [x1]
Lloh3:
	adrp	x24, _STORAGE_LEV_START_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _STORAGE_LEV_START_SIZE@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x9, x8
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #-10
	b	LBB0_10
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	mov	x23, sp
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xfffffffffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x2, [x24]
	mov	x9, x2
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0xfffffffffffffff0
	sub	x22, x8, x9
	mov	sp, x22
	mov	x1, x21
	mov	w3, #0
	bl	_vk_pread
	tbnz	x0, #63, LBB0_6
; %bb.3:
	ldr	x2, [x24]
	mov	x0, x19
	mov	x1, x22
	mov	w3, #0
	bl	_vk_pread
	tbnz	x0, #63, LBB0_7
; %bb.4:
	ldr	x2, [x24]
	mov	x0, x21
	mov	x1, x22
	bl	_memcmp
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w1, [x19, #8]
	ldr	w2, [x20, #8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_kprintf
	mov	w0, #-9
	b	LBB0_9
LBB0_6:
	mov	w0, #-7
	b	LBB0_9
LBB0_7:
	mov	w0, #-8
	b	LBB0_9
LBB0_8:
	ldr	w2, [x20, #8]
	ldr	w3, [x19, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	ldr	x1, [x24]
	mov	x0, x21
	mov	w2, #-1
	bl	_crc32_partial
	mov	x8, x0
	mov	w0, #0
Lloh13:
	adrp	x9, _crc32_complement@GOTPAGE
Lloh14:
	ldr	x9, [x9, _crc32_complement@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
LBB0_9:
	mov	sp, x23
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #48
	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
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_STORAGE_LEV_START_SIZE,8,3     ; @STORAGE_LEV_START_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s isn't prefix of %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"First 36 bytes are equal (%s, %s).\n"

	.comm	_crc32_complement,4,2           ; @crc32_complement
.subsections_via_symbols
