	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_subst_iter
_read_subst_iter:                       ## @read_subst_iter
	.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
	movl	$-1, %r15d
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, (%rdi)
	movl	4(%rax), %eax
	addl	$-49, %eax
	xorl	%edi, %edi
	cmpl	$9, %eax
	setb	%dil
	callq	_assert
	movq	(%rbx), %rax
	movl	(%rax), %r14d
	shll	$24, %r14d
	addl	$-805306368, %r14d              ## imm = 0xD0000000
	xorl	%edi, %edi
	cmpl	$16777217, %r14d                ## imm = 0x1000001
	setge	%dil
	callq	_assert
	movq	(%rbx), %rdi
	addq	$4, %rdi
	movq	%rdi, (%rbx)
	leaq	-64(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.3:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
LBB0_4:
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movq	-64(%rbp), %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_assert
	movq	%r12, (%rbx)
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.5:
	sarl	$24, %r14d
	leaq	8(%rbx), %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r15
	leal	-1(%r14), %eax
	cmpl	$2, %r14d
	movl	$1, %ecx
	cmovgel	%r14d, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	-8(%rax,%r13,8), %rsi
	movq	%r12, %rdi
	callq	_VEC_PUSH_STR
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rax
	movq	-8(%rax,%r13,8), %rsi
	movq	%r15, %rdi
	callq	_VEC_PUSH_STR
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%ebx, %r14d
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_VEC_PUSH_STR
	testl	%eax, %eax
	jne	LBB0_6
LBB0_12:
	movl	$-1, %r15d
	jmp	LBB0_16
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
LBB0_15:
	xorl	%r15d, %r15d
	cmpl	$0, (%r12)
	sete	%r15b
LBB0_16:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_ERANGE,8,3                     ## @ERANGE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	", "

	.no_dead_strip	_read_subst_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_subst_iter
_read_subst_iter:                       ; @read_subst_iter
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w9, [x8, #4]!
	str	x8, [x0]
	sub	w8, w9, #49
	cmp	w8, #9
	cset	w0, lo
	bl	_assert
	ldr	x8, [x19]
	ldr	w8, [x8]
	mov	w9, #-805306368
	add	w20, w9, w8, lsl #24
	mov	w8, #16777216
	cmp	w20, w8
	cset	w0, gt
	bl	_assert
	ldr	x8, [x19]
	add	x0, x8, #4
	str	x0, [x19]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	mov	x22, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EINVAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ERANGE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ERANGE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_10
LBB0_3:
	cmp	x22, #0
	cset	w0, ne
	bl	_assert
	ldr	x21, [sp, #8]
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	str	x21, [x19]
	cmp	w20, #1
	b.lt	LBB0_12
; %bb.4:
	asr	w8, w20, #24
	add	x20, x19, #8
	add	x21, x19, #16
	sub	x23, x22, #1
	subs	w24, w8, #1
	csinc	w25, w8, wzr, gt
Lloh9:
	adrp	x22, l_.str.1@PAGE
Lloh10:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w24, w24, #1
	sub	w25, w25, #1
	cbz	w25, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x1, [x8, x23, lsl #3]
	mov	x0, x20
	bl	_VEC_PUSH_STR
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	ldr	x1, [x8, x23, lsl #3]
	mov	x0, x21
	bl	_VEC_PUSH_STR
	cbz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w24, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_VEC_PUSH_STR
	cbnz	w0, LBB0_5
LBB0_10:
	mov	w0, #-1
	b	LBB0_13
LBB0_11:
	ldr	x21, [x19]
LBB0_12:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w0, eq
LBB0_13:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_ERANGE,8,3                     ; @ERANGE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	", "

	.no_dead_strip	_read_subst_iter
.subsections_via_symbols
