	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_jit_perf_jitdump_close
_zend_jit_perf_jitdump_close:           ## @zend_jit_perf_jitdump_close
	.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	_jitdump_fd@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	js	LBB0_3
## %bb.1:
	movq	_ZEND_PERF_JITDUMP_RECORD_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movl	$12, -24(%rbp)
	xorl	%eax, %eax
	callq	_zend_perf_timestamp
	movl	%eax, -20(%rbp)
	movq	(%rbx), %rdi
	leaq	-24(%rbp), %rsi
	movl	$12, %edx
	callq	_zend_quiet_write
	movq	(%rbx), %rdi
	callq	_close
	movq	_jitdump_mem@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MAP_FAILED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_3
## %bb.2:
	movq	__SC_PAGESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sysconf
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_munmap
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jitdump_fd,8,3                 ## @jitdump_fd
	.comm	_ZEND_PERF_JITDUMP_RECORD_CLOSE,4,2 ## @ZEND_PERF_JITDUMP_RECORD_CLOSE
	.comm	_jitdump_mem,8,3                ## @jitdump_mem
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.comm	__SC_PAGESIZE,4,2               ## @_SC_PAGESIZE
	.no_dead_strip	_zend_jit_perf_jitdump_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_jit_perf_jitdump_close
_zend_jit_perf_jitdump_close:           ; @zend_jit_perf_jitdump_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _jitdump_fd@GOTPAGE
Lloh1:
	ldr	x19, [x19, _jitdump_fd@GOTPAGEOFF]
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _ZEND_PERF_JITDUMP_RECORD_CLOSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZEND_PERF_JITDUMP_RECORD_CLOSE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #12
	str	w8, [sp, #8]
	str	w9, [sp]
	bl	_zend_perf_timestamp
	str	w0, [sp, #4]
	ldr	x0, [x19]
	mov	x1, sp
	mov	w2, #12
	bl	_zend_quiet_write
	ldr	x0, [x19]
	bl	_close
Lloh5:
	adrp	x8, _jitdump_mem@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jitdump_mem@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
Lloh8:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x19, x8
	b.eq	LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, __SC_PAGESIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, __SC_PAGESIZE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_sysconf
	mov	x1, x0
	mov	x0, x19
	bl	_munmap
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_jitdump_fd,8,3                 ; @jitdump_fd
	.comm	_ZEND_PERF_JITDUMP_RECORD_CLOSE,4,2 ; @ZEND_PERF_JITDUMP_RECORD_CLOSE
	.comm	_jitdump_mem,8,3                ; @jitdump_mem
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.comm	__SC_PAGESIZE,4,2               ; @_SC_PAGESIZE
	.no_dead_strip	_zend_jit_perf_jitdump_close
.subsections_via_symbols
