	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_zlib_output_handler
_php_zlib_output_handler:               ## @php_zlib_output_handler
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	xorl	%eax, %eax
	callq	_php_zlib_output_encoding
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movq	_SUCCESS@GOTPCREL(%rip), %r15
	movq	(%r15), %r12
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_php_zlib_output_handler_ex
	cmpq	%rax, %r12
	jne	LBB0_4
## %bb.6:
	movq	_PHP_OUTPUT_HANDLER_CLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_16
## %bb.7:
	movq	(%r15), %rbx
	movq	_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-36(%rbp), %rsi
	callq	_php_output_handler_hook
	cmpq	%rax, %rbx
	jne	LBB0_16
## %bb.8:
	movq	_PHP_OUTPUT_HANDLER_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -36(%rbp)
	je	LBB0_9
LBB0_16:
	movl	(%r15), %eax
	jmp	LBB0_17
LBB0_1:
	movl	(%rbx), %eax
	movq	_PHP_OUTPUT_HANDLER_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.2:
	movq	_PHP_OUTPUT_HANDLER_CLEAN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_PHP_OUTPUT_HANDLER_FINAL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_ZEND_STRL
	movl	%eax, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_sapi_add_header_ex
LBB0_4:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_headers_sent@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SG
	testq	%rax, %rax
	je	LBB0_10
LBB0_18:
	movq	%r14, %rdi
	callq	_deflateEnd
	jmp	LBB0_4
LBB0_10:
	movq	_output_compression@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ZLIBG
	testl	%eax, %eax
	je	LBB0_18
## %bb.11:
	movq	_compression_coding@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ZLIBG
	cmpl	$128, %eax
	je	LBB0_12
## %bb.13:
	cmpl	$129, %eax
	jne	LBB0_18
## %bb.14:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_15
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
LBB0_15:
	callq	_ZEND_STRL
	movl	%eax, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_sapi_add_header_ex
	leaq	L_.str(%rip), %rdi
	callq	_ZEND_STRL
	movl	%eax, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_sapi_add_header_ex
	movq	_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_php_output_handler_hook
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_PHP_OUTPUT_HANDLER_START,4,2   ## @PHP_OUTPUT_HANDLER_START
	.comm	_PHP_OUTPUT_HANDLER_CLEAN,4,2   ## @PHP_OUTPUT_HANDLER_CLEAN
	.comm	_PHP_OUTPUT_HANDLER_FINAL,4,2   ## @PHP_OUTPUT_HANDLER_FINAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Vary: Accept-Encoding"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS,4,2 ## @PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS
	.comm	_PHP_OUTPUT_HANDLER_STARTED,4,2 ## @PHP_OUTPUT_HANDLER_STARTED
	.comm	_headers_sent,4,2               ## @headers_sent
	.comm	_output_compression,4,2         ## @output_compression
	.comm	_compression_coding,4,2         ## @compression_coding
L_.str.1:                               ## @.str.1
	.asciz	"Content-Encoding: gzip"

L_.str.2:                               ## @.str.2
	.asciz	"Content-Encoding: deflate"

	.comm	_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE,4,2 ## @PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE
	.no_dead_strip	_php_zlib_output_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_zlib_output_handler
_php_zlib_output_handler:               ; @php_zlib_output_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	ldr	x19, [x0]
	bl	_php_zlib_output_encoding
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x21, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SUCCESS@GOTPAGEOFF]
	ldr	x22, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_php_zlib_output_handler_ex
	cmp	x22, x0
	b.ne	LBB0_9
; %bb.2:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _PHP_OUTPUT_HANDLER_CLEAN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PHP_OUTPUT_HANDLER_CLEAN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.3:
	ldr	x20, [x21]
Lloh5:
	adrp	x8, _PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_php_output_handler_hook
	cmp	x20, x0
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _PHP_OUTPUT_HANDLER_STARTED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PHP_OUTPUT_HANDLER_STARTED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_5:
	ldr	w0, [x21]
	b	LBB0_10
LBB0_6:
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _PHP_OUTPUT_HANDLER_START@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PHP_OUTPUT_HANDLER_START@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
Lloh14:
	adrp	x10, _PHP_OUTPUT_HANDLER_CLEAN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PHP_OUTPUT_HANDLER_CLEAN@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh17:
	adrp	x10, _PHP_OUTPUT_HANDLER_FINAL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _PHP_OUTPUT_HANDLER_FINAL@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w9, w9, w10
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.8:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ZEND_STRL
	mov	w1, #1
	mov	w2, #0
	bl	_sapi_add_header_ex
LBB0_9:
Lloh22:
	adrp	x8, _FAILURE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
LBB0_10:
	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
	add	sp, sp, #64
	ret
LBB0_11:
Lloh25:
	adrp	x8, _headers_sent@GOTPAGE
Lloh26:
	ldr	x8, [x8, _headers_sent@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_SG
	cbz	x0, LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_deflateEnd
	b	LBB0_9
LBB0_13:
Lloh28:
	adrp	x8, _output_compression@GOTPAGE
Lloh29:
	ldr	x8, [x8, _output_compression@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_ZLIBG
	cbz	w0, LBB0_12
; %bb.14:
Lloh31:
	adrp	x8, _compression_coding@GOTPAGE
Lloh32:
	ldr	x8, [x8, _compression_coding@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_ZLIBG
	cmp	w0, #128
	b.eq	LBB0_17
; %bb.15:
	cmp	w0, #129
	b.ne	LBB0_12
; %bb.16:
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_18:
	bl	_ZEND_STRL
	mov	w1, #1
	mov	w2, #1
	bl	_sapi_add_header_ex
Lloh38:
	adrp	x0, l_.str@PAGE
Lloh39:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ZEND_STRL
	mov	w1, #1
	mov	w2, #0
	bl	_sapi_add_header_ex
Lloh40:
	adrp	x8, _PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_php_output_handler_hook
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_PHP_OUTPUT_HANDLER_START,4,2   ; @PHP_OUTPUT_HANDLER_START
	.comm	_PHP_OUTPUT_HANDLER_CLEAN,4,2   ; @PHP_OUTPUT_HANDLER_CLEAN
	.comm	_PHP_OUTPUT_HANDLER_FINAL,4,2   ; @PHP_OUTPUT_HANDLER_FINAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Vary: Accept-Encoding"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS,4,2 ; @PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS
	.comm	_PHP_OUTPUT_HANDLER_STARTED,4,2 ; @PHP_OUTPUT_HANDLER_STARTED
	.comm	_headers_sent,4,2               ; @headers_sent
	.comm	_output_compression,4,2         ; @output_compression
	.comm	_compression_coding,4,2         ; @compression_coding
l_.str.1:                               ; @.str.1
	.asciz	"Content-Encoding: gzip"

l_.str.2:                               ; @.str.2
	.asciz	"Content-Encoding: deflate"

	.comm	_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE,4,2 ; @PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE
	.no_dead_strip	_php_zlib_output_handler
.subsections_via_symbols
