	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sapi_cgi_log_message
_sapi_cgi_log_message:                  ## @sapi_cgi_log_message
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_fcgi_is_fastcgi
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_fcgi_logging@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CGIG
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_server_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SG
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r12
	leal	2(%rax), %edi
	callq	_malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movslq	%r12d, %rbx
	leaq	(%r15,%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_memcpy
	movq	_FCGI_STDERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%ebx
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_fcgi_write
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	testl	%ebx, %ebx
	js	LBB0_4
## %bb.6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_handle_aborted_connection  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fcgi_logging,4,2               ## @fcgi_logging
	.comm	_server_context,4,2             ## @server_context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_FCGI_STDERR,4,2                ## @FCGI_STDERR
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_sapi_cgi_log_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sapi_cgi_log_message
_sapi_cgi_log_message:                  ; @sapi_cgi_log_message
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_fcgi_is_fastcgi
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _fcgi_logging@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fcgi_logging@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CGIG
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _server_context@GOTPAGE
Lloh4:
	ldr	x8, [x8, _server_context@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SG
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	add	w0, w21, #2
	bl	_malloc
	mov	x22, x0
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	add	x0, x22, w21, sxtw
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_memcpy
Lloh8:
	adrp	x8, _FCGI_STDERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FCGI_STDERR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	w3, w21, #1
	mov	x0, x20
	mov	x2, x22
	bl	_fcgi_write
	mov	x19, x0
	mov	x0, x22
	bl	_free
	tbnz	w19, #31, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fprintf
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_php_handle_aborted_connection
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_fcgi_logging,4,2               ; @fcgi_logging
	.comm	_server_context,4,2             ; @server_context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_FCGI_STDERR,4,2                ; @FCGI_STDERR
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_sapi_cgi_log_message
.subsections_via_symbols
