	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function php_stream_ftp_url_stat
LCPI0_0:
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_php_stream_ftp_url_stat:               ## @php_stream_ftp_url_stat
	.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	%rbx
	subq	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -552(%rbp)
	movl	$-1, %r15d
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.1:
	movq	%r8, %r9
	movq	%rcx, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	leaq	-552(%rbp), %rax
	movq	%rax, 8(%rsp)
	movq	$0, (%rsp)
	leaq	L_.str(%rip), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_php_ftp_fopen_connect
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movl	$420, (%r14)                    ## imm = 0x1A4
	movq	-552(%rbp), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_ZSTR_VAL
	movq	%rax, %rdx
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rdx
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_php_stream_printf
	movq	%rbx, %rdi
	callq	_GET_FTP_RESULT
	addl	$-300, %eax                     ## imm = 0xFED4
	cmpl	$-101, %eax
	ja	LBB0_7
## %bb.6:
	movl	(%r14), %eax
	movq	_S_IFREG@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	movq	_S_IXUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_S_IXGRP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_S_IXOTH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r14, %rcx
LBB0_8:
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_php_stream_write_string
	movq	%rbx, %rdi
	callq	_GET_FTP_RESULT
	addl	$-300, %eax                     ## imm = 0xFED4
	cmpl	$-100, %eax
	jae	LBB0_9
LBB0_14:
	movq	-552(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_php_url_free
LBB0_16:
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.17:
	movq	%rbx, %rdi
	callq	_php_stream_close
	jmp	LBB0_23
LBB0_9:
	movq	-552(%rbp), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.11:
	callq	_ZSTR_VAL
	movq	%rax, %rdx
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.2(%rip), %rdx
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_php_stream_printf
	movq	%rbx, %rdi
	callq	_GET_FTP_RESULT
	addl	$-300, %eax                     ## imm = 0xFED4
	cmpl	$-101, %eax
	ja	LBB0_18
## %bb.13:
	movq	_S_IFDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%r14)
	jne	LBB0_19
	jmp	LBB0_14
LBB0_18:
	leaq	-540(%rbp), %rdi
	callq	_atoi
LBB0_19:
	movl	%eax, 32(%r14)
	movq	-552(%rbp), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.21:
	callq	_ZSTR_VAL
	movq	%rax, %rdx
	jmp	LBB0_22
LBB0_20:
	leaq	L_.str.2(%rip), %rdx
LBB0_22:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_php_stream_printf
	movq	%rbx, %rdi
	callq	_GET_FTP_RESULT
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r14)
	movups	%xmm0, 56(%r14)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4294967295,4294967295,4294967295,1]
	movups	%xmm0, 4(%r14)
	movl	$-1, 20(%r14)
	movq	%rbx, %rdi
	callq	_php_stream_close
	movq	-552(%rbp), %rdi
	callq	_php_url_free
	xorl	%r15d, %r15d
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movl	%r15d, %eax
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"CWD %s\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"/"

	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_S_IXUSR,4,2                    ## @S_IXUSR
	.comm	_S_IXGRP,4,2                    ## @S_IXGRP
	.comm	_S_IXOTH,4,2                    ## @S_IXOTH
L_.str.3:                               ## @.str.3
	.asciz	"TYPE I\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"SIZE %s\r\n"

L_.str.5:                               ## @.str.5
	.asciz	"MDTM %s\r\n"

	.no_dead_strip	_php_stream_ftp_url_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function php_stream_ftp_url_stat
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_php_stream_ftp_url_stat:               ; @php_stream_ftp_url_stat
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #544
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	xzr, [sp, #16]
	cbz	x3, LBB0_13
; %bb.1:
	mov	x5, x4
	mov	x19, x3
	stp	xzr, xzr, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x7, sp, #16
	mov	w3, #0
	mov	x4, #0
	mov	x6, #0
	bl	_php_ftp_fopen_connect
	mov	x20, x0
	cbz	x0, LBB0_9
; %bb.2:
	mov	w8, #420
	str	w8, [x19]
	ldr	x8, [sp, #16]
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_ZSTR_VAL
	mov	x2, x0
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x2, l_.str.2@PAGE
Lloh6:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_php_stream_printf
	mov	x0, x20
	bl	_GET_FTP_RESULT
	sub	w8, w0, #300
	cmn	w8, #101
	b.hi	LBB0_7
; %bb.6:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _S_IFREG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_IFREG@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _S_IFDIR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _S_IFDIR@GOTPAGEOFF]
Lloh13:
	adrp	x9, _S_IXUSR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _S_IXUSR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _S_IXGRP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _S_IXGRP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _S_IXOTH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _S_IXOTH@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	x9, x19
LBB0_8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_php_stream_write_string
	mov	x0, x20
	bl	_GET_FTP_RESULT
	sub	w8, w0, #300
	cmn	w8, #100
	b.hs	LBB0_16
LBB0_9:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_php_url_free
LBB0_11:
	cbz	x20, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_php_stream_close
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.15:
	add	sp, sp, #544
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_16:
	ldr	x8, [sp, #16]
	ldr	x0, [x8]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_ZSTR_VAL
	mov	x2, x0
	b	LBB0_19
LBB0_18:
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_19:
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_php_stream_printf
	mov	x0, x20
	bl	_GET_FTP_RESULT
	sub	w8, w0, #300
	cmn	w8, #101
	b.hi	LBB0_22
; %bb.20:
	ldr	w8, [x19]
Lloh32:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh33:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.21:
	mov	w0, #0
	b	LBB0_23
LBB0_22:
	add	x8, sp, #24
	add	x0, x8, #4
	bl	_atoi
LBB0_23:
	str	w0, [x19, #32]
	ldr	x8, [sp, #16]
	ldr	x0, [x8]
	cbz	x0, LBB0_25
; %bb.24:
	bl	_ZSTR_VAL
	mov	x2, x0
	b	LBB0_26
LBB0_25:
Lloh35:
	adrp	x2, l_.str.2@PAGE
Lloh36:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_26:
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_php_stream_printf
	mov	x0, x20
	bl	_GET_FTP_RESULT
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #40]
	stur	q0, [x19, #56]
Lloh39:
	adrp	x8, lCPI0_0@PAGE
Lloh40:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #4]
	mov	w8, #-1
	str	w8, [x19, #20]
	mov	x0, x20
	bl	_php_stream_close
	ldr	x0, [sp, #16]
	bl	_php_url_free
	mov	w0, #0
	b	LBB0_14
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdr	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"CWD %s\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"/"

	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_S_IXUSR,4,2                    ; @S_IXUSR
	.comm	_S_IXGRP,4,2                    ; @S_IXGRP
	.comm	_S_IXOTH,4,2                    ; @S_IXOTH
l_.str.3:                               ; @.str.3
	.asciz	"TYPE I\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"SIZE %s\r\n"

l_.str.5:                               ; @.str.5
	.asciz	"MDTM %s\r\n"

	.no_dead_strip	_php_stream_ftp_url_stat
.subsections_via_symbols
