	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_vector
_parse_vector:                          ## @parse_vector
	.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, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	callq	_strtok_r
	movq	%rax, %r14
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_8
## %bb.1:
	leaq	L_.str(%rip), %r12
	leaq	-56(%rbp), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	movl	%r15d, %ecx
	movl	%eax, (%rbx,%rcx,4)
	incl	%r15d
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_strtok_r
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MAX_LENGTH_CANON@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_6
LBB0_7:
	movl	%r15d, %eax
LBB0_8:
	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	" "

	.comm	_MAX_LENGTH_CANON,4,2           ## @MAX_LENGTH_CANON
L_.str.1:                               ## @.str.1
	.asciz	"increase MAX_LENGTH_CANON"

L_.str.2:                               ## @.str.2
	.asciz	"%x"

L_.str.3:                               ## @.str.3
	.asciz	"failed to parse hex: %s"

	.no_dead_strip	_parse_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_vector
_parse_vector:                          ; @parse_vector
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	bl	_strtok_r
	cbz	x0, LBB0_7
; %bb.1:
	mov	x25, x0
	mov	w20, #0
Lloh2:
	adrp	x26, _MAX_LENGTH_CANON@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MAX_LENGTH_CANON@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x23, l_.str.3@PAGE
Lloh9:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh10:
	adrp	x24, l_.str.1@PAGE
Lloh11:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #20]
	str	w8, [x19, w20, uxtw #2]
	add	w20, w20, #1
	add	x2, sp, #24
	mov	x0, #0
	mov	x1, x22
	bl	_strtok_r
	mov	x25, x0
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	cmp	w20, w8
	b.lo	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	x1, x24
	bl	_errx
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #20
	mov	x0, x25
	mov	x1, x21
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x25, [sp]
	mov	w0, #1
	mov	x1, x23
	bl	_errx
	b	LBB0_2
LBB0_7:
	mov	x20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_MAX_LENGTH_CANON,4,2           ; @MAX_LENGTH_CANON
l_.str.1:                               ; @.str.1
	.asciz	"increase MAX_LENGTH_CANON"

l_.str.2:                               ; @.str.2
	.asciz	"%x"

l_.str.3:                               ; @.str.3
	.asciz	"failed to parse hex: %s"

	.no_dead_strip	_parse_vector
.subsections_via_symbols
