	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phpdbg_try_file_init           ## -- Begin function phpdbg_try_file_init
	.p2align	4, 0x90
_phpdbg_try_file_init:                  ## @phpdbg_try_file_init
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdx, %r13
	movq	%rdi, %r15
	leaq	-68(%rbp), %rsi
	callq	_VCWD_STAT
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r12
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_PHPDBG_MAX_CMD@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	movq	%r15, -96(%rbp)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_phpdbg_line_init
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:
	callq	_free
LBB0_8:
	movq	%r12, %rdi
	callq	_fclose
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	testq	%r13, %r13
	je	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	callq	_free
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rcx
	callq	_phpdbg_error
	testq	%r13, %r13
	jne	LBB0_11
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_PHPDBG_MAX_CMD,4,2             ## @PHPDBG_MAX_CMD
L_.str.1:                               ## @.str.1
	.asciz	"initfailure"

L_.str.2:                               ## @.str.2
	.asciz	"type=\"openfile\" file=\"%s\""

L_.str.3:                               ## @.str.3
	.asciz	"Failed to open %s for initialization"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phpdbg_try_file_init           ; -- Begin function phpdbg_try_file_init
	.p2align	2
_phpdbg_try_file_init:                  ; @phpdbg_try_file_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	sub	x1, x29, #60
	bl	_VCWD_STAT
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fopen
	cbz	x0, LBB0_11
; %bb.3:
	mov	x21, x0
	mov	x23, sp
Lloh5:
	adrp	x24, _PHPDBG_MAX_CMD@GOTPAGE
Lloh6:
	ldr	x24, [x24, _PHPDBG_MAX_CMD@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	stp	xzr, xzr, [x29, #-80]
	stur	x19, [x29, #-88]
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x1, x29, #88
	mov	x0, x22
	bl	_phpdbg_line_init
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x21
	bl	_fgets
	cbnz	x0, LBB0_4
; %bb.5:
	ldur	x0, [x29, #-80]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_free
LBB0_7:
	mov	x0, x21
	bl	_fclose
	mov	sp, x23
	cbz	x20, LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_free
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, x19
	bl	_phpdbg_error
	cbnz	x20, LBB0_8
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_PHPDBG_MAX_CMD,4,2             ; @PHPDBG_MAX_CMD
l_.str.1:                               ; @.str.1
	.asciz	"initfailure"

l_.str.2:                               ; @.str.2
	.asciz	"type=\"openfile\" file=\"%s\""

l_.str.3:                               ; @.str.3
	.asciz	"Failed to open %s for initialization"

.subsections_via_symbols
