	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_zlib_inflate_filter
_php_zlib_inflate_filter:               ## @php_zlib_inflate_filter
	.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	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%r8, %r14
	movq	%rsi, %rbx
	movq	_PSFS_FEED_ME@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rsi), %edi
	callq	_Z_PTR
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	(%rbx), %edi
	callq	_Z_PTR
	movq	%rax, %r13
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_5
## %bb.6:
	leaq	32(%r13), %r12
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%r14, -64(%rbp)                 ## 8-byte Folded Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_php_stream_bucket_delref
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	callq	_php_stream_bucket_make_writeable
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r14
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movl	%r14d, %eax
	cmpq	%rax, %r15
	jae	LBB0_17
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%r13)
	jne	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	subq	%r15, %r14
	movq	8(%r13), %rax
	cmpq	%rax, %r14
	cmovaeq	%rax, %r14
	movl	56(%r13), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movq	%r14, 32(%r13)
	movq	_PSFS_FLAG_FLUSH_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	andl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	_Z_SYNC_FLUSH@GOTPCREL(%rip), %rax
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_inflate
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r12, %rdi
	callq	_inflateEnd
	movb	$1, (%r13)
	movq	_PSFS_PASS_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	64(%r13), %eax
	movl	%eax, 56(%r13)
	addq	%r14, %r15
	subq	32(%r13), %r15
	movq	$0, 32(%r13)
	movq	16(%r13), %rbx
	subq	40(%r13), %rbx
	jle	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	24(%r13), %rdi
	movq	%rbx, %rsi
	callq	_estrndup
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%rbx, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_php_stream_bucket_new
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_php_stream_bucket_append
	movups	16(%r13), %xmm0
	movups	%xmm0, 40(%r13)
	movq	_PSFS_PASS_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_16
LBB0_28:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_php_stream_bucket_delref
	movl	64(%r13), %eax
	movl	%eax, 56(%r13)
	movq	$0, 32(%r13)
LBB0_2:
	movq	_PSFS_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_18:
	cmpb	$0, (%r13)
	je	LBB0_19
LBB0_24:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
LBB0_26:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_3
LBB0_19:
	movq	_PSFS_FLAG_FLUSH_CLOSE@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_24
## %bb.20:
	movq	%r13, %r14
	addq	$32, %r14
	movq	_Z_OK@GOTPCREL(%rip), %r12
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	cmpl	(%r12), %r15d
	jne	LBB0_24
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_inflate
	movl	%eax, %r15d
	movq	16(%r13), %rbx
	subq	40(%r13), %rbx
	jle	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	24(%r13), %rdi
	movq	%rbx, %rsi
	callq	_estrndup
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%rbx, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_php_stream_bucket_new
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_php_stream_bucket_append
	movups	16(%r13), %xmm0
	movups	%xmm0, 40(%r13)
	movq	_PSFS_PASS_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_PSFS_FEED_ME,4,2               ## @PSFS_FEED_ME
	.comm	_PSFS_ERR_FATAL,4,2             ## @PSFS_ERR_FATAL
	.comm	_PSFS_FLAG_FLUSH_CLOSE,4,2      ## @PSFS_FLAG_FLUSH_CLOSE
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_Z_SYNC_FLUSH,4,2               ## @Z_SYNC_FLUSH
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.comm	_PSFS_PASS_ON,4,2               ## @PSFS_PASS_ON
	.comm	_Z_OK,4,2                       ## @Z_OK
	.no_dead_strip	_php_zlib_inflate_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_zlib_inflate_filter
_php_zlib_inflate_filter:               ; @php_zlib_inflate_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	stp	x0, x3, [sp, #32]               ; 16-byte Folded Spill
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	cbz	x1, LBB0_15
; %bb.1:
	mov	x24, x5
	mov	x19, x4
	mov	x22, x1
Lloh0:
	adrp	x8, _PSFS_FEED_ME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSFS_FEED_ME@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w0, [x1]
	bl	_Z_PTR
	cbz	x0, LBB0_15
; %bb.2:
	ldr	w0, [x22]
	bl	_Z_PTR
	mov	x22, x0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x0, [x8]
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_17
; %bb.3:
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
Lloh3:
	adrp	x21, _Z_SYNC_FLUSH@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Z_SYNC_FLUSH@GOTPAGEOFF]
Lloh5:
	adrp	x19, _Z_STREAM_END@GOTPAGE
Lloh6:
	ldr	x19, [x19, _Z_STREAM_END@GOTPAGEOFF]
	add	x26, x22, #32
