	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_post_var
_add_post_var:                          ## @add_post_var
	.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
	movl	%edx, %ebx
	movq	%rdi, %r15
	movq	(%rsi), %rdi
	movq	8(%rsi), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rdi
	jae	LBB0_14
## %bb.1:
	movq	%rsi, %r12
	movslq	16(%rsi), %rax
	addq	%rax, %rdi
	subl	%edi, %edx
	movl	$38, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memchr
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	8(%r12), %r14
	testl	%ebx, %ebx
	je	LBB0_3
LBB0_4:
	movq	(%r12), %rdi
	movl	%r14d, %edx
	subl	%edi, %edx
	movl	$61, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rbx
	movb	$0, (%rax)
	movq	(%r12), %rdi
	movq	%rax, %rsi
	subq	%rdi, %rsi
	incq	%rbx
	movq	%r14, %r13
	subq	%rbx, %r13
	jmp	LBB0_7
LBB0_6:
	movq	(%r12), %rdi
	movq	%r14, %rsi
	subq	%rdi, %rsi
	leaq	L_.str(%rip), %rbx
	xorl	%r13d, %r13d
LBB0_7:
	callq	_php_url_decode
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_estrndup
	movq	%rax, -48(%rbp)
	testq	%r13, %r13
	je	LBB0_8
## %bb.9:
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_php_url_decode
	movq	%rax, %rcx
	jmp	LBB0_10
LBB0_8:
	xorl	%ecx, %ecx
LBB0_10:
	movq	_sapi_module@GOTPCREL(%rip), %rax
	movq	_PARSE_POST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movq	(%r12), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %r8
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	(%r12), %rdi
	movq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%r15, %rcx
	callq	_php_register_variable_safe
LBB0_12:
	movq	-48(%rbp), %rdi
	callq	_efree
	xorl	%eax, %eax
	cmpq	8(%r12), %r14
	setne	%al
	addq	%r14, %rax
	movq	%rax, (%r12)
	movl	$1, %eax
	xorl	%r14d, %r14d
LBB0_13:
	movl	%r14d, 16(%r12)
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	subl	(%r12), %r14d
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_sapi_module,8,3                ## @sapi_module
	.comm	_PARSE_POST,4,2                 ## @PARSE_POST
	.no_dead_strip	_add_post_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_post_var
_add_post_var:                          ; @add_post_var
	.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
	ldp	x9, x8, [x1]
	cmp	x9, x8
	b.hs	LBB0_5
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldrsw	x10, [x1, #16]
	add	x0, x9, x10
	sub	w2, w8, w0
	mov	w1, #38
	bl	_memchr
	mov	x21, x0
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x21, [x19, #8]
	cbz	w22, LBB0_15
LBB0_3:
	ldr	x0, [x19]
	sub	w2, w21, w0
	mov	w1, #61
	bl	_memchr
	cbz	x0, LBB0_6
; %bb.4:
	mov	x8, x0
	mov	x23, x0
	strb	wzr, [x23], #1
	ldr	x0, [x19]
	sub	x1, x8, x0
	sub	x22, x21, x23
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_14
LBB0_6:
	mov	x22, #0
	ldr	x0, [x19]
	sub	x1, x21, x0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
LBB0_7:
	bl	_php_url_decode
	mov	x0, x23
	mov	x1, x22
	bl	_estrndup
	str	x0, [sp, #8]
	cbz	x22, LBB0_9
; %bb.8:
	mov	x1, x22
	bl	_php_url_decode
	mov	x3, x0
	b	LBB0_10
LBB0_9:
	mov	x3, #0
LBB0_10:
Lloh2:
	adrp	x8, _sapi_module@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sapi_module@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _PARSE_POST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PARSE_POST@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	ldr	x1, [x19]
	add	x2, sp, #8
	mov	x4, sp
	blr	x8
	cbz	x0, LBB0_12
; %bb.11:
	ldr	x0, [x19]
	ldp	x2, x1, [sp]
	mov	x3, x20
	bl	_php_register_variable_safe
LBB0_12:
	ldr	x0, [sp, #8]
	bl	_efree
	mov	w8, #0
	ldr	x9, [x19, #8]
	cmp	x21, x9
	cinc	x9, x21, ne
	str	x9, [x19]
	mov	w0, #1
LBB0_13:
	str	w8, [x19, #16]
LBB0_14:
	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
LBB0_15:
	mov	w0, #0
	ldr	w8, [x19]
	sub	w8, w21, w8
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_sapi_module,8,3                ; @sapi_module
	.comm	_PARSE_POST,4,2                 ; @PARSE_POST
	.no_dead_strip	_add_post_var
.subsections_via_symbols
