	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getpagesize                    ## -- Begin function getpagesize
	.p2align	4, 0x90
_getpagesize:                           ## @getpagesize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	_getpagesize.pagesize(%rip), %eax
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_npagesizes@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_pagesizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, _getpagesize.pagesize(%rip)
	testl	%eax, %eax
	jne	LBB0_6
LBB0_3:
	movq	_CTL_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_HW_PAGESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	$4, -40(%rbp)
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_nitems
	leaq	-44(%rbp), %rbx
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rbx
LBB0_5:
	movl	(%rbx), %eax
	movl	%eax, _getpagesize.pagesize(%rip)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getpagesize.pagesize,4,2 ## @getpagesize.pagesize
	.comm	_npagesizes,8,3                 ## @npagesizes
	.comm	_pagesizes,8,3                  ## @pagesizes
	.comm	_CTL_HW,4,2                     ## @CTL_HW
	.comm	_HW_PAGESIZE,4,2                ## @HW_PAGESIZE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getpagesize                    ; -- Begin function getpagesize
	.p2align	2
_getpagesize:                           ; @getpagesize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	adrp	x19, _getpagesize.pagesize@PAGE
	ldr	w0, [x19, _getpagesize.pagesize@PAGEOFF]
	cbnz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _npagesizes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _npagesizes@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _pagesizes@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pagesizes@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w0, [x8]
	str	w0, [x19, _getpagesize.pagesize@PAGEOFF]
	cbnz	w0, LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _CTL_HW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CTL_HW@GOTPAGEOFF]
Lloh11:
	adrp	x9, _HW_PAGESIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HW_PAGESIZE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	mov	w8, #4
	str	x8, [sp]
	add	x0, sp, #16
	bl	_nitems
	mov	x1, x0
	add	x20, sp, #12
	add	x0, sp, #16
	add	x2, sp, #12
	mov	x3, sp
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
Lloh15:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	cmn	w0, #1
	csel	x8, x8, x20, eq
	ldr	w0, [x8]
	str	w0, [x19, _getpagesize.pagesize@PAGEOFF]
LBB0_4:
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getpagesize.pagesize,4,2 ; @getpagesize.pagesize
	.comm	_npagesizes,8,3                 ; @npagesizes
	.comm	_pagesizes,8,3                  ; @pagesizes
	.comm	_CTL_HW,4,2                     ; @CTL_HW
	.comm	_HW_PAGESIZE,4,2                ; @HW_PAGESIZE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
