	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_prog                       ## -- Begin function add_prog
	.p2align	4, 0x90
_add_prog:                              ## @add_prog
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_progs@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movl	96(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	88(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_2
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	movl	$104, %edi
	callq	_malloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$104, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_strdup
	movl	%eax, 96(%r12)
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_out_of_memory
LBB0_5:
	movq	$0, 88(%r12)
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	addq	$88, %rbx
	movq	%rbx, %r15
LBB0_7:
	movq	%r12, (%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%r12)
	movups	%xmm0, 48(%r12)
	movups	%xmm0, 32(%r12)
	movups	%xmm0, 16(%r12)
	movups	%xmm0, (%r12)
	movq	$0, 80(%r12)
	movq	_list_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.8:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_progs,8,3                      ## @progs
	.comm	_list_mode,8,3                  ## @list_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_prog                       ; -- Begin function add_prog
	.p2align	2
_add_prog:                              ; @add_prog
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _progs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _progs@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	ldr	w0, [x8, #96]
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x22, #88]
	cbnz	x8, LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x22, #0
LBB0_4:
	mov	w0, #104
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #104
	bl	_memset
	mov	x0, x19
	bl	_strdup
	str	w0, [x20, #96]
	cbnz	w0, LBB0_7
LBB0_6:
	bl	_out_of_memory
LBB0_7:
	str	xzr, [x20, #88]
	add	x8, x22, #88
	cmp	x22, #0
	csel	x8, x21, x8, eq
	str	x20, [x8]
	str	xzr, [x20, #80]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #48]
	stp	q0, q0, [x20, #16]
	str	q0, [x20]
Lloh2:
	adrp	x8, _list_mode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _list_mode@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_printf
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_progs,8,3                      ; @progs
	.comm	_list_mode,8,3                  ; @list_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

.subsections_via_symbols
