	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_cli_server_begin_send_static
_php_cli_server_begin_send_static:      ## @php_cli_server_begin_send_static
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	callq	_strlen
	cmpl	24(%rbx), %eax
	jne	LBB0_2
## %bb.4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	%eax, %r12d
	leaq	12(%rbx), %r15
	movq	%r15, %rdi
	callq	_php_cli_server_content_sender_ctor
	movl	$1, (%rbx)
	movl	%r12d, 4(%rbx)
	movq	$0, -48(%rbp)
	movl	36(%rbx), %edx
	movl	40(%rbx), %esi
	movq	%r14, %rdi
	callq	_get_mime_type
	movq	%rax, %r12
	movl	32(%rbx), %esi
	leaq	-48(%rbp), %rdi
	movl	$200, %edx
	movl	$1, %ecx
	callq	_append_http_status_line
	cmpl	$0, -48(%rbp)
	je	LBB0_14
## %bb.8:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_append_essential_headers
	testq	%r12, %r12
	je	LBB0_12
## %bb.9:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	$14, %edx
	movl	$1, %ecx
	callq	_smart_str_appendl_ex
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_smart_str_appends_ex
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$1, %edx
	callq	_smart_str_appends_ex
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_smart_str_appendl_ex
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_smart_str_appends_ex
	movl	28(%rbx), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_smart_str_append_unsigned_ex
	leaq	L_.str.3(%rip), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_smart_str_appendl_ex
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_smart_str_appendl_ex
	movl	-48(%rbp), %r12d
	movl	%r12d, %edi
	callq	_ZSTR_VAL
	movl	%eax, %r13d
	movl	-48(%rbp), %edi
	callq	_ZSTR_LEN
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_php_cli_server_chunk_heap_new
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_php_cli_server_buffer_append
	movq	%rbx, %rdi
	movl	$200, %esi
	xorl	%edx, %edx
	callq	_php_cli_server_log_response
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	callq	_php_cli_server_poller_add
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$404, %edx                      ## imm = 0x194
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$400, %edx                      ## imm = 0x190
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_cli_server_send_error_page ## TAILCALL
LBB0_13:
	leaq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_smart_str_free_ex
LBB0_14:
	movq	%rbx, %rdi
	movl	$500, %esi                      ## imm = 0x1F4
	xorl	%edx, %edx
	callq	_php_cli_server_log_response
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Content-Type: "

L_.str.1:                               ## @.str.1
	.asciz	"text/"

L_.str.2:                               ## @.str.2
	.asciz	"; charset=UTF-8"

L_.str.3:                               ## @.str.3
	.asciz	"\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"Content-Length: "

	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_php_cli_server_begin_send_static
.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_begin_send_static
_php_cli_server_begin_send_static:      ; @php_cli_server_begin_send_static
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #16]
	cbz	x0, LBB0_11
; %bb.1:
	bl	_strlen
	ldr	w8, [x19, #24]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.2:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.3:
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_11
; %bb.4:
	mov	x22, x0
	add	x21, x19, #12
	mov	x0, x21
	bl	_php_cli_server_content_sender_ctor
	mov	w8, #1
	stp	w8, w22, [x19]
	str	xzr, [sp, #8]
	ldp	w2, w1, [x19, #36]
	mov	x0, x20
	bl	_get_mime_type
	mov	x22, x0
	ldr	w1, [x19, #32]
	add	x0, sp, #8
	mov	w2, #200
	mov	w3, #1
	bl	_append_http_status_line
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_15
; %bb.5:
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #1
	bl	_append_essential_headers
	cbz	x22, LBB0_9
; %bb.6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w2, #14
	mov	w3, #1
	bl	_smart_str_appendl_ex
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #1
	bl	_smart_str_appends_ex
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w2, #5
	bl	_strncmp
	cbnz	x0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	w2, #1
	bl	_smart_str_appends_ex
LBB0_8:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	w2, #2
	mov	w3, #1
	bl	_smart_str_appendl_ex
LBB0_9:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	mov	w2, #1
	bl	_smart_str_appends_ex
	ldr	w1, [x19, #28]
	add	x0, sp, #8
	mov	w2, #1
	bl	_smart_str_append_unsigned_ex
Lloh13:
	adrp	x22, l_.str.3@PAGE
Lloh14:
	add	x22, x22, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #2
	mov	w3, #1
	bl	_smart_str_appendl_ex
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #2
	mov	w3, #1
	bl	_smart_str_appendl_ex
	ldr	w22, [sp, #8]
	mov	x0, x22
	bl	_ZSTR_VAL
	mov	x23, x0
	ldr	w0, [sp, #8]
	bl	_ZSTR_LEN
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_php_cli_server_chunk_heap_new
	cbz	x0, LBB0_14
; %bb.10:
	mov	x1, x0
	mov	x0, x21
	bl	_php_cli_server_buffer_append
	mov	x0, x19
	mov	w1, #200
	mov	x2, #0
	bl	_php_cli_server_log_response
Lloh15:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x20
	bl	_php_cli_server_poller_add
Lloh18:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #404
	b	LBB0_13
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #400
LBB0_13:
	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
	b	_php_cli_server_send_error_page
LBB0_14:
	add	x0, sp, #8
	mov	w1, #1
	bl	_smart_str_free_ex
LBB0_15:
	mov	x0, x19
	mov	w1, #500
	mov	x2, #0
	bl	_php_cli_server_log_response
Lloh20:
	adrp	x8, _FAILURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Content-Type: "

l_.str.1:                               ; @.str.1
	.asciz	"text/"

l_.str.2:                               ; @.str.2
	.asciz	"; charset=UTF-8"

l_.str.3:                               ; @.str.3
	.asciz	"\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"Content-Length: "

	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_php_cli_server_begin_send_static
.subsections_via_symbols
