	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_hex2int
_php_hex2int:                           ## @php_hex2int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	addb	$-48, %bl
	jmp	LBB0_6
LBB0_2:
	leal	-65(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_4
## %bb.3:
	addb	$-55, %bl
	jmp	LBB0_6
LBB0_4:
	leal	-97(%rbx), %ecx
	movb	$-1, %al
	cmpl	$5, %ecx
	ja	LBB0_7
## %bb.5:
	addb	$-87, %bl
LBB0_6:
	movl	%ebx, %eax
LBB0_7:
	movsbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_php_hex2int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_hex2int
_php_hex2int:                           ; @php_hex2int
	.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, x0
	bl	_isdigit
	sub	w8, w19, #65
	sub	w9, w19, #97
	mov	w10, #255
	sub	w11, w19, #87
	cmp	w9, #5
	csel	w9, w10, w11, hi
	sub	w10, w19, #55
	cmp	w8, #5
	csel	w8, w9, w10, hi
	sub	w9, w19, #48
	cmp	x0, #0
	csel	w8, w8, w9, eq
	sxtb	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_php_hex2int
.subsections_via_symbols
