	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filegen_register               ## -- Begin function filegen_register
	.p2align	4, 0x90
_filegen_register:                      ## @filegen_register
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	$4, %edi
	movq	%rdx, %rsi
	callq	_DPRINTF
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_filegen_init
	movq	_filegen_registry@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	(%rax), %rdi
	movq	_filegen_registry@GOTPCREL(%rip), %r15
	cmpq	%r12, %rdi
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rax
	movq	%rbx, %r15
	addq	$16, %r15
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rdi
	movq	%rax, %rbx
	cmpq	%r12, %rdi
	jne	LBB0_4
	jmp	LBB0_6
LBB0_8:
	movl	$24, %edi
	callq	_emalloc
	movq	%rax, (%r15)
	movq	$0, 16(%rax)
	movq	%r12, %rdi
	callq	_estrdup
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movq	(%r15), %rax
	movq	%r14, 8(%rax)
	leaq	L_.str.2(%rip), %rsi
	movl	$6, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DPRINTF                        ## TAILCALL
LBB0_5:
	movq	%rbx, %rax
LBB0_6:
	movq	8(%rax), %rsi
	movl	$5, %edi
	callq	_DPRINTF
	movq	(%r15), %rax
	movq	%r14, 8(%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_filegen_registry,8,3           ## @filegen_registry
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"adding new filegen\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filegen_register               ; -- Begin function filegen_register
	.p2align	2
_filegen_register:                      ; @filegen_register
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #4
	mov	x1, x2
	bl	_DPRINTF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_filegen_init
Lloh0:
	adrp	x21, _filegen_registry@GOTPAGE
Lloh1:
	ldr	x21, [x21, _filegen_registry@GOTPAGEOFF]
	ldr	x22, [x21]
	cbz	x22, LBB0_6
; %bb.1:
	ldr	x0, [x22]
Lloh2:
	adrp	x21, _filegen_registry@GOTPAGE
Lloh3:
	ldr	x21, [x21, _filegen_registry@GOTPAGEOFF]
	cmp	x0, x20
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x22
	ldr	x22, [x21, #16]!
	cbz	x22, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x22]
	cmp	x0, x20
	b.ne	LBB0_2
LBB0_5:
	ldr	x1, [x22, #8]
	mov	w0, #5
	bl	_DPRINTF
	ldr	x8, [x21]
	str	x19, [x8, #8]
	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
LBB0_6:
	mov	w0, #24
	bl	_emalloc
	str	x0, [x21]
	str	xzr, [x0, #16]
	mov	x0, x20
	bl	_estrdup
	ldr	x8, [x21]
	str	x0, [x8]
	ldr	x8, [x21]
	str	x19, [x8, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #6
	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	_DPRINTF
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_filegen_registry,8,3           ; @filegen_registry
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"adding new filegen\n"

.subsections_via_symbols
