	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_specs                      ## -- Begin function add_specs
	.p2align	4, 0x90
_add_specs:                             ## @add_specs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_fgetln
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r14
	leaq	-64(%rbp), %r15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fgetln
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_chomp_line
	cmpq	$1, -64(%rbp)
	sbbq	$-1, -56(%rbp)                  ## 8-byte Folded Spill
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_10:
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_12:
	movq	%rbx, %rdi
	callq	_rewind
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_14:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, (%r12)
	testq	%r14, %r14
	je	LBB0_26
## %bb.15:
	leaq	-64(%rbp), %r12
	leaq	-48(%rbp), %r14
	jmp	LBB0_16
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_26
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fgetln
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	callq	_feof
	movl	$1, %edi
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdx
	callq	_errx
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_err
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_chomp_line
	movl	%eax, %r15d
	cmpq	$0, -64(%rbp)
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%r15d, %r15d
	je	LBB0_16
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_16
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	-4(,%rax,4), %rdx
	decq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rax), %rdx
	movq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_add_spec_line
	testl	%r15d, %r15d
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_25
LBB0_26:
	movq	%rbx, %rdi
	callq	_fclose
	movq	_qflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_28
## %bb.27:
	movq	(%rbx), %rdx
	leaq	L_.str.6(%rip), %rdi
	movq	%r13, %rsi
	callq	_warnx
LBB0_28:
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_STAILQ_INSERT_TAIL
	addq	$56, %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	"malloc"

L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"opening %s"

L_.str.3:                               ## @.str.3
	.asciz	"fgetln on %s"

L_.str.4:                               ## @.str.4
	.asciz	"%s ended prematurely"

L_.str.5:                               ## @.str.5
	.asciz	"failure reading %s"

	.comm	_qflag,4,2                      ## @qflag
L_.str.6:                               ## @.str.6
	.asciz	"%s: read %lu specifications"

	.comm	_link,4,2                       ## @link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_specs                      ; -- Begin function add_specs
	.p2align	2
_add_specs:                             ; @add_specs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	w0, #16
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_fopen
	mov	x23, x0
	cbnz	x0, LBB0_4
; %bb.3:
	str	x21, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	add	x1, sp, #16
	mov	x0, x23
	bl	_fgetln
	str	x0, [sp, #24]
	mov	x24, #0
	cbnz	x0, LBB0_10
LBB0_5:
	mov	x0, x23
	bl	_ferror
	cbz	x0, LBB0_7
; %bb.6:
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	mov	x0, x23
	bl	_rewind
	mov	x0, x24
	mov	w1, #4
	bl	_calloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_12
; %bb.8:
	str	x24, [x20]
	cbnz	x24, LBB0_13
	b	LBB0_24
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x1, sp, #16
	mov	x0, x23
	bl	_fgetln
	str	x0, [sp, #24]
	cbz	x0, LBB0_5
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_chomp_line
	ldr	x8, [sp, #16]
	cmp	x8, #0
	cinc	x24, x24, ne
	cbz	w0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [sp, #24]
	bl	_free
	b	LBB0_9
LBB0_12:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	str	x24, [x20]
	cbz	x24, LBB0_24
LBB0_13:
Lloh10:
	adrp	x25, l_.str.5@PAGE
Lloh11:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh12:
	adrp	x26, l_.str.4@PAGE
Lloh13:
	add	x26, x26, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	cbz	x24, LBB0_24
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	mov	x0, x23
	bl	_fgetln
	str	x0, [sp, #24]
	cbnz	x0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x23
	bl	_feof
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w0, #1
	mov	x1, x26
	mov	x2, x21
	bl	_errx
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	str	x21, [sp]
	mov	w0, #1
	mov	x1, x25
	bl	_err
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_chomp_line
	mov	x27, x0
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	w27, LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #24]
	bl	_free
	b	LBB0_15
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x20, #8]
	sub	x24, x24, #1
	add	x2, x8, x24, lsl #2
	ldr	x3, [sp, #24]
	mov	x0, x21
	mov	x1, x22
	bl	_add_spec_line
	cbz	w27, LBB0_14
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #24]
	bl	_free
	b	LBB0_14
LBB0_24:
	mov	x0, x23
	bl	_fclose
Lloh14:
	adrp	x8, _qflag@GOTPAGE
Lloh15:
	ldr	x8, [x8, _qflag@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cbnz	w8, LBB0_26
; %bb.25:
	ldr	x2, [x20]
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x21
	bl	_warnx
LBB0_26:
Lloh19:
	adrp	x8, _link@GOTPAGE
Lloh20:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_STAILQ_INSERT_TAIL
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"opening %s"

l_.str.3:                               ; @.str.3
	.asciz	"fgetln on %s"

l_.str.4:                               ; @.str.4
	.asciz	"%s ended prematurely"

l_.str.5:                               ; @.str.5
	.asciz	"failure reading %s"

	.comm	_qflag,4,2                      ; @qflag
l_.str.6:                               ; @.str.6
	.asciz	"%s: read %lu specifications"

	.comm	_link,4,2                       ; @link
.subsections_via_symbols
