	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_eofpage                  ## -- Begin function check_eofpage
	.p2align	4, 0x90
_check_eofpage:                         ## @check_eofpage
	.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
	movl	%ecx, %r15d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	leal	(%r15,%rsi), %r8d
	movq	_file_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_page_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	movl	%ebx, %edi
	andl	%ecx, %edi
	cmpl	%edi, %r8d
	jbe	LBB0_6
## %bb.1:
	andl	%eax, %esi
	addl	%edx, %r15d
	addl	%esi, %r15d
	andl	%ecx, %r15d
	andl	%eax, %ebx
	addq	%r15, %rbx
	movq	_page_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%r15), %rcx
	cmpq	%rcx, %rbx
	jae	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_file_size@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	decl	%r13d
	movq	_page_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%ebx, %r12d
	movq	%rbx, %rdi
	callq	_short_at
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	movl	%eax, %r8d
	callq	_prt
	movl	$205, %edi
	callq	_report_failure
	movq	_page_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_file_size,4,2                  ## @file_size
	.comm	_page_mask,4,2                  ## @page_mask
	.comm	_page_size,8,3                  ## @page_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mapped %s: non-zero data past EOF (0x%llx) page offset 0x%x is 0x%04x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_eofpage                  ; -- Begin function check_eofpage
	.p2align	2
_check_eofpage:                         ; @check_eofpage
	.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
Lloh0:
	adrp	x24, _file_size@GOTPAGE
Lloh1:
	ldr	x24, [x24, _file_size@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x25, _page_mask@GOTPAGE
Lloh3:
	ldr	x25, [x25, _page_mask@GOTPAGEOFF]
	ldr	w9, [x25]
	bic	w10, w8, w9
	add	w11, w3, w1
	cmp	w11, w10
	b.ls	LBB0_6
; %bb.1:
	mvn	w10, w9
	and	w11, w9, w1
	add	w12, w3, w2
	add	w11, w12, w11
	and	x26, x11, x10
	and	x8, x9, x8
	add	x20, x26, x8
Lloh4:
	adrp	x27, _page_size@GOTPAGE
Lloh5:
	ldr	x27, [x27, _page_size@GOTPAGEOFF]
	ldr	x8, [x27]
	add	x9, x8, x26
	cmp	x20, x9
	b.hs	LBB0_6
; %bb.2:
	mov	x19, x0
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	add	x9, x8, x26
	cmp	x20, x9
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20]
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	sub	w22, w8, #1
	ldr	w8, [x25]
	and	x23, x20, x8
	mov	x0, x20
	bl	_short_at
	mov	x4, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x23
	bl	_prt
	mov	w0, #205
	bl	_report_failure
	ldr	x8, [x27]
	b	LBB0_3
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_file_size,4,2                  ; @file_size
	.comm	_page_mask,4,2                  ; @page_mask
	.comm	_page_size,8,3                  ; @page_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mapped %s: non-zero data past EOF (0x%llx) page offset 0x%x is 0x%04x\n"

.subsections_via_symbols
