	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inifile_copy_to
_inifile_copy_to:                       ## @inifile_copy_to
	.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	%rcx, %r12
	movq	%rdx, %rbx
	subq	%rsi, %rbx
	jne	LBB0_2
## %bb.1:
	movq	$0, (%r12)
	movq	_SUCCESS@GOTPCREL(%rip), %r12
	jmp	LBB0_8
LBB0_2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_php_stream_temp_create
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_inifile_alloc
	movq	%rax, (%r12)
	movq	_FAILURE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_php_stream_seek
	movq	_SUCCESS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_php_stream_copy_to_stream_ex
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_8
## %bb.6:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movq	%r15, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_php_error_docref
	jmp	LBB0_7
LBB0_3:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_php_error_docref
	movq	$0, (%r12)
LBB0_7:
	movq	_FAILURE@GOTPCREL(%rip), %r12
LBB0_8:
	movl	(%r12), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not create temporary stream"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.1:                               ## @.str.1
	.asciz	"Could not copy group [%zu - %zu] to temporary stream"

	.no_dead_strip	_inifile_copy_to
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inifile_copy_to
_inifile_copy_to:                       ; @inifile_copy_to
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x3
	subs	x21, x2, x1
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x22]
Lloh0:
	adrp	x22, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SUCCESS@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	mov	w0, #0
	mov	w1, #65536
	bl	_php_stream_temp_create
	cbz	x0, LBB0_6
; %bb.3:
	mov	x24, x0
	mov	w1, #1
	mov	w2, #0
	bl	_inifile_alloc
	str	x0, [x22]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_php_stream_seek
Lloh5:
	adrp	x22, _SUCCESS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SUCCESS@GOTPAGEOFF]
	ldr	w25, [x22]
	ldr	w0, [x23]
	mov	x1, x24
	mov	x2, x21
	mov	x3, #0
	bl	_php_stream_copy_to_stream_ex
	cmp	w25, w0
	b.eq	LBB0_8
; %bb.5:
Lloh7:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	stp	x19, x20, [sp]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	bl	_php_error_docref
	str	xzr, [x22]
LBB0_7:
Lloh17:
	adrp	x22, _FAILURE@GOTPAGE
Lloh18:
	ldr	x22, [x22, _FAILURE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not create temporary stream"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.1:                               ; @.str.1
	.asciz	"Could not copy group [%zu - %zu] to temporary stream"

	.no_dead_strip	_inifile_copy_to
.subsections_via_symbols
