	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -112(%rbp)
	movl	$0, -100(%rbp)
	cmpl	$2, %edi
	jl	LBB0_5
## %bb.1:
	leaq	-100(%rbp), %rdx
	leaq	-128(%rbp), %rcx
	leaq	-112(%rbp), %r8
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_parse_opt
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$0, -100(%rbp)
	je	LBB0_5
## %bb.4:
	movq	_lsapi_sapi_module@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_6
LBB0_5:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_setArgv0
LBB0_6:
	movq	_lsapi_sapi_module@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_sapi_startup
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_init_sapi_from_env
	movq	_ignore_php_ini@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movl	$1, 16(%rbx)
LBB0_8:
	movq	-128(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, 24(%rbx)
LBB0_10:
	movq	_sapi_lsapi_ini_defaults@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_litespeed_module_entry@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_php_module_startup
	movq	%rax, %r13
	movq	_FAILURE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_28
## %bb.11:
	cmpl	$0, -100(%rbp)
	je	LBB0_13
## %bb.12:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_cli_main
	movl	%eax, %r13d
	jmp	LBB0_28
LBB0_2:
	movl	$1, %r13d
	jmp	LBB0_28
LBB0_13:
	movq	-112(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.14:
	movl	$10, %esi
	callq	_LSAPI_CreateListenSock
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_30
## %bb.16:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_dup2
	movl	%ebx, %edi
	callq	_close
LBB0_17:
	xorl	%eax, %eax
	callq	_LSAPI_Init
	xorl	%edi, %edi
	callq	_LSAPI_Init_Env_Parameters
	movq	_lsapi_mode@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	callq	_LSAPI_Get_Slow_Req_Msecs
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	cmpq	$0, -112(%rbp)
	je	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_LSAPI_No_Check_ppid
	movq	-112(%rbp), %rdi
	callq	_free
	movq	$0, -112(%rbp)
LBB0_19:
	movq	_lsapi_atexit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_atexit
	movq	_g_req@GOTPCREL(%rip), %r14
	leaq	-152(%rbp), %r12
	leaq	-168(%rbp), %rbx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	xorl	%eax, %eax
	callq	_processReq
	movl	%eax, %r13d
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	xorl	%eax, %eax
	callq	_LSAPI_Finish
	testl	%r13d, %r13d
	jne	LBB0_27
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_LSAPI_Prefork_Accept_r
	testl	%eax, %eax
	js	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$0, -116(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	xorl	%eax, %eax
	callq	_processReq
	movl	%eax, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movl	-168(%rbp), %eax
	movl	-160(%rbp), %ecx
	subl	-152(%rbp), %eax
	subl	-144(%rbp), %ecx
	movslq	%ecx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	imull	$1000, %eax, %r15d              ## imm = 0x3E8
	addl	%ecx, %r15d
	cmpl	-116(%rbp), %r15d               ## 4-byte Folded Reload
	jle	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	callq	_localtime
	leaq	-96(%rbp), %rdi
	movl	$30, %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%eax, %ecx
	callq	_strftime
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_LSAPI_GetRequestMethod
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_LSAPI_GetScriptName
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_LSAPI_GetQueryString
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_LSAPI_GetScriptFileName
	movq	%rax, %r10
	movl	-120(%rbp), %edi                ## 4-byte Reload
	leaq	L_.str.2(%rip), %rsi
	leaq	-96(%rbp), %rdx
	movl	%r15d, %ecx
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	movq	%r14, %r9
	movq	_g_req@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r12
	leaq	-152(%rbp), %r12
	callq	_fprintf
	addq	$16, %rsp
	jmp	LBB0_26
LBB0_21:
	xorl	%r13d, %r13d
LBB0_27:
	xorl	%eax, %eax
	callq	_php_module_shutdown
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.29:
	movl	%r13d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
LBB0_30:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-112(%rbp), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_lsapi_sapi_module,40,3         ## @lsapi_sapi_module
	.comm	_ignore_php_ini,8,3             ## @ignore_php_ini
	.comm	_sapi_lsapi_ini_defaults,4,2    ## @sapi_lsapi_ini_defaults
	.comm	_litespeed_module_entry,4,2     ## @litespeed_module_entry
	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to bind socket [%s]: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_lsapi_mode,4,2                 ## @lsapi_mode
	.comm	_lsapi_atexit,4,2               ## @lsapi_atexit
	.comm	_g_req,4,2                      ## @g_req
L_.str.1:                               ## @.str.1
	.asciz	"%d/%b/%Y:%H:%M:%S"

L_.str.2:                               ## @.str.2
	.asciz	"[%s] Slow PHP script: %d ms\n  URL: %s %s\n  Query String: %s\n  Script: %s\n"

	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_compiler_globals,8,3           ## @compiler_globals
	.comm	_compiler_globals_id,4,2        ## @compiler_globals_id
	.comm	_core_globals,8,3               ## @core_globals
	.comm	_core_globals_id,4,2            ## @core_globals_id
	.comm	_executor_globals,8,3           ## @executor_globals
	.comm	_executor_globals_id,4,2        ## @executor_globals_id
	.comm	_request_info,4,2               ## @request_info
	.comm	_sapi_globals,8,3               ## @sapi_globals
	.comm	_sapi_globals_id,4,2            ## @sapi_globals_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stp	xzr, xzr, [sp, #80]
	str	wzr, [sp, #76]
Lloh3:
	adrp	x20, _lsapi_sapi_module@GOTPAGE
Lloh4:
	ldr	x20, [x20, _lsapi_sapi_module@GOTPAGEOFF]
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.1:
	add	x2, sp, #76
	add	x3, sp, #88
	add	x4, sp, #80
	mov	x0, x21
	mov	x1, x19
	bl	_parse_opt
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.2:
	ldr	w8, [sp, #76]
	cbz	w8, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	bl	_setArgv0
LBB0_5:
	mov	x0, x20
	bl	_sapi_startup
	ldr	x8, [x19]
	str	x8, [x20, #8]
	mov	x0, x20
	bl	_init_sapi_from_env
Lloh5:
	adrp	x8, _ignore_php_ini@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ignore_php_ini@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x20, #16]
LBB0_7:
	ldr	x8, [sp, #88]
	cbz	x8, LBB0_9
; %bb.8:
	str	x8, [x20, #24]
LBB0_9:
Lloh8:
	adrp	x8, _sapi_lsapi_ini_defaults@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sapi_lsapi_ini_defaults@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh11:
	adrp	x1, _litespeed_module_entry@GOTPAGE
Lloh12:
	ldr	x1, [x1, _litespeed_module_entry@GOTPAGEOFF]
	mov	x0, x20
	mov	w2, #1
	bl	_php_module_startup
Lloh13:
	adrp	x8, _FAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x20, x0
	b	LBB0_29
LBB0_11:
	ldr	w8, [sp, #76]
	cbz	w8, LBB0_14
; %bb.12:
	mov	x0, x21
	mov	x1, x19
	bl	_cli_main
	mov	x20, x0
	b	LBB0_29
LBB0_13:
	mov	w20, #1
	b	LBB0_29
LBB0_14:
	ldr	x0, [sp, #80]
	cbz	x0, LBB0_18
; %bb.15:
	mov	w1, #10
	bl	_LSAPI_CreateListenSock
	cbz	w0, LBB0_18
; %bb.16:
	mov	x19, x0
	cmn	w0, #1
	b.eq	LBB0_32
; %bb.17:
	mov	x0, x19
	mov	w1, #0
	bl	_dup2
	mov	x0, x19
	bl	_close
LBB0_18:
	bl	_LSAPI_Init
	mov	x0, #0
	bl	_LSAPI_Init_Env_Parameters
Lloh16:
	adrp	x8, _lsapi_mode@GOTPAGE
Lloh17:
	ldr	x8, [x8, _lsapi_mode@GOTPAGEOFF]
	mov	w9, #1
Lloh18:
	str	w9, [x8]
	bl	_LSAPI_Get_Slow_Req_Msecs
	mov	x19, x0
	ldr	x8, [sp, #80]
	cbz	x8, LBB0_20
; %bb.19:
	bl	_LSAPI_No_Check_ppid
	ldr	x0, [sp, #80]
	bl	_free
	str	xzr, [sp, #80]
LBB0_20:
Lloh19:
	adrp	x8, _lsapi_atexit@GOTPAGE
Lloh20:
	ldr	x8, [x8, _lsapi_atexit@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_atexit
Lloh22:
	adrp	x21, _g_req@GOTPAGE
Lloh23:
	ldr	x21, [x21, _g_req@GOTPAGEOFF]
	mov	w28, #19923
	movk	w28, #4194, lsl #16
	mov	w22, #1000
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	bl	_processReq
	mov	x20, x0
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	bl	_LSAPI_Finish
	cbnz	w20, LBB0_28
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_LSAPI_Prefork_Accept_r
	tbnz	w0, #31, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	cbz	w19, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x0, sp, #56
	mov	x1, #0
	bl	_gettimeofday
	bl	_processReq
	mov	x20, x0
	add	x0, sp, #40
	mov	x1, #0
	bl	_gettimeofday
	ldr	w8, [sp, #40]
	ldr	w9, [sp, #48]
	ldr	w10, [sp, #56]
	ldr	w11, [sp, #64]
	sub	w8, w8, w10
	sub	w9, w9, w11
	smull	x9, w9, w28
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	madd	w23, w8, w22, w9
	cmp	w23, w19
	b.le	LBB0_22
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x0, sp, #40
	bl	_localtime
	mov	x3, x0
	add	x0, sp, #96
	mov	w1, #30
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_strftime
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w24, [x8]
	bl	_LSAPI_GetRequestMethod
	mov	x25, x0
	bl	_LSAPI_GetScriptName
	mov	x26, x0
	bl	_LSAPI_GetQueryString
	mov	x27, x0
	bl	_LSAPI_GetScriptFileName
	stp	x27, x0, [sp, #24]
	stp	x25, x26, [sp, #8]
	add	x2, sp, #96
	str	x23, [sp]
	mov	x0, x24
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	b	LBB0_22
LBB0_27:
	mov	w20, #0
LBB0_28:
	bl	_php_module_shutdown
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	mov	x0, x20
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_31:
	bl	___stack_chk_fail
LBB0_32:
Lloh34:
	adrp	x8, _stderr@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh36:
	ldr	w19, [x8]
	ldr	x20, [sp, #80]
Lloh37:
	adrp	x8, _errno@GOTPAGE
Lloh38:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_fprintf
	mov	w0, #2
	bl	_exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_lsapi_sapi_module,40,3         ; @lsapi_sapi_module
	.comm	_ignore_php_ini,8,3             ; @ignore_php_ini
	.comm	_sapi_lsapi_ini_defaults,4,2    ; @sapi_lsapi_ini_defaults
	.comm	_litespeed_module_entry,4,2     ; @litespeed_module_entry
	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to bind socket [%s]: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_lsapi_mode,4,2                 ; @lsapi_mode
	.comm	_lsapi_atexit,4,2               ; @lsapi_atexit
	.comm	_g_req,4,2                      ; @g_req
l_.str.1:                               ; @.str.1
	.asciz	"%d/%b/%Y:%H:%M:%S"

l_.str.2:                               ; @.str.2
	.asciz	"[%s] Slow PHP script: %d ms\n  URL: %s %s\n  Query String: %s\n  Script: %s\n"

	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_compiler_globals,8,3           ; @compiler_globals
	.comm	_compiler_globals_id,4,2        ; @compiler_globals_id
	.comm	_core_globals,8,3               ; @core_globals
	.comm	_core_globals_id,4,2            ; @core_globals_id
	.comm	_executor_globals,8,3           ; @executor_globals
	.comm	_executor_globals_id,4,2        ; @executor_globals_id
	.comm	_request_info,4,2               ; @request_info
	.comm	_sapi_globals,8,3               ; @sapi_globals
	.comm	_sapi_globals_id,4,2            ; @sapi_globals_id
.subsections_via_symbols
