	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add                            ## -- Begin function add
	.p2align	4, 0x90
_add:                                   ## @add
	.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, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_2:
	movq	_fshead@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_add.nextfs(%rip), %rax
LBB0_4:
	movq	%r15, (%rax)
	movq	%r15, %rax
	addq	$8, %rax
	movq	%rax, _add.nextfs(%rip)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %ebx
	subl	%r13d, %ebx
	incl	%ebx
	movl	%ebx, %edi
	callq	_malloc
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_37
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r15
	addq	$24, %r15
	movl	%eax, %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movl	4(%r14), %edi
	callq	_escape
	incq	%r12
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
	decq	%r12
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rbx
	incq	%r12
	movzbl	1(%rbx), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, (%r12)
	je	LBB0_39
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, (%r15)
	movl	$1, (%r14)
	movzbl	(%r12), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%rbx), %edi
	callq	_isspace
	testq	%rax, %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$47, (%rbx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_badfmt
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_atoi
	movl	%eax, (%r14)
	movq	_F_SETREP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_17
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
	movl	4(%r14), %eax
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rbx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	(%rbx), %al
	cmpb	$47, %al
	jne	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	(%rbx), %al
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%rbx), %r13
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r13), %edi
	incq	%r13
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%r13), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_badfmt
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, 8(%r14)
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r13), %edi
	incq	%r13
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$34, (%r13)
	je	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_badfmt
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	1(%r13), %al
	incq	%r13
	movq	%r13, %r12
	cmpb	$34, %al
	je	LBB0_36
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %r12
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=2
	movzbl	1(%r12), %eax
	incq	%r12
	cmpb	$34, %al
	je	LBB0_36
LBB0_33:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	%al, %al
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	%r15, %rdi
	callq	_badfmt
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r13
	cmpb	$34, (%r13)
	jne	LBB0_30
	jmp	LBB0_31
LBB0_39:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_add.nextfs,8,3  ## @add.nextfs
	.comm	_fshead,8,3                     ## @fshead
	.comm	_F_SETREP,4,2                   ## @F_SETREP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add                            ; -- Begin function add
	.p2align	2
_add:                                   ; @add
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w24, #1
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_2:
Lloh0:
	adrp	x8, _fshead@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fshead@GOTPAGEOFF]
	ldr	x9, [x8]
	adrp	x10, _add.nextfs@PAGE
	ldr	x11, [x10, _add.nextfs@PAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x11, eq
	str	x20, [x8]
	add	x8, x20, #8
	str	x8, [x10, _add.nextfs@PAGEOFF]
Lloh2:
	adrp	x25, _F_SETREP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _F_SETREP@GOTPAGEOFF]
	mov	x8, x19
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w26, w23
	add	w22, w8, #1
	mov	x0, x22
	bl	_malloc
	str	w0, [x21, #4]
	cbz	w0, LBB0_17
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x23
	mov	x2, x22
	bl	_strlcpy
	ldr	w0, [x21, #4]
	bl	_escape
	add	x8, x26, #1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_35 Depth 2
	sub	x23, x8, #1
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x22, x23
	ldrb	w0, [x23, #1]!
	bl	_isspace
	cbnz	x0, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23]
	cbz	w8, LBB0_37
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	mov	x21, x0
	cbnz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x21, [x20]
	mov	x20, x21
	str	w24, [x20], #24
	ldrb	w0, [x23]
	bl	_isdigit
	cbz	x0, LBB0_18
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x22, #1]!
	bl	_isdigit
	cbnz	x0, LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w0, [x22]
	bl	_isspace
	cbnz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #47
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_badfmt
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_atoi
	str	w0, [x21]
	ldr	w8, [x25]
	str	w8, [x21, #16]
LBB0_16:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x22, #1]!
	bl	_isspace
	cbnz	x0, LBB0_16
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	x1, #0
	bl	_err
	ldr	w0, [x21, #4]
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x23
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w0, [x22]
	cmp	w0, #47
	b.ne	LBB0_22
LBB0_20:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x22, #1]!
	bl	_isspace
	cbnz	x0, LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w0, [x22]
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_isdigit
	cbz	x0, LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x23, x22, #1
LBB0_24:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x23, #1]!
	bl	_isdigit
	cbnz	x0, LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w0, [x23]
	bl	_isspace
	cbnz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_badfmt
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_atoi
	str	x0, [x21, #8]
LBB0_28:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x23, #1]!
	bl	_isspace
	cbnz	x0, LBB0_28
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x22
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23]
	cmp	w8, #34
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_badfmt
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x23, #1]!
	mov	x26, x23
	cmp	w8, #34
	b.eq	LBB0_3
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x23
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=2
	add	x26, x22, #1
	ldrb	w8, [x22, #1]
	mov	x22, x26
	cmp	w8, #34
	b.eq	LBB0_3
LBB0_35:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	w8, LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=2
	mov	x0, x19
	bl	_badfmt
	b	LBB0_34
LBB0_37:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_add.nextfs,8,3  ; @add.nextfs
	.comm	_fshead,8,3                     ; @fshead
	.comm	_F_SETREP,4,2                   ; @F_SETREP
.subsections_via_symbols
