	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	_getpagesize.value(%rip), %eax
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_AT_PAGESZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_getpagesize.value(%rip), %rsi
	movl	$4, %edx
	callq	__elf_aux_info
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	_getpagesize.value(%rip), %eax
	testl	%eax, %eax
	jne	LBB0_6
LBB0_3:
	movq	_CTL_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_HW_PAGESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	$4, -32(%rbp)
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_nitems
	leaq	_getpagesize.value(%rip), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	movl	_getpagesize.value(%rip), %eax
	jmp	LBB0_6
LBB0_4:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getpagesize.value,4,2 ## @getpagesize.value
	.comm	_AT_PAGESZ,4,2                  ## @AT_PAGESZ
	.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	x20, _getpagesize.value@PAGE
	ldr	w0, [x20, _getpagesize.value@PAGEOFF]
	cbnz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _AT_PAGESZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT_PAGESZ@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x19, _getpagesize.value@PAGE
Lloh7:
	add	x19, x19, _getpagesize.value@PAGEOFF
	mov	x1, x19
	mov	w2, #4
	bl	__elf_aux_info
	mov	x8, x0
	ldr	w0, [x19]
	cmp	w8, #0
	ccmp	w0, #0, #4, eq
	b.ne	LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _CTL_HW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CTL_HW@GOTPAGEOFF]
Lloh10:
	adrp	x9, _HW_PAGESIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HW_PAGESIZE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	mov	w8, #4
	str	x8, [sp, #8]
	add	x0, sp, #16
	bl	_nitems
	mov	x1, x0
Lloh14:
	adrp	x2, _getpagesize.value@PAGE
Lloh15:
	add	x2, x2, _getpagesize.value@PAGEOFF
	add	x0, sp, #16
	add	x3, sp, #8
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20, _getpagesize.value@PAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
LBB0_5:
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getpagesize.value,4,2 ; @getpagesize.value
	.comm	_AT_PAGESZ,4,2                  ; @AT_PAGESZ
	.comm	_CTL_HW,4,2                     ; @CTL_HW
	.comm	_HW_PAGESIZE,4,2                ; @HW_PAGESIZE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