Lloh7:
	adrp	x25, _PSFS_PASS_ON@GOTPAGE
Lloh8:
	ldr	x25, [x25, _PSFS_PASS_ON@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x8, x9
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x27
	bl	_php_stream_bucket_delref
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x0, [x8]
	cbz	x0, LBB0_18
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	bl	_php_stream_bucket_make_writeable
	mov	x27, x0
	ldr	x8, [x0]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x27]
	cmp	x20, w8, uxtw
	b.hs	LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x22]
	cbnz	w9, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x9, [x22, #8]
	sub	x8, x8, x20
	cmp	x8, x9
	csel	x28, x8, x9, lo
	ldr	w0, [x22, #56]
	ldr	x8, [x27, #8]
	add	x1, x8, x20
	mov	x2, x28
	bl	_memcpy
	str	x28, [x22, #32]
Lloh9:
	adrp	x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w24
Lloh12:
	adrp	x8, _Z_FINISH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Z_FINISH@GOTPAGEOFF]
	csel	x8, x21, x8, eq
	ldr	w1, [x8]
	mov	x0, x26
	bl	_inflate
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x26
	bl	_inflateEnd
	mov	w8, #1
	strb	w8, [x22]
	ldr	w23, [x25]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
Lloh14:
	adrp	x8, _Z_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x22, #64]
	str	w8, [x22, #56]
	ldp	x8, x9, [x22, #32]
	str	xzr, [x22, #32]
	add	x10, x28, x20
	sub	x20, x10, x8
	ldr	x8, [x22, #16]
	subs	x28, x8, x9
	b.le	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x0, [x22, #24]
	mov	x1, x28
	bl	_estrndup
	mov	x1, x0
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x2, x28
	mov	w3, #1
	mov	w4, #0
	bl	_php_stream_bucket_new
	mov	x1, x0
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_php_stream_bucket_append
	ldr	q0, [x22, #16]
	stur	q0, [x22, #40]
	ldr	w23, [x25]
	b	LBB0_7
LBB0_14:
	mov	x0, x27
	bl	_php_stream_bucket_delref
	ldr	w8, [x22, #64]
	str	w8, [x22, #56]
	str	xzr, [x22, #32]
LBB0_15:
Lloh17:
	adrp	x8, _PSFS_ERR_FATAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PSFS_ERR_FATAL@GOTPAGEOFF]
Lloh19:
	ldr	w23, [x8]
LBB0_16:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_17:
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
LBB0_18:
	ldrb	w8, [x22]
	cbz	w8, LBB0_21
LBB0_19:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_16
; %bb.20:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x9, [x8]
	b	LBB0_16
LBB0_21:
Lloh20:
	adrp	x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_19
; %bb.22:
	add	x24, x22, #32
Lloh23:
	adrp	x19, _Z_FINISH@GOTPAGE
Lloh24:
	ldr	x19, [x19, _Z_FINISH@GOTPAGEOFF]
Lloh25:
	adrp	x20, _PSFS_PASS_ON@GOTPAGE
Lloh26:
	ldr	x20, [x20, _PSFS_PASS_ON@GOTPAGEOFF]
Lloh27:
	adrp	x21, _Z_OK@GOTPAGE
Lloh28:
	ldr	x21, [x21, _Z_OK@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [x21]
	cmp	w25, w8
	b.ne	LBB0_19
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	mov	x0, x24
	bl	_inflate
	mov	x25, x0
	ldr	x8, [x22, #40]
	ldr	x9, [x22, #16]
	subs	x26, x9, x8
	b.le	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x0, [x22, #24]
	mov	x1, x26
	bl	_estrndup
	mov	x1, x0
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x2, x26
	mov	w3, #1
	mov	w4, #0
	bl	_php_stream_bucket_new
	mov	x1, x0
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_php_stream_bucket_append
	ldr	q0, [x22, #16]
	stur	q0, [x22, #40]
	ldr	w23, [x20]
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PSFS_FEED_ME,4,2               ; @PSFS_FEED_ME
	.comm	_PSFS_ERR_FATAL,4,2             ; @PSFS_ERR_FATAL
	.comm	_PSFS_FLAG_FLUSH_CLOSE,4,2      ; @PSFS_FLAG_FLUSH_CLOSE
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_Z_SYNC_FLUSH,4,2               ; @Z_SYNC_FLUSH
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.comm	_PSFS_PASS_ON,4,2               ; @PSFS_PASS_ON
	.comm	_Z_OK,4,2                       ; @Z_OK
	.no_dead_strip	_php_zlib_inflate_filter
.subsections_via_symbols
