	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cli_server                  ## -- Begin function do_cli_server
	.p2align	4, 0x90
_do_cli_server:                         ## @do_cli_server
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -64(%rbp)
	movl	$1, -52(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_OPTIONS@GOTPCREL(%rip), %r15
	leaq	-64(%rbp), %r14
	leaq	-52(%rbp), %r13
	xorl	%eax, %eax
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$116, %eax
	je	LBB0_8
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	subq	$8, %rsp
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	pushq	$2
	callq	_php_getopt
	addq	$16, %rsp
	cmpl	$112, %eax
	jle	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$113, %eax
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_php_cli_server_log_level@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=2
	decl	%eax
	movq	_php_cli_server_log_level@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$83, %eax
	jne	LBB0_2
	jmp	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	-64(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax
	jmp	LBB0_1
LBB0_11:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_12
## %bb.13:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_php_sys_stat
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rsi
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %ebx
	jmp	LBB0_24
LBB0_12:
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_19
LBB0_15:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testl	%eax, %eax
	je	LBB0_16
## %bb.18:
	movq	%r14, %rdi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_VCWD_REALPATH
	testq	%rax, %rax
	cmoveq	%r14, %r13
LBB0_19:
	movslq	-52(%rbp), %rax
	cmpl	%ebx, %eax
	jge	LBB0_20
## %bb.21:
	movq	(%r12,%rax,8), %rcx
	jmp	LBB0_22
LBB0_20:
	xorl	%ecx, %ecx
LBB0_22:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_server@GOTPCREL(%rip), %rdi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_php_cli_server_ctor
	movl	$1, %ebx
	cmpq	%rax, %r14
	je	LBB0_24
## %bb.23:
	movq	_sapi_module@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_PHP_CLI_SERVER_LOG_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PHP_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rcx
	callq	_php_cli_server_logf
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_zend_signal_init
	movq	_server@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_php_cli_server_do_event_loop
	movq	%r14, %rdi
	callq	_php_cli_server_dtor
LBB0_24:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_17
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_php_cli_server_log_level,4,2   ## @php_cli_server_log_level
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Directory %s does not exist.\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s is not a directory.\n"

L_.str.2:                               ## @.str.2
	.asciz	"."

	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_server,4,2                     ## @server
	.comm	_sapi_module,8,3                ## @sapi_module
	.comm	_PHP_CLI_SERVER_LOG_PROCESS,4,2 ## @PHP_CLI_SERVER_LOG_PROCESS
L_.str.3:                               ## @.str.3
	.asciz	"PHP %s Development Server (http://%s) started"

	.comm	_PHP_VERSION,4,2                ## @PHP_VERSION
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_php_cli_server_sigint_handler,4,2 ## @php_cli_server_sigint_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cli_server                  ; -- Begin function do_cli_server
	.p2align	2
_do_cli_server:                         ; @do_cli_server
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x20, x1
	mov	x21, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stur	xzr, [x29, #-80]
	mov	w8, #1
	stur	w8, [x29, #-84]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	mov	x22, #0
	mov	x19, #0
Lloh8:
	adrp	x24, _OPTIONS@GOTPAGE
Lloh9:
	ldr	x24, [x24, _OPTIONS@GOTPAGEOFF]
Lloh10:
	adrp	x26, _php_cli_server_log_level@GOTPAGE
Lloh11:
	ldr	x26, [x26, _php_cli_server_log_level@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #116
	b.eq	LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x3, x29, #80
	sub	x4, x29, #84
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	w5, #0
	mov	w6, #2
	bl	_php_getopt
	cmp	w0, #112
	b.le	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #113
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, #1
	str	w8, [x26]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #83
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x19, [x29, #-80]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldur	x22, [x29, #-80]
	b	LBB0_2
LBB0_10:
	cbz	x22, LBB0_14
; %bb.11:
	sub	x1, x29, #88
	mov	x0, x22
	bl	_php_sys_stat
	cbz	x0, LBB0_15
; %bb.12:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
LBB0_13:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	x22, [sp, #-16]!
	bl	_fprintf
	add	sp, sp, #16
	mov	w0, #1
	b	LBB0_23
LBB0_14:
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_15:
	ldur	w0, [x29, #-88]
	bl	_S_ISDIR
	cbz	w0, LBB0_25
; %bb.16:
	mov	x0, x22
	mov	x1, x23
	bl	_VCWD_REALPATH
	cmp	x0, #0
	csel	x2, x22, x23, eq
LBB0_17:
	ldursw	x8, [x29, #-84]
	cmp	w8, w21
	b.ge	LBB0_19
; %bb.18:
	ldr	x3, [x20, x8, lsl #3]
	b	LBB0_20
LBB0_19:
	mov	x3, #0
LBB0_20:
Lloh19:
	adrp	x8, _FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh21:
	ldr	x20, [x8]
Lloh22:
	adrp	x0, _server@GOTPAGE
Lloh23:
	ldr	x0, [x0, _server@GOTPAGEOFF]
	mov	x1, x19
	bl	_php_cli_server_ctor
	cmp	x20, x0
	b.ne	LBB0_22
; %bb.21:
	mov	w0, #1
	b	LBB0_23
LBB0_22:
Lloh24:
	adrp	x8, _sapi_module@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sapi_module@GOTPAGEOFF]
Lloh26:
	str	xzr, [x8]
Lloh27:
	adrp	x8, _PHP_CLI_SERVER_LOG_PROCESS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PHP_CLI_SERVER_LOG_PROCESS@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _PHP_VERSION@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PHP_VERSION@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x3, x19
	bl	_php_cli_server_logf
	bl	_zend_signal_init
Lloh35:
	adrp	x19, _server@GOTPAGE
Lloh36:
	ldr	x19, [x19, _server@GOTPAGEOFF]
	mov	x0, x19
	bl	_php_cli_server_do_event_loop
	mov	x0, x19
	bl	_php_cli_server_dtor
	mov	w0, #0
LBB0_23:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.24:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_25:
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_php_cli_server_log_level,4,2   ; @php_cli_server_log_level
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Directory %s does not exist.\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s is not a directory.\n"

l_.str.2:                               ; @.str.2
	.asciz	"."

	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_server,4,2                     ; @server
	.comm	_sapi_module,8,3                ; @sapi_module
	.comm	_PHP_CLI_SERVER_LOG_PROCESS,4,2 ; @PHP_CLI_SERVER_LOG_PROCESS
l_.str.3:                               ; @.str.3
	.asciz	"PHP %s Development Server (http://%s) started"

	.comm	_PHP_VERSION,4,2                ; @PHP_VERSION
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_php_cli_server_sigint_handler,4,2 ; @php_cli_server_sigint_handler
.subsections_via_symbols
