	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inifile_truncate
_inifile_truncate:                      ## @inifile_truncate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_php_stream_truncate_set_size
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_E_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_php_error_docref
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_php_stream_seek
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error in ftruncate: %d"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_inifile_truncate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inifile_truncate
_inifile_truncate:                      ; @inifile_truncate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_php_stream_truncate_set_size
	cbz	w0, LBB0_2
; %bb.1:
	mov	x3, x0
Lloh0:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
Lloh5:
	adrp	x8, _FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_php_stream_seek
Lloh10:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error in ftruncate: %d"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_inifile_truncate
.subsections_via_symbols
