	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generate_type_copy             ## -- Begin function generate_type_copy
	.p2align	4, 0x90
_generate_type_copy:                    ## @generate_type_copy
	.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
	movl	12(%rdi), %edi
	callq	_preserve_type
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	movq	_used_fail@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	_codefile@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdx
	movq	%rcx, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %ecx
	callq	_copy_type
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.4:
	movl	(%r15), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_5:
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_used_fail,8,3                  ## @used_fail
	.comm	_codefile,4,2                   ## @codefile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"int ASN1CALL\ncopy_%s(const %s *from, %s *to)\n{\nmemset(to, 0, sizeof(*to));\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"to"

L_.str.3:                               ## @.str.3
	.asciz	"return 0;\n"

L_.str.4:                               ## @.str.4
	.asciz	"fail:\nfree_%s(to);\nreturn ENOMEM;\n"

L_.str.5:                               ## @.str.5
	.asciz	"}\n\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generate_type_copy             ; -- Begin function generate_type_copy
	.p2align	2
_generate_type_copy:                    ; @generate_type_copy
	.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
	ldr	w0, [x0, #12]
	bl	_preserve_type
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _FALSE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
Lloh4:
	adrp	x22, _used_fail@GOTPAGE
Lloh5:
	ldr	x22, [x22, _used_fail@GOTPAGEOFF]
	ldr	w20, [x8]
	str	xzr, [x22]
Lloh6:
	adrp	x21, _codefile@GOTPAGE
Lloh7:
	ldr	x21, [x21, _codefile@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	x8, [x19]
	stp	x8, x8, [sp, #8]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w2, [x19, #8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, x20
	bl	_copy_type
	ldr	w0, [x21]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_2:
	ldr	w0, [x21]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	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	_fprintf
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_used_fail,8,3                  ; @used_fail
	.comm	_codefile,4,2                   ; @codefile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"int ASN1CALL\ncopy_%s(const %s *from, %s *to)\n{\nmemset(to, 0, sizeof(*to));\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"to"

l_.str.3:                               ; @.str.3
	.asciz	"return 0;\n"

l_.str.4:                               ; @.str.4
	.asciz	"fail:\nfree_%s(to);\nreturn ENOMEM;\n"

l_.str.5:                               ; @.str.5
	.asciz	"}\n\n"

.subsections_via_symbols
