	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inifile_read
_inifile_read:                          ## @inifile_read
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	8(%rsi), %rdi
	callq	_inifile_val_free
	movl	(%r15), %edi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_php_stream_gets
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_6
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_efree
	movl	(%r15), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_php_stream_gets
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$91, (%rbx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %r13
	movq	%r13, %rdi
	movl	$93, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movb	$0, (%rax)
	leaq	16(%r14), %rdi
	callq	_inifile_key_free
	movq	%r13, %rdi
	callq	_etrim
	movq	%rax, 24(%r14)
	leaq	L_.str(%rip), %rdi
	callq	_estrdup
	movq	%rax, 16(%r14)
	jmp	LBB0_11
LBB0_13:
	movq	%r14, %rdi
	callq	_inifile_line_free
	jmp	LBB0_14
LBB0_6:
	movq	%rax, %r13
	movb	$0, (%rax)
	cmpq	$0, 24(%r14)
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	callq	_estrdup
	movq	%rax, 24(%r14)
LBB0_8:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_efree
LBB0_10:
	movq	%rbx, %rdi
	callq	_etrim
	movq	%rax, 16(%r14)
	incq	%r13
	movq	%r13, %rdi
	callq	_etrim
	movq	%rax, 8(%r14)
LBB0_11:
	movl	(%r15), %edi
	callq	_php_stream_tell
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_efree
	movl	$1, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_inifile_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inifile_read
_inifile_read:                          ; @inifile_read
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	add	x0, x1, #8
	bl	_inifile_val_free
	ldr	w0, [x20]
	mov	x1, #0
	mov	w2, #0
	bl	_php_stream_gets
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	w1, #61
	bl	_strchr
	cbnz	x0, LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_efree
	ldr	w0, [x20]
	mov	x1, #0
	mov	w2, #0
	bl	_php_stream_gets
	mov	x21, x0
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #91
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x21, #1
	mov	x0, x22
	mov	w1, #93
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.6:
	strb	wzr, [x0]
	add	x0, x19, #16
	bl	_inifile_key_free
	mov	x0, x22
	bl	_etrim
	str	x0, [x19, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_estrdup
	str	x0, [x19, #16]
	b	LBB0_13
LBB0_7:
	mov	x0, x19
	bl	_inifile_line_free
	mov	w0, #0
	b	LBB0_14
LBB0_8:
	mov	x22, x0
	strb	wzr, [x0]
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_10
; %bb.9:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_estrdup
	str	x0, [x19, #24]
LBB0_10:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_efree
LBB0_12:
	mov	x0, x21
	bl	_etrim
	str	x0, [x19, #16]
	add	x0, x22, #1
	bl	_etrim
	str	x0, [x19, #8]
LBB0_13:
	ldr	w0, [x20]
	bl	_php_stream_tell
	str	x0, [x19]
	mov	x0, x21
	bl	_efree
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_inifile_read
.subsections_via_symbols
