	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_numeric_entity
_process_numeric_entity:                ## @process_numeric_entity
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movb	(%rax), %bl
	orb	$32, %bl
	cmpb	$120, %bl
	jne	LBB0_5
## %bb.1:
	incq	%rax
	movq	%rax, (%r12)
	cmpb	$120, %bl
	jne	LBB0_5
## %bb.2:
	movsbl	(%rax), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movl	$16, %edx
	cmpb	$120, %bl
	je	LBB0_6
## %bb.4:
	movq	(%r12), %rax
LBB0_5:
	movsbl	(%rax), %edi
	callq	_isdigit
	movl	$10, %edx
	testl	%eax, %eax
	je	LBB0_11
LBB0_6:
	movq	(%r12), %rdi
	leaq	-40(%rbp), %rsi
	callq	_ZEND_STRTOL
	movq	%rax, %r15
	movq	-40(%rbp), %rax
	movq	%rax, (%r12)
	movq	_FAILURE@GOTPCREL(%rip), %rbx
	cmpb	$59, (%rax)
	jne	LBB0_12
## %bb.7:
	movl	$1114111, %edi                  ## imm = 0x10FFFF
	callq	_Z_L
	cmpq	%rax, %r15
	jg	LBB0_12
## %bb.8:
	movq	_SUCCESS@GOTPCREL(%rip), %rbx
	testq	%r14, %r14
	je	LBB0_12
## %bb.9:
	movl	%r15d, (%r14)
	jmp	LBB0_12
LBB0_11:
	movq	_FAILURE@GOTPCREL(%rip), %rbx
LBB0_12:
	movl	(%rbx), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_process_numeric_entity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_numeric_entity
_process_numeric_entity:                ; @process_numeric_entity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	ldrb	w21, [x8]
	orr	w9, w21, #0x20
	cmp	w9, #120
	b.ne	LBB0_6
; %bb.1:
	add	x8, x8, #1
	str	x8, [x20]
	cmp	w9, #120
	b.ne	LBB0_6
; %bb.2:
	ldrsb	w0, [x8]
	bl	_isxdigit
	cbz	w0, LBB0_10
; %bb.3:
	orr	w8, w21, #0x20
	cmp	w8, #120
	b.ne	LBB0_5
; %bb.4:
	mov	w2, #16
	b	LBB0_8
LBB0_5:
	ldr	x8, [x20]
LBB0_6:
	ldrsb	w0, [x8]
	bl	_isdigit
	cbz	w0, LBB0_10
; %bb.7:
	mov	w2, #10
LBB0_8:
	ldr	x0, [x20]
	add	x1, sp, #8
	bl	_ZEND_STRTOL
	ldr	x8, [sp, #8]
	str	x8, [x20]
	ldrb	w8, [x8]
	cmp	w8, #59
	b.ne	LBB0_10
; %bb.9:
	mov	x21, x0
	mov	w0, #1114111
	bl	_Z_L
	cmp	x21, x0
	b.le	LBB0_12
LBB0_10:
Lloh0:
	adrp	x8, _FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
	str	w21, [x19]
LBB0_14:
Lloh2:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_process_numeric_entity
.subsections_via_symbols
