	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_pipes
_parse_pipes:                           ## @parse_pipes
	.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
	movl	$58, %esi
	callq	_index
	movq	%rax, %r14
	movq	_glob_arg@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_ND
	movl	(%rbx), %eax
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	leaq	(%rax,%rax,2), %rax
	leaq	12(,%rax,4), %rsi
	movq	_groups@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_realloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %r13
	movl	(%rbx), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_groups@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
LBB0_4:
	cltq
	leaq	(%rax,%rax,2), %rbx
	leaq	(,%rbx,4), %r12
	addq	%r13, %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	testq	%r14, %r14
	je	LBB0_9
## %bb.5:
	movq	%r14, %rdx
	subq	%r15, %rdx
	movq	_MAX_IFNAMELEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$-8, %rax
	cmpq	%rax, %rdx
	jle	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_16
LBB0_7:
	cmpq	%r15, %r14
	je	LBB0_15
## %bb.8:
	movl	8(%r13,%rbx,4), %edi
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
	movl	$1, (%r12)
	incq	%r14
	movq	%r14, %r15
LBB0_9:
	cmpb	$0, (%r15)
	je	LBB0_13
## %bb.10:
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, 4(%r13,%rbx,4)
	testl	%eax, %eax
	jg	LBB0_14
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_16
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_D
	jmp	LBB0_17
LBB0_13:
	movq	_DEF_OUT_PIPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13,%rbx,4)
LBB0_14:
	movq	_glob_arg@GOTPCREL(%rip), %rcx
	addl	%eax, 4(%rcx)
	incl	(%rcx)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_15:
	leaq	L_.str.3(%rip), %rdi
LBB0_16:
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_D
LBB0_17:
	movl	$1, %eax
LBB0_18:
	addq	$8, %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	"spec %s num_groups %d"

	.comm	_glob_arg,8,2                   ## @glob_arg
	.comm	_groups,8,3                     ## @groups
L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

	.comm	_MAX_IFNAMELEN,4,2              ## @MAX_IFNAMELEN
L_.str.2:                               ## @.str.2
	.asciz	"name '%s' too long"

L_.str.3:                               ## @.str.3
	.asciz	"missing prefix before ':' in '%s'"

	.comm	_DEF_OUT_PIPES,4,2              ## @DEF_OUT_PIPES
L_.str.4:                               ## @.str.4
	.asciz	"invalid number of pipes '%s' (must be at least 1)"

	.no_dead_strip	_parse_pipes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_pipes
_parse_pipes:                           ; @parse_pipes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	mov	w1, #58
	bl	_index
	mov	x20, x0
Lloh0:
	adrp	x23, _glob_arg@GOTPAGE
Lloh1:
	ldr	x23, [x23, _glob_arg@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_ND
	ldr	w8, [x23]
	tbnz	w8, #31, LBB0_3
; %bb.1:
	mov	w9, #12
	orr	x10, xzr, #0xc
	madd	x1, x8, x9, x10
Lloh4:
	adrp	x22, _groups@GOTPAGE
Lloh5:
	ldr	x22, [x22, _groups@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_realloc
	str	x0, [x22]
	cbz	x0, LBB0_12
; %bb.2:
	mov	x21, x0
	ldr	w8, [x23]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x9, _groups@GOTPAGE
Lloh7:
	ldr	x9, [x9, _groups@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_4:
	sxtw	x24, w8
	mov	w9, #12
	smaddl	x22, w8, w9, x21
	mov	x0, x22
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	cbz	x20, LBB0_9
; %bb.5:
Lloh9:
	adrp	x8, _MAX_IFNAMELEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_IFNAMELEN@GOTPAGEOFF]
Lloh11:
	ldrsw	x8, [x8]
	sub	x8, x8, #8
	sub	x2, x20, x19
	cmp	x2, x8
	b.le	LBB0_7
; %bb.6:
	str	x19, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_7:
	cmp	x20, x19
	b.eq	LBB0_15
; %bb.8:
	mov	w8, #12
	madd	x8, x24, x8, x21
	ldr	w0, [x8, #8]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_strncpy
	mov	w8, #1
	str	w8, [x22]
	add	x19, x20, #1
LBB0_9:
	ldrb	w8, [x19]
	cbz	w8, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_atoi
	mov	x8, x0
	mov	w9, #12
	madd	x9, x24, x9, x21
	str	w0, [x9, #4]
	cmp	w0, #0
	b.gt	LBB0_14
; %bb.11:
	str	x19, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_12:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_13:
Lloh18:
	adrp	x8, _DEF_OUT_PIPES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DEF_OUT_PIPES@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	w9, #12
	madd	x9, x24, x9, x21
	str	w8, [x9, #4]
LBB0_14:
	mov	w0, #0
	ldp	w10, w9, [x23]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x23]
	b	LBB0_17
LBB0_15:
	str	x19, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_16:
	bl	_D
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spec %s num_groups %d"

	.comm	_glob_arg,8,2                   ; @glob_arg
	.comm	_groups,8,3                     ; @groups
l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

	.comm	_MAX_IFNAMELEN,4,2              ; @MAX_IFNAMELEN
l_.str.2:                               ; @.str.2
	.asciz	"name '%s' too long"

l_.str.3:                               ; @.str.3
	.asciz	"missing prefix before ':' in '%s'"

	.comm	_DEF_OUT_PIPES,4,2              ; @DEF_OUT_PIPES
l_.str.4:                               ; @.str.4
	.asciz	"invalid number of pipes '%s' (must be at least 1)"

	.no_dead_strip	_parse_pipes
.subsections_via_symbols
