	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_mm_mmap
_zend_mm_mmap:                          ## @zend_mm_mmap
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movq	_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rdi, %rsi
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movq	_MAP_ANON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ZEND_MM_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%r9d, %r9d
	callq	_mmap
	movq	_MAP_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	cmoveq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_MAP_ANON,4,2                   ## @MAP_ANON
	.comm	_ZEND_MM_FD,4,2                 ## @ZEND_MM_FD
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.comm	_MAP_HUGETLB,4,2                ## @MAP_HUGETLB
	.comm	_MEM_COMMIT,4,2                 ## @MEM_COMMIT
	.comm	_MEM_RESERVE,4,2                ## @MEM_RESERVE
	.comm	_PAGE_READWRITE,4,2             ## @PAGE_READWRITE
	.comm	_ZEND_MM_CHUNK_SIZE,8,3         ## @ZEND_MM_CHUNK_SIZE
	.comm	_errno,4,2                      ## @errno
	.comm	_stderr,4,2                     ## @stderr
	.comm	_zend_mm_use_huge_pages,8,3     ## @zend_mm_use_huge_pages
	.no_dead_strip	_zend_mm_mmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_mm_mmap
_zend_mm_mmap:                          ; @zend_mm_mmap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
Lloh0:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PROT_WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PROT_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh6:
	adrp	x8, _MAP_PRIVATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAP_PRIVATE@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MAP_ANON@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAP_ANON@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh12:
	adrp	x8, _ZEND_MM_FD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZEND_MM_FD@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, #0
	mov	w5, #0
	bl	_mmap
Lloh15:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x0, xzr, x0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_MAP_ANON,4,2                   ; @MAP_ANON
	.comm	_ZEND_MM_FD,4,2                 ; @ZEND_MM_FD
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.comm	_MAP_HUGETLB,4,2                ; @MAP_HUGETLB
	.comm	_MEM_COMMIT,4,2                 ; @MEM_COMMIT
	.comm	_MEM_RESERVE,4,2                ; @MEM_RESERVE
	.comm	_PAGE_READWRITE,4,2             ; @PAGE_READWRITE
	.comm	_ZEND_MM_CHUNK_SIZE,8,3         ; @ZEND_MM_CHUNK_SIZE
	.comm	_errno,4,2                      ; @errno
	.comm	_stderr,4,2                     ; @stderr
	.comm	_zend_mm_use_huge_pages,8,3     ; @zend_mm_use_huge_pages
	.no_dead_strip	_zend_mm_mmap
.subsections_via_symbols
