	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_zlib_decode
_php_zlib_decode:                       ## @php_zlib_decode
	.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	%r9, -88(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_php_zlib_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_php_zlib_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	-72(%rbp), %rdi
	movl	%r15d, %esi
	callq	_inflateInit2
	movl	%eax, %r14d
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_10
## %bb.3:
	incq	%rbx
	leaq	-72(%rbp), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -64(%rbp)
	movq	%rbx, -72(%rbp)
	movq	%r13, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_php_zlib_inflate_rounds
	movl	%eax, %r14d
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_PHP_ZLIB_ENCODING_ANY@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_inflateEnd
	movq	_PHP_ZLIB_ENCODING_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_inflateInit2
	movl	%eax, %r14d
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_4
	jmp	LBB0_10
LBB0_1:
	movl	$129, %r14d
	jmp	LBB0_10
LBB0_5:
	cmpl	$128, %r14d
	jne	LBB0_9
## %bb.6:
	leaq	-72(%rbp), %rdi
	callq	_inflateEnd
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	leaq	-72(%rbp), %rdi
	callq	_inflateEnd
LBB0_10:
	movq	$0, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_zError
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_php_error_docref
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_php_zlib_alloc,4,2             ## @php_zlib_alloc
	.comm	_php_zlib_free,4,2              ## @php_zlib_free
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_PHP_ZLIB_ENCODING_ANY,4,2      ## @PHP_ZLIB_ENCODING_ANY
	.comm	_PHP_ZLIB_ENCODING_RAW,4,2      ## @PHP_ZLIB_ENCODING_RAW
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_php_zlib_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_zlib_decode
_php_zlib_decode:                       ; @php_zlib_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x25, x1
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _php_zlib_alloc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _php_zlib_alloc@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _php_zlib_free@GOTPAGE
Lloh4:
	ldr	x9, [x9, _php_zlib_free@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
	cbz	x25, LBB0_7
; %bb.1:
	add	x0, sp, #8
	mov	x1, x23
	bl	_inflateInit2
	mov	x24, x0
Lloh6:
	adrp	x26, _Z_OK@GOTPAGE
Lloh7:
	ldr	x26, [x26, _Z_OK@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, w0
	b.ne	LBB0_11
; %bb.2:
	add	x25, x25, #1
Lloh8:
	adrp	x27, _PHP_ZLIB_ENCODING_ANY@GOTPAGE
Lloh9:
	ldr	x27, [x27, _PHP_ZLIB_ENCODING_ANY@GOTPAGEOFF]
Lloh10:
	adrp	x28, _PHP_ZLIB_ENCODING_RAW@GOTPAGE
Lloh11:
	ldr	x28, [x28, _PHP_ZLIB_ENCODING_RAW@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stp	x25, x22, [sp, #8]
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_php_zlib_inflate_rounds
	mov	x24, x0
	cmp	w0, #129
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	cmp	w8, w23
	b.ne	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_inflateEnd
	ldr	w23, [x28]
	add	x0, sp, #8
	mov	x1, x23
	bl	_inflateInit2
	ldr	w8, [x26]
	cmp	w8, w0
	b.eq	LBB0_3
; %bb.6:
	mov	x24, x0
	b	LBB0_11
LBB0_7:
	mov	w24, #129
	b	LBB0_11
LBB0_8:
	cmp	w24, #128
	b.ne	LBB0_10
; %bb.9:
	add	x0, sp, #8
	bl	_inflateEnd
Lloh12:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	add	x0, sp, #8
	bl	_inflateEnd
LBB0_11:
	str	xzr, [x20]
	str	xzr, [x19]
Lloh14:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
	mov	x0, x24
	bl	_zError
	mov	x3, x0
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	bl	_php_error_docref
Lloh19:
	adrp	x8, _FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_php_zlib_alloc,4,2             ; @php_zlib_alloc
	.comm	_php_zlib_free,4,2              ; @php_zlib_free
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_PHP_ZLIB_ENCODING_ANY,4,2      ; @PHP_ZLIB_ENCODING_ANY
	.comm	_PHP_ZLIB_ENCODING_RAW,4,2      ; @PHP_ZLIB_ENCODING_RAW
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_php_zlib_decode
.subsections_via_symbols
