	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse256
_parse256:                              ## @parse256
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	addq	$2, %r15
LBB0_3:
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_4
## %bb.5:
	leaq	1(%r15), %rbx
	movl	$-1, %r13d
	leaq	L_.str.2(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	incl	%r13d
	testb	%al, %al
	jne	LBB0_6
## %bb.8:
	cmpl	$63, %r13d
	jbe	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_16
LBB0_4:
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	movb	$31, %al
	jmp	LBB0_11
LBB0_10:
	leal	1(%r13), %ecx
	movl	%r13d, %edx
	shrb	$7, %dl
	addb	%r13b, %dl
	sarb	%dl
	movb	$31, %al
	subb	%dl, %al
	testb	$1, %cl
	sete	-41(%rbp)                       ## 1-byte Folded Spill
LBB0_11:
	movzbl	%al, %eax
	cmpb	$32, %al
	movl	$31, %ecx
	cmovgel	%eax, %ecx
	leaq	(%r12,%rax,4), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movzbl	%cl, %r13d
	subq	%rax, %r13
	incq	%r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movb	$0, -42(%rbp)
	movw	$0, -44(%rbp)
	testq	%r12, %r12
	setne	%al
	orb	-41(%rbp), %al                  ## 1-byte Folded Reload
	movzbl	%al, %ebx
	leal	1(%rbx), %edx
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	%r14, %rdi
	leaq	-48(%rbp), %rsi
	movl	$1, %edx
	callq	_parseint
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	addq	%rbx, %r15
	incq	%r15
	movl	-48(%rbp), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	incq	%r12
	cmpq	%r12, %r13
	jne	LBB0_12
## %bb.15:
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_13:
	movq	%rax, %r14
LBB0_16:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x"

L_.str.1:                               ## @.str.1
	.asciz	"0X"

L_.str.2:                               ## @.str.2
	.asciz	"invalid hex digit read"

L_.str.3:                               ## @.str.3
	.asciz	"hex code too long"

	.no_dead_strip	_parse256
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse256
_parse256:                              ; @parse256
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_strncmp
	cbnz	w0, LBB0_3
LBB0_2:
	add	x19, x19, #2
LBB0_3:
	ldrb	w8, [x19]
	mov	w22, #1
	mov	w24, #31
	cbz	w8, LBB0_9
; %bb.4:
	add	x25, x19, #1
	mov	w23, #-1
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isxdigit
	cbz	w0, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x25], #1
	add	w23, w23, #1
	cbnz	w8, LBB0_5
; %bb.7:
	cmp	w23, #63
	b.ls	LBB0_10
; %bb.8:
Lloh6:
	adrp	x21, l_.str.3@PAGE
Lloh7:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_9:
	mov	w8, #31
	mov	w23, #1
	b	LBB0_11
LBB0_10:
	add	w9, w23, #1
	sub	w8, w9, #1
	and	w10, w8, #0x80
	add	w8, w8, w10, lsr #7
	sxtb	w8, w8
	mov	w10, #31
	sub	w8, w10, w8, asr #1
	tst	w9, #0x1
	cset	w23, eq
LBB0_11:
	mov	x25, #0
	and	x9, x8, #0xff
	cmp	w8, #31
	csel	w10, w8, w24, gt
	add	x20, x20, w8, uxtb #2
	and	x8, x10, #0xff
	sub	x8, x8, x9
	add	x24, x8, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	strb	wzr, [sp, #14]
	strh	wzr, [sp, #12]
	cmp	x25, #0
	cset	w8, ne
	orr	w26, w8, w23
	cmp	w26, #0
	cinc	w2, w22, ne
	add	x0, sp, #12
	mov	x1, x19
	bl	_memcpy
	add	x0, sp, #12
	add	x1, sp, #8
	mov	w2, #1
	bl	_parseint
	cbnz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w26, #0
	cinc	x8, x22, ne
	add	x19, x19, x8
	ldr	w8, [sp, #8]
	str	w8, [x20, x25, lsl #2]
	add	x25, x25, #1
	cmp	x24, x25
	b.ne	LBB0_12
; %bb.14:
	mov	x21, #0
	b	LBB0_16
LBB0_15:
	mov	x21, x0
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x"

l_.str.1:                               ; @.str.1
	.asciz	"0X"

l_.str.2:                               ; @.str.2
	.asciz	"invalid hex digit read"

l_.str.3:                               ; @.str.3
	.asciz	"hex code too long"

	.no_dead_strip	_parse256
.subsections_via_symbols
