	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_page
_verify_page:                           ## @verify_page
	.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
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
LBB0_2:
	movq	_mtd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.3:
	xorl	%ebx, %ebx
	movq	_rbuffer@GOTPCREL(%rip), %r12
	movq	_seed@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	_mtd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %r15
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	callq	_hash
	cmpq	%rax, %r15
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	callq	_hash
	movq	(%r12), %rcx
	movq	(%rcx,%rbx,8), %rcx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_pr_err
	incl	%r14d
	jmp	LBB0_6
LBB0_7:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.8:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verify_page\n"

	.comm	_mtd,8,3                        ## @mtd
	.comm	_rbuffer,8,3                    ## @rbuffer
	.comm	_seed,8,3                       ## @seed
L_.str.1:                               ## @.str.1
	.asciz	"Error: page offset %u, expected %02x, got %02x\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_verify_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_page
_verify_page:                           ; @verify_page
	.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
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
LBB0_2:
Lloh2:
	adrp	x21, _mtd@GOTPAGE
Lloh3:
	ldr	x21, [x21, _mtd@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.3:
	mov	x19, #0
	mov	w22, #0
Lloh4:
	adrp	x23, _rbuffer@GOTPAGE
Lloh5:
	ldr	x23, [x23, _rbuffer@GOTPAGEOFF]
Lloh6:
	adrp	x24, _seed@GOTPAGE
Lloh7:
	ldr	x24, [x24, _seed@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, #1
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	x19, x8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x25, [x8, x19, lsl #3]
	ldr	x8, [x24]
	add	x0, x19, x8
	bl	_hash
	cmp	x25, x0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	add	x0, x19, x8
	bl	_hash
	mov	x2, x0
	ldr	x8, [x23]
	ldr	x3, [x8, x19, lsl #3]
	mov	x0, x20
	mov	x1, x19
	bl	_pr_err
	add	w22, w22, #1
	b	LBB0_4
LBB0_7:
	cbz	w22, LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verify_page\n"

	.comm	_mtd,8,3                        ; @mtd
	.comm	_rbuffer,8,3                    ; @rbuffer
	.comm	_seed,8,3                       ; @seed
l_.str.1:                               ; @.str.1
	.asciz	"Error: page offset %u, expected %02x, got %02x\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_verify_page
.subsections_via_symbols
