	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function debugifc_parse_unsigned_number
_debugifc_parse_unsigned_number:        ## @debugifc_parse_unsigned_number
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpl	$2, %esi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	$10, %r13d
	jb	LBB0_4
## %bb.1:
	cmpb	$48, (%r15)
	jne	LBB0_9
## %bb.2:
	movb	1(%r15), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_8
## %bb.3:
	addl	$-2, %esi
	addq	$2, %r15
	movl	$16, %r13d
	jmp	LBB0_9
LBB0_4:
	testl	%esi, %esi
	je	LBB0_5
## %bb.6:
	cmpb	$48, (%r15)
	jne	LBB0_7
LBB0_8:
	movl	$8, %r13d
	jmp	LBB0_9
LBB0_5:
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_7:
	movl	$1, %esi
LBB0_9:
	movl	%esi, %r12d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, %r12d
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movsbl	(%r15,%rbx), %edi
	callq	_hex_to_bin
	imull	%r13d, %r14d
	addl	%eax, %r14d
	incq	%rbx
	cmpl	%r13d, %eax
	jb	LBB0_10
## %bb.12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_debugifc_parse_unsigned_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function debugifc_parse_unsigned_number
_debugifc_parse_unsigned_number:        ; @debugifc_parse_unsigned_number
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	subs	w8, w1, #2
	b.lo	LBB0_4
; %bb.1:
	ldrb	w9, [x20]
	cmp	w9, #48
	b.ne	LBB0_7
; %bb.2:
	ldrb	w9, [x20, #1]
	orr	w9, w9, #0x20
	cmp	w9, #120
	b.ne	LBB0_6
; %bb.3:
	add	x20, x20, #2
	mov	w22, #16
	mov	x21, x8
	b	LBB0_9
LBB0_4:
	cbz	w21, LBB0_7
; %bb.5:
	ldrb	w8, [x20]
	cmp	w8, #48
	b.ne	LBB0_8
LBB0_6:
	mov	w22, #8
	b	LBB0_9
LBB0_7:
	mov	w22, #10
	b	LBB0_9
LBB0_8:
	mov	w22, #10
	mov	w21, #1
LBB0_9:
	mov	w23, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cbz	w21, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	w21, w21, #1
	ldrsb	w0, [x20], #1
	bl	_hex_to_bin
	madd	w23, w23, w22, w0
	cmp	w0, w22
	b.lo	LBB0_10
; %bb.12:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_13:
	mov	w0, #0
	str	w23, [x19]
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_debugifc_parse_unsigned_number
.subsections_via_symbols
