	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsyslog                        ## -- Begin function vsyslog
	.p2align	4, 0x90
_vsyslog:                               ## @vsyslog
	.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
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -96(%rbp)
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_log_source@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PW32G
	cmpq	%rbx, %rax
	je	LBB0_1
## %bb.2:
	cmpl	$129, %r13d
	je	LBB0_3
LBB0_4:
	cmpl	$128, %r13d
	jne	LBB0_6
## %bb.5:
	movq	_PHP_SYSLOG_INFO_TYPE@GOTPCREL(%rip), %rax
	movq	_EVENTLOG_INFORMATION_TYPE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_1:
	movq	_LOG_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOG_SYSLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_openlog
	cmpl	$129, %r13d
	jne	LBB0_4
LBB0_3:
	movq	_PHP_SYSLOG_ERROR_TYPE@GOTPCREL(%rip), %rax
	movq	_EVENTLOG_ERROR_TYPE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_PHP_SYSLOG_WARNING_TYPE@GOTPCREL(%rip), %rax
	movq	_EVENTLOG_WARNING_TYPE@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movzwl	(%rcx), %r14d
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_vspprintf
	movq	_log_header@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_PW32G
	movq	%rax, %rdi
	callq	_php_win32_cp_any_to_w
	movq	%rax, %rbx
	movq	%rax, -80(%rbp)
	movq	-96(%rbp), %rdi
	callq	_php_win32_cp_any_to_w
	movq	%rax, -72(%rbp)
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.8:
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_log_source@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PW32G
	subq	$8, %rsp
	leaq	-80(%rbp), %rbx
	movzwl	%r14w, %esi
	movzwl	%r13w, %edx
	movq	%rax, %rdi
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	movl	$2, %r9d
	pushq	$0
	pushq	%rbx
	pushq	$0
	callq	_ReportEventW
	addq	$32, %rsp
	movq	-80(%rbp), %rdi
	callq	_free
	movq	-72(%rbp), %rdi
	callq	_free
	jmp	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	callq	_free
	movq	-72(%rbp), %rdi
	callq	_free
	movl	(%r15), %edi
	callq	_PW32G
	movq	%rax, -64(%rbp)
	movq	-96(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	_log_source@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PW32G
	subq	$8, %rsp
	leaq	-64(%rbp), %rbx
	movzwl	%r14w, %esi
	movzwl	%r13w, %edx
	movq	%rax, %rdi
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	movl	$2, %r9d
	pushq	$0
	pushq	%rbx
	pushq	$0
	callq	_ReportEventA
	addq	$32, %rsp
LBB0_11:
	movq	-96(%rbp), %rdi
	callq	_efree
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_log_source,4,2                 ## @log_source
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"php"

	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_SYSLOG,4,2                 ## @LOG_SYSLOG
	.comm	_EVENTLOG_ERROR_TYPE,2,1        ## @EVENTLOG_ERROR_TYPE
	.comm	_PHP_SYSLOG_ERROR_TYPE,4,2      ## @PHP_SYSLOG_ERROR_TYPE
	.comm	_EVENTLOG_INFORMATION_TYPE,2,1  ## @EVENTLOG_INFORMATION_TYPE
	.comm	_PHP_SYSLOG_INFO_TYPE,4,2       ## @PHP_SYSLOG_INFO_TYPE
	.comm	_EVENTLOG_WARNING_TYPE,2,1      ## @EVENTLOG_WARNING_TYPE
	.comm	_PHP_SYSLOG_WARNING_TYPE,4,2    ## @PHP_SYSLOG_WARNING_TYPE
	.comm	_log_header,4,2                 ## @log_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsyslog                        ; -- Begin function vsyslog
	.p2align	2
_vsyslog:                               ; @vsyslog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	xzr, [sp, #16]
Lloh3:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
Lloh6:
	adrp	x24, _log_source@GOTPAGE
Lloh7:
	ldr	x24, [x24, _log_source@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_PW32G
	cmp	x0, x20
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _LOG_PID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_PID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _LOG_SYSLOG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOG_SYSLOG@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_openlog
LBB0_2:
Lloh16:
	adrp	x8, _PHP_SYSLOG_ERROR_TYPE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PHP_SYSLOG_ERROR_TYPE@GOTPAGEOFF]
Lloh18:
	adrp	x9, _EVENTLOG_ERROR_TYPE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EVENTLOG_ERROR_TYPE@GOTPAGEOFF]
Lloh20:
	adrp	x10, _PHP_SYSLOG_WARNING_TYPE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _PHP_SYSLOG_WARNING_TYPE@GOTPAGEOFF]
