	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_apache_sapi_header_handler
_php_apache_sapi_header_handler:        ## @php_apache_sapi_header_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	_server_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SG
	movq	%rax, %r15
	xorl	%ebx, %ebx
	leal	-128(%r13), %eax
	cmpl	$3, %eax
	ja	LBB0_20
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	(%r12), %edi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:
	movq	%rax, %r14
	movb	$0, (%rax)
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_6
## %bb.7:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.16:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movq	%rbx, %rdx
	cmpl	$128, %r13d
	jne	LBB0_18
## %bb.17:
	callq	_apr_table_set
	jmp	LBB0_19
LBB0_3:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_apr_table_clear
	jmp	LBB0_20
LBB0_2:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_apr_table_unset
	jmp	LBB0_20
LBB0_8:
	movl	8(%r15), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.9:
	callq	_efree
LBB0_10:
	movq	%rbx, %rdi
	callq	_estrdup
	movl	%eax, 8(%r15)
	jmp	LBB0_19
LBB0_12:
	movl	$0, -44(%rbp)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	$10, %ecx
	callq	_apr_strtoff
	cmpl	%eax, %r12d
	jne	LBB0_14
## %bb.13:
	movl	-44(%rbp), %esi
	jmp	LBB0_15
LBB0_18:
	callq	_apr_table_add
	jmp	LBB0_19
LBB0_14:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %esi
	movl	%eax, -44(%rbp)
LBB0_15:
	movq	(%r15), %rdi
	callq	_ap_set_content_length
LBB0_19:
	movb	$58, (%r14)
	movl	$131, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_server_context,4,2             ## @server_context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"content-type"

L_.str.1:                               ## @.str.1
	.asciz	"content-length"

	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.no_dead_strip	_php_apache_sapi_header_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_apache_sapi_header_handler
_php_apache_sapi_header_handler:        ; @php_apache_sapi_header_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _server_context@GOTPAGE
Lloh1:
	ldr	x8, [x8, _server_context@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SG
	sub	w8, w23, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x22]
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.3:
	mov	x19, x0
	strb	wzr, [x0]
	mov	x21, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21, #1]!
	cmp	w8, #32
	b.eq	LBB0_4
; %bb.5:
	ldr	w0, [x22]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_12
; %bb.6:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_15
; %bb.7:
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x22]
	mov	x2, x21
	cmp	w23, #128
	b.ne	LBB0_17
; %bb.8:
	bl	_apr_table_set
	b	LBB0_20
LBB0_9:
	mov	w0, #0
	b	LBB0_21
LBB0_10:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_apr_table_clear
	mov	w0, #0
	b	LBB0_21
LBB0_11:
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_apr_table_unset
	mov	w0, #0
	b	LBB0_21
LBB0_12:
	ldr	w0, [x20, #8]
	cbz	w0, LBB0_14
; %bb.13:
	bl	_efree
LBB0_14:
	mov	x0, x21
	bl	_estrdup
	str	w0, [x20, #8]
	b	LBB0_20
LBB0_15:
	str	wzr, [sp, #12]
Lloh9:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	add	x0, sp, #12
	mov	x1, x21
	mov	x2, #0
	mov	w3, #10
	bl	_apr_strtoff
	cmp	w22, w0
	b.ne	LBB0_18
; %bb.16:
	ldr	w1, [sp, #12]
	b	LBB0_19
LBB0_17:
	bl	_apr_table_add
	b	LBB0_20
LBB0_18:
	mov	x0, x21
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	mov	x1, x0
	str	w0, [sp, #12]
LBB0_19:
	ldr	x0, [x20]
	bl	_ap_set_content_length
LBB0_20:
	mov	w8, #58
	strb	w8, [x19]
	mov	w0, #131
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_server_context,4,2             ; @server_context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"content-type"

l_.str.1:                               ; @.str.1
	.asciz	"content-length"

	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.no_dead_strip	_php_apache_sapi_header_handler
.subsections_via_symbols
