	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generate_type                  ## -- Begin function generate_type
	.p2align	4, 0x90
_generate_type:                         ## @generate_type
	.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, %rbx
	movq	_one_code_file@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	callq	_generate_header_of_codefile
LBB0_2:
	movq	%rbx, %rdi
	callq	_generate_type_header
	movq	_template_flag@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_generate_template
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_is_template_compat
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_generate_type_encode
	movq	%rbx, %rdi
	callq	_generate_type_decode
	movq	%rbx, %rdi
	callq	_generate_type_free
	movq	%rbx, %rdi
	callq	_generate_type_length
	movq	%rbx, %rdi
	callq	_generate_type_copy
LBB0_6:
	movq	%rbx, %rdi
	callq	_generate_type_seq
	movl	12(%rbx), %edi
	movq	(%rbx), %rsi
	callq	_generate_glue
	movl	8(%rbx), %edi
	callq	_is_export
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %r15
	movq	_headerfile@GOTPCREL(%rip), %rcx
	cmoveq	_privheaderfile@GOTPCREL(%rip), %rcx
	cmoveq	%rax, %r15
	movq	(%rcx), %r14
	movq	(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rcx, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%rbx), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rcx, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%rbx), %rcx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rcx, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%rbx), %rcx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rcx, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%rbx), %rcx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rcx, %r8
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.7(%rip), %rdi
	movl	$2, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fwrite
	cmpl	$0, (%r12)
	je	LBB0_8
## %bb.7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_codefile@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.7(%rip), %rdi
	movl	$2, %esi
	movl	$1, %edx
	callq	_fwrite
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close_codefile                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_one_code_file,4,2              ## @one_code_file
	.comm	_template_flag,8,3              ## @template_flag
	.comm	_headerfile,8,3                 ## @headerfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASN1EXP "

	.comm	_privheaderfile,8,3             ## @privheaderfile
L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"%sint    ASN1CALL decode_%s(const unsigned char *, size_t, %s *, size_t *);\n"

L_.str.3:                               ## @.str.3
	.asciz	"%sint    ASN1CALL encode_%s(unsigned char *, size_t, const %s *, size_t *);\n"

L_.str.4:                               ## @.str.4
	.asciz	"%ssize_t ASN1CALL length_%s(const %s *);\n"

L_.str.5:                               ## @.str.5
	.asciz	"%sint    ASN1CALL copy_%s  (const %s *, %s *);\n"

L_.str.6:                               ## @.str.6
	.asciz	"%svoid   ASN1CALL free_%s  (%s *);\n"

L_.str.7:                               ## @.str.7
	.asciz	"\n\n"

	.comm	_codefile,8,3                   ## @codefile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generate_type                  ; -- Begin function generate_type
	.p2align	2
_generate_type:                         ; @generate_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x21, _one_code_file@GOTPAGE
Lloh1:
	ldr	x21, [x21, _one_code_file@GOTPAGEOFF]
	ldr	w8, [x21]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	x0, [x19]
	bl	_generate_header_of_codefile
LBB0_2:
	mov	x0, x19
	bl	_generate_type_header
Lloh2:
	adrp	x20, _template_flag@GOTPAGE
Lloh3:
	ldr	x20, [x20, _template_flag@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_generate_template
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_is_template_compat
	cbnz	x0, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_generate_type_encode
	mov	x0, x19
	bl	_generate_type_decode
	mov	x0, x19
	bl	_generate_type_free
	mov	x0, x19
	bl	_generate_type_length
	mov	x0, x19
	bl	_generate_type_copy
LBB0_6:
	mov	x0, x19
	bl	_generate_type_seq
	ldr	w0, [x19, #12]
	ldr	x1, [x19]
	bl	_generate_glue
	ldr	w0, [x19, #8]
	bl	_is_export
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
Lloh6:
	adrp	x9, l_.str.1@PAGE
Lloh7:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh8:
	adrp	x10, _privheaderfile@GOTPAGE
Lloh9:
	ldr	x10, [x10, _privheaderfile@GOTPAGEOFF]
	cmp	x0, #0
	csel	x22, x9, x8, eq
Lloh10:
	adrp	x8, _headerfile@GOTPAGE
Lloh11:
	ldr	x8, [x8, _headerfile@GOTPAGEOFF]
	csel	x8, x10, x8, eq
	ldr	x20, [x8]
	ldr	x8, [x19]
	stp	x8, x8, [sp, #8]
	str	x22, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	ldr	x8, [x19]
	stp	x8, x8, [sp, #8]
	str	x22, [sp]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	ldr	x8, [x19]
	stp	x8, x8, [sp, #8]
	str	x22, [sp]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	ldr	x8, [x19]
	stp	x8, x8, [sp, #16]
	stp	x22, x8, [sp]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	ldr	x8, [x19]
	stp	x8, x8, [sp, #8]
	str	x22, [sp]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_fprintf
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	mov	x3, x20
	bl	_fwrite
	ldr	w8, [x21]
	cbz	w8, LBB0_8
; %bb.7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
Lloh24:
	adrp	x8, _codefile@GOTPAGE
Lloh25:
	ldr	x8, [x8, _codefile@GOTPAGEOFF]
Lloh26:
	ldr	x3, [x8]
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	bl	_fwrite
	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
	add	sp, sp, #80
	b	_close_codefile
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_one_code_file,4,2              ; @one_code_file
	.comm	_template_flag,8,3              ; @template_flag
	.comm	_headerfile,8,3                 ; @headerfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASN1EXP "

	.comm	_privheaderfile,8,3             ; @privheaderfile
l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"%sint    ASN1CALL decode_%s(const unsigned char *, size_t, %s *, size_t *);\n"

l_.str.3:                               ; @.str.3
	.asciz	"%sint    ASN1CALL encode_%s(unsigned char *, size_t, const %s *, size_t *);\n"

l_.str.4:                               ; @.str.4
	.asciz	"%ssize_t ASN1CALL length_%s(const %s *);\n"

l_.str.5:                               ; @.str.5
	.asciz	"%sint    ASN1CALL copy_%s  (const %s *, %s *);\n"

l_.str.6:                               ; @.str.6
	.asciz	"%svoid   ASN1CALL free_%s  (%s *);\n"

l_.str.7:                               ; @.str.7
	.asciz	"\n\n"

	.comm	_codefile,8,3                   ; @codefile
.subsections_via_symbols