Lloh22:
	adrp	x11, _EVENTLOG_WARNING_TYPE@GOTPAGE
Lloh23:
	ldr	x11, [x11, _EVENTLOG_WARNING_TYPE@GOTPAGEOFF]
	cmp	w19, #128
Lloh24:
	adrp	x12, _PHP_SYSLOG_INFO_TYPE@GOTPAGE
Lloh25:
	ldr	x12, [x12, _PHP_SYSLOG_INFO_TYPE@GOTPAGEOFF]
Lloh26:
	adrp	x13, _EVENTLOG_INFORMATION_TYPE@GOTPAGE
Lloh27:
	ldr	x13, [x13, _EVENTLOG_INFORMATION_TYPE@GOTPAGEOFF]
	csel	x11, x11, x13, ne
	csel	x10, x10, x12, ne
	cmp	w19, #129
	csel	x9, x9, x11, eq
	csel	x8, x8, x10, eq
	ldr	w20, [x8]
	ldrh	w21, [x9]
	add	x0, sp, #16
	mov	w1, #0
	mov	x2, x23
	mov	x3, x22
	bl	_vspprintf
Lloh28:
	adrp	x23, _log_header@GOTPAGE
Lloh29:
	ldr	x23, [x23, _log_header@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_PW32G
	bl	_php_win32_cp_any_to_w
	mov	x22, x0
	str	x0, [sp, #24]
	ldr	x0, [sp, #16]
	bl	_php_win32_cp_any_to_w
	str	x0, [sp, #32]
	cmp	x22, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_free
	ldr	x0, [sp, #32]
	bl	_free
	ldr	w0, [x23]
	bl	_PW32G
	ldr	x8, [sp, #16]
	stp	x0, x8, [sp, #40]
	ldr	w0, [x24]
	bl	_PW32G
	str	xzr, [sp]
	and	w2, w19, #0xffff
	add	x7, sp, #40
	mov	x1, x21
	mov	x3, x20
	mov	x4, #0
	mov	w5, #2
	mov	w6, #0
	bl	_ReportEventA
	b	LBB0_5
LBB0_4:
	ldr	w0, [x24]
	bl	_PW32G
	str	xzr, [sp]
	and	w2, w19, #0xffff
	add	x7, sp, #24
	mov	x1, x21
	mov	x3, x20
	mov	x4, #0
	mov	w5, #2
	mov	w6, #0
	bl	_ReportEventW
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x0, [sp, #32]
	bl	_free
LBB0_5:
	ldr	x0, [sp, #16]
	bl	_efree
	ldr	x8, [sp, #56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_log_source,4,2                 ; @log_source
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"php"

	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_SYSLOG,4,2                 ; @LOG_SYSLOG
	.comm	_EVENTLOG_ERROR_TYPE,2,1        ; @EVENTLOG_ERROR_TYPE
	.comm	_PHP_SYSLOG_ERROR_TYPE,4,2      ; @PHP_SYSLOG_ERROR_TYPE
	.comm	_EVENTLOG_INFORMATION_TYPE,2,1  ; @EVENTLOG_INFORMATION_TYPE
	.comm	_PHP_SYSLOG_INFO_TYPE,4,2       ; @PHP_SYSLOG_INFO_TYPE
	.comm	_EVENTLOG_WARNING_TYPE,2,1      ; @EVENTLOG_WARNING_TYPE
	.comm	_PHP_SYSLOG_WARNING_TYPE,4,2    ; @PHP_SYSLOG_WARNING_TYPE
	.comm	_log_header,4,2                 ; @log_header
.subsections_via_symbols
