	.file	"322834.c"
	.intel_syntax noprefix
	.text
	.globl	open_or_exit
	.type	open_or_exit, @function
open_or_exit:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	open_or_exit, .-open_or_exit
	.section	.rodata
	.align 8
.LC0:
	.string	"USAGE: %s {sym} {rsrc}\n\n  Creates {sym}.cpp from the contents of {rsrc}\n"
.LC1:
	.string	"r"
.LC2:
	.string	"%s.cpp"
.LC3:
	.string	"w"
.LC4:
	.string	"namespace zipkin {\n"
	.align 8
.LC5:
	.string	"extern const unsigned char %s[];\n"
.LC6:
	.string	"extern const int %s_size;\n"
.LC7:
	.string	"const unsigned char %s[] = {\n"
.LC8:
	.string	"0x%02x, "
.LC9:
	.string	"};\n"
	.align 8
.LC10:
	.string	"const int %s_size = static_cast<int>(sizeof(%s));\n\n"
.LC11:
	.string	"} //namespace zipkin\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 592
	mov	DWORD PTR -580[rbp], edi
	mov	QWORD PTR -592[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -580[rbp], 2
	jg	.L5
	mov	rax, QWORD PTR -592[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L12
.L5:
	mov	rax, QWORD PTR -592[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -560[rbp], rax
	mov	rax, QWORD PTR -592[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	open_or_exit
	mov	QWORD PTR -552[rbp], rax
	mov	rdx, QWORD PTR -560[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -528[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	open_or_exit
	mov	QWORD PTR -544[rbp], rax
	mov	rax, QWORD PTR -544[rbp]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR -544[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR -544[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR -544[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	QWORD PTR -536[rbp], 0
	mov	QWORD PTR -576[rbp], 0
.L10:
	mov	rdx, QWORD PTR -552[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	mov	edx, 256
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -536[rbp], rax
	mov	QWORD PTR -568[rbp], 0
	jmp	.L7
.L9:
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -568[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -544[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -576[rbp], 1
	cmp	QWORD PTR -576[rbp], 10
	jne	.L8
	mov	rax, QWORD PTR -544[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	QWORD PTR -576[rbp], 0
.L8:
	add	QWORD PTR -568[rbp], 1
.L7:
	mov	rax, QWORD PTR -568[rbp]
	cmp	rax, QWORD PTR -536[rbp]
	jb	.L9
	cmp	QWORD PTR -536[rbp], 0
	jne	.L10
	cmp	QWORD PTR -576[rbp], 0
	je	.L11
	mov	rax, QWORD PTR -544[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L11:
	mov	rax, QWORD PTR -544[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rcx, QWORD PTR -560[rbp]
	mov	rdx, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR -544[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -544[rbp]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -544[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"322834.c"
	.text
	.align	2
	.global	open_or_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_or_exit, %function
open_or_exit:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r0, [fp, #-16]
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	open_or_exit, .-open_or_exit
	.section	.rodata
	.align	2
.LC0:
	.ascii	"USAGE: %s {sym} {rsrc}\012\012  Creates {sym}.cpp f"
	.ascii	"rom the contents of {rsrc}\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"%s.cpp\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"namespace zipkin {\012\000"
	.align	2
.LC5:
	.ascii	"extern const unsigned char %s[];\012\000"
	.align	2
.LC6:
	.ascii	"extern const int %s_size;\012\000"
	.align	2
.LC7:
	.ascii	"const unsigned char %s[] = {\012\000"
	.align	2
.LC8:
	.ascii	"0x%02x, \000"
	.align	2
.LC9:
	.ascii	"};\012\000"
	.align	2
.LC10:
	.ascii	"const int %s_size = static_cast<int>(sizeof(%s));\012"
	.ascii	"\012\000"
	.align	2
.LC11:
	.ascii	"} //namespace zipkin\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 552
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #552
	str	r0, [fp, #-552]
	str	r1, [fp, #-556]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-552]
	cmp	r3, #2
	bgt	.L5
	ldr	r3, .L14+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-556]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L14+8
	bl	fprintf
	mov	r3, #1
	b	.L12
.L5:
	ldr	r3, [fp, #-556]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-536]
	ldr	r3, [fp, #-556]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L14+12
	mov	r0, r3
	bl	open_or_exit
	str	r0, [fp, #-532]
	sub	r0, fp, #520
	ldr	r3, [fp, #-536]
	ldr	r2, .L14+16
	mov	r1, #256
	bl	snprintf
	sub	r3, fp, #520
	ldr	r1, .L14+20
	mov	r0, r3
	bl	open_or_exit
	str	r0, [fp, #-528]
	ldr	r3, [fp, #-528]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L14+24
	bl	fwrite
	ldr	r2, [fp, #-536]
	ldr	r1, .L14+28
	ldr	r0, [fp, #-528]
	bl	fprintf
	ldr	r2, [fp, #-536]
	ldr	r1, .L14+32
	ldr	r0, [fp, #-528]
	bl	fprintf
	ldr	r2, [fp, #-536]
	ldr	r1, .L14+36
	ldr	r0, [fp, #-528]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-524]
	mov	r3, #0
	str	r3, [fp, #-544]
.L10:
	sub	r0, fp, #264
	ldr	r3, [fp, #-532]
	mov	r2, #256
	mov	r1, #1
	bl	fread
	str	r0, [fp, #-524]
	mov	r3, #0
	str	r3, [fp, #-540]
	b	.L7
.L9:
	sub	r2, fp, #264
	ldr	r3, [fp, #-540]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L14+40
	ldr	r0, [fp, #-528]
	bl	fprintf
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
	ldr	r3, [fp, #-544]
	cmp	r3, #10
	bne	.L8
	ldr	r1, [fp, #-528]
	mov	r0, #10
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-544]
.L8:
	ldr	r3, [fp, #-540]
	add	r3, r3, #1
	str	r3, [fp, #-540]
.L7:
	ldr	r2, [fp, #-540]
	ldr	r3, [fp, #-524]
	cmp	r2, r3
	bcc	.L9
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	beq	.L11
	ldr	r1, [fp, #-528]
	mov	r0, #10
	bl	fputc
.L11:
	ldr	r3, [fp, #-528]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L14+44
	bl	fwrite
	ldr	r3, [fp, #-536]
	ldr	r2, [fp, #-536]
	ldr	r1, .L14+48
	ldr	r0, [fp, #-528]
	bl	fprintf
	ldr	r3, [fp, #-528]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L14+52
	bl	fwrite
	ldr	r0, [fp, #-532]
	bl	fclose
	ldr	r0, [fp, #-528]
	bl	fclose
	mov	r3, #0
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC12
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
