	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_win32_check_trailing_space ## -- Begin function php_win32_check_trailing_space
	.p2align	4, 0x90
_php_win32_check_trailing_space:        ## @php_win32_check_trailing_space
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	decq	%rcx
	movl	$1, %eax
	cmpq	%rsi, %rcx
	jb	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	cmpb	$32, (%rdi)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpb	$32, -1(%rsi,%rdi)
	setne	%al
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_win32_check_trailing_space ; -- Begin function php_win32_check_trailing_space
	.p2align	2
_php_win32_check_trailing_space:        ; @php_win32_check_trailing_space
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	cmp	x8, x1
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
	cbz	x0, LBB0_6
; %bb.3:
	ldrb	w8, [x0]
	cmp	w8, #32
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ret
LBB0_5:
	add	x8, x1, x0
	ldurb	w8, [x8, #-1]
	cmp	w8, #32
	cset	w0, ne
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
.subsections_via_symbols
