	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_zlib_inflate_rounds
_php_zlib_inflate_rounds:               ## @php_zlib_inflate_rounds
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdx)
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	cmpq	%rsi, %rax
	movq	%rax, %r13
	cmovaq	%rsi, %r13
	testq	%rsi, %rsi
	cmoveq	%rax, %r13
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$98, %ebx
	ja	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rsi, %r12
	jae	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdi, %r15
	movq	%rsi, %r14
	movq	%r13, %rsi
	callq	_erealloc_recoverable
	movq	%r15, %rdi
	movq	%r14, %rsi
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r15
	movq	%r13, %rax
	subq	%r12, %rax
	movq	%r12, %rcx
	movq	%r13, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 8(%r13)
	leaq	(%r15,%rcx,4), %rax
	movq	%rax, 16(%r13)
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_inflate
	movq	%r14, %rsi
	movl	%eax, %r14d
	movq	%r12, %rax
	subq	8(%r13), %rax
	movq	%r12, %r13
	movq	%rax, %r12
	movq	%r13, %rax
	shrq	$3, %rax
	addq	%rax, %r13
	incq	%r13
	movq	%r15, %rdi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_MEM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$99, %ebx
	jb	LBB0_13
LBB0_10:
	movq	_Z_STREAM_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_14
## %bb.11:
	leal	1(%r12), %esi
	callq	_erealloc
	movb	$0, (%rax,%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	jmp	LBB0_18
LBB0_14:
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_efree
LBB0_16:
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_18
## %bb.17:
	movq	_Z_DATA_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_MEM_ERROR,4,2                ## @Z_MEM_ERROR
	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_STREAM_END,4,2               ## @Z_STREAM_END
	.comm	_Z_DATA_ERROR,4,2               ## @Z_DATA_ERROR
	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_php_zlib_inflate_rounds
.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_rounds
_php_zlib_inflate_rounds:               ; @php_zlib_inflate_rounds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x22, x0
	mov	w19, #0
	mov	x27, #0
	mov	x24, #0
	stp	x2, x3, [sp]                    ; 16-byte Folded Spill
	str	xzr, [x2]
	str	xzr, [x3]
	ldr	x8, [x0]
	cmp	x8, x1
	ccmp	x1, #0, #4, hi
	csel	x23, x1, x8, ne
Lloh0:
	adrp	x20, _Z_MEM_ERROR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Z_MEM_ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x28, _Z_BUF_ERROR@GOTPAGE
Lloh3:
	ldr	x28, [x28, _Z_BUF_ERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #98
	b.hi	LBB0_12
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x27, x21
	b.hs	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_erealloc_recoverable
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	sub	x8, x23, x27
	add	x9, x0, x27, lsl #2
	stp	x8, x9, [x22, #8]
Lloh4:
	adrp	x8, _Z_NO_FLUSH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_inflate
	mov	x25, x0
	ldr	x8, [x22, #8]
	sub	x27, x23, x8
	add	x8, x23, x23, lsr #3
	add	x23, x8, #1
	mov	x24, x26
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	cmp	w8, w25
	b.eq	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh7:
	adrp	x8, _Z_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w25
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #99
	b.lo	LBB0_2
LBB0_12:
Lloh10:
	adrp	x8, _Z_STREAM_END@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Z_STREAM_END@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_14
; %bb.13:
	add	w1, w27, #1
	mov	x0, x24
	bl	_erealloc
	strb	wzr, [x0, x27]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	x0, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x27, [x8]
	b	LBB0_17
LBB0_14:
	cbz	x24, LBB0_16
; %bb.15:
	mov	x0, x24
	bl	_efree
LBB0_16:
Lloh13:
	adrp	x8, _Z_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _Z_DATA_ERROR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _Z_DATA_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w25, w8
	csel	w25, w9, w25, eq
LBB0_17:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_MEM_ERROR,4,2                ; @Z_MEM_ERROR
	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_STREAM_END,4,2               ; @Z_STREAM_END
	.comm	_Z_DATA_ERROR,4,2               ; @Z_DATA_ERROR
	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_php_zlib_inflate_rounds
.subsections_via_symbols
