	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_cli_server_do_event_loop
_php_cli_server_do_event_loop:          ## @php_cli_server_do_event_loop
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	$0, 8(%rdi)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %r15
	movq	_php_cli_server_recv_event_read_request@GOTPCREL(%rip), %r12
	movq	_php_cli_server_send_event@GOTPCREL(%rip), %r13
	movq	_SOCK_EINTR@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_php_cli_server_do_event_for_each_fd
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$1, -56(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_php_cli_server_poller_poll
	testl	%eax, %eax
	jg	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_php_socket_errno
	cmpl	(%r14), %eax
	je	LBB0_4
## %bb.8:
	movq	_php_cli_server_log_level@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_PHP_CLI_SERVER_LOG_ERROR@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rcx
	jl	LBB0_10
## %bb.9:
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_php_socket_strerror
	movq	%rax, %rbx
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_php_cli_server_logf
	movq	%rbx, %rdi
	callq	_efree
LBB0_10:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_5:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_php_cli_server_recv_event_read_request,4,2 ## @php_cli_server_recv_event_read_request
	.comm	_php_cli_server_send_event,4,2  ## @php_cli_server_send_event
	.comm	_SOCK_EINTR,4,2                 ## @SOCK_EINTR
	.comm	_php_cli_server_log_level,8,3   ## @php_cli_server_log_level
	.comm	_PHP_CLI_SERVER_LOG_ERROR,8,3   ## @PHP_CLI_SERVER_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_php_cli_server_do_event_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_cli_server_do_event_loop
_php_cli_server_do_event_loop:          ; @php_cli_server_do_event_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
Lloh0:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.1:
	mov	x20, x0
	mov	w21, #1
Lloh3:
	adrp	x22, _php_cli_server_recv_event_read_request@GOTPAGE
Lloh4:
	ldr	x22, [x22, _php_cli_server_recv_event_read_request@GOTPAGEOFF]
Lloh5:
	adrp	x23, _php_cli_server_send_event@GOTPAGE
Lloh6:
	ldr	x23, [x23, _php_cli_server_send_event@GOTPAGEOFF]
Lloh7:
	adrp	x24, _SOCK_EINTR@GOTPAGE
Lloh8:
	ldr	x24, [x24, _SOCK_EINTR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_php_cli_server_do_event_for_each_fd
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	x21, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_php_cli_server_poller_poll
	cmp	w0, #1
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_php_socket_errno
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.7:
Lloh9:
	adrp	x8, _php_cli_server_log_level@GOTPAGE
Lloh10:
	ldr	x8, [x8, _php_cli_server_log_level@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x20, _PHP_CLI_SERVER_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x20, [x20, _PHP_CLI_SERVER_LOG_ERROR@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.8:
	mov	x1, #0
	mov	w2, #0
	bl	_php_socket_strerror
	mov	x19, x0
	ldr	x0, [x20]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_php_cli_server_logf
	mov	x0, x19
	bl	_efree
LBB0_9:
Lloh16:
	adrp	x8, _FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh18:
	ldr	w19, [x8]
LBB0_10:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_php_cli_server_recv_event_read_request,4,2 ; @php_cli_server_recv_event_read_request
	.comm	_php_cli_server_send_event,4,2  ; @php_cli_server_send_event
	.comm	_SOCK_EINTR,4,2                 ; @SOCK_EINTR
	.comm	_php_cli_server_log_level,8,3   ; @php_cli_server_log_level
	.comm	_PHP_CLI_SERVER_LOG_ERROR,8,3   ; @PHP_CLI_SERVER_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_php_cli_server_do_event_loop
.subsections_via_symbols
