	.file	"93887213.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%02x"
	.text
	.globl	hexdump
	.type	hexdump, @function
hexdump:
.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L3
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hexdump, .-hexdump
	.globl	mkcryptfd
	.type	mkcryptfd, @function
mkcryptfd:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 524293
	mov	edi, 38
	call	socket@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	jns	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	neg	eax
	jmp	.L8
.L5:
	lea	rax, -96[rbp]
	mov	edx, 88
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -96[rbp], 38
	mov	rax, QWORD PTR -120[rbp]
	lea	rdx, -96[rbp]
	add	rdx, 2
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, -96[rbp]
	add	rdx, 24
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rcx, -96[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, 88
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	neg	eax
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -100[rbp]
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mkcryptfd, .-mkcryptfd
	.globl	docrypt
	.type	docrypt, @function
docrypt:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -132[rbp], edi
	mov	DWORD PTR -136[rbp], esi
	mov	QWORD PTR -144[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -160[rbp], r8
	mov	QWORD PTR -168[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	edx, 24
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -96[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -32[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], 24
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, 15
	jbe	.L11
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 8[rax], 279
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 12[rax], 3
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR [rax], 20
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, 16[rax]
	mov	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, -112[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], 1
	lea	rcx, -96[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jns	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	neg	eax
	cdqe
	jmp	.L16
.L13:
	mov	rdx, QWORD PTR -152[rbp]
	mov	rcx, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jns	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	neg	eax
	cdqe
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -120[rbp]
.L16:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	docrypt, .-docrypt
	.section	.rodata
.LC1:
	.string	"ecb(aes)"
.LC2:
	.string	"skcipher"
.LC3:
	.string	"%s: mismatch encrypt/decrypt\n"
.LC4:
	.string	"%s: %s\n"
	.text
	.globl	aesecb
	.type	aesecb, @function
aesecb:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 578437695752307201
	movabs	rdx, 1157159078456920585
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movabs	rax, 1084535218666537729
	movabs	rdx, 2241977984075764497
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -92[rbp], -1
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	mkcryptfd
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	js	.L29
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -88[rbp]
	mov	r8d, 16
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 279
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	js	.L30
	mov	eax, DWORD PTR -88[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	js	.L31
	lea	rcx, -64[rbp]
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 16
	mov	esi, eax
	mov	edi, 1
	call	docrypt
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	js	.L32
	lea	rcx, -48[rbp]
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 16
	mov	esi, eax
	mov	edi, 0
	call	docrypt
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	js	.L33
	lea	rcx, -32[rbp]
	lea	rax, -64[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L25
	lea	rsi, __func__.1[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L29:
	nop
	jmp	.L20
.L30:
	nop
	jmp	.L20
.L31:
	nop
	jmp	.L20
.L32:
	nop
	jmp	.L20
.L33:
	nop
.L20:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	lea	rsi, __func__.1[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	cmp	DWORD PTR -88[rbp], 0
	js	.L26
	mov	eax, DWORD PTR -88[rbp]
	mov	edi, eax
	call	close@PLT
.L26:
	cmp	DWORD PTR -92[rbp], 0
	js	.L34
	mov	eax, DWORD PTR -92[rbp]
	mov	edi, eax
	call	close@PLT
.L34:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	aesecb, .-aesecb
	.section	.rodata
.LC5:
	.string	"cmac(aes)"
.LC6:
	.string	"hash"
	.text
	.globl	aescmac
	.type	aescmac, @function
aescmac:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -64[rbp]
	mov	edx, 16
	mov	esi, 85
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	esi, 122
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -72[rbp], -1
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	mkcryptfd
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	js	.L46
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	r8d, 16
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 279
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	js	.L47
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -72[rbp], eax
	cmp	DWORD PTR -72[rbp], 0
	js	.L48
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, 16
	jne	.L49
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 16
	jne	.L50
	lea	rax, -32[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	hexdump
	jmp	.L42
.L46:
	nop
	jmp	.L37
.L47:
	nop
	jmp	.L37
.L48:
	nop
	jmp	.L37
.L49:
	nop
	jmp	.L37
.L50:
	nop
.L37:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	lea	rsi, __func__.0[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L42:
	cmp	DWORD PTR -68[rbp], 0
	js	.L43
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	close@PLT
.L43:
	cmp	DWORD PTR -72[rbp], 0
	js	.L51
	mov	eax, DWORD PTR -72[rbp]
	mov	edi, eax
	call	close@PLT
.L51:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	aescmac, .-aescmac
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	aesecb
	call	aescmac
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.type	__func__.1, @object
	.size	__func__.1, 7
__func__.1:
	.string	"aesecb"
	.align 8
	.type	__func__.0, @object
	.size	__func__.0, 8
__func__.0:
	.string	"aescmac"
	.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	"93887213.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%02x\000"
	.text
	.align	2
	.global	hexdump
	.syntax unified
	.arm
	.fpu softvfp
	.type	hexdump, %function
hexdump:
	@ 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	r3, [fp, #-16]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L4
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L3
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	hexdump, .-hexdump
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mkcryptfd
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkcryptfd, %function
mkcryptfd:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	ldr	r1, .L12+4
	mov	r0, #38
	bl	socket
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bge	.L7
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L10
.L7:
	sub	r3, fp, #96
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #38
	strh	r3, [fp, #-96]	@ movhi
	sub	r3, fp, #96
	add	r3, r3, #2
	ldr	r1, [fp, #-104]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #96
	add	r3, r3, #24
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #96
	mov	r2, #88
	mov	r1, r3
	ldr	r0, [fp, #-100]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-100]
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	524293
	.size	mkcryptfd, .-mkcryptfd
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	docrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	docrypt, %function
docrypt:
	@ args = 8, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	str	r3, [fp, #-84]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-88]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #52
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #24
	str	r3, [fp, #-36]
	mov	r3, #16
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #11
	bls	.L15
	ldr	r3, [fp, #-36]
	b	.L16
.L15:
	mov	r3, #0
.L16:
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	ldr	r2, .L22+4
	str	r2, [r3, #4]
	ldr	r3, [fp, #-68]
	mov	r2, #3
	str	r2, [r3, #8]
	ldr	r3, [fp, #-68]
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #12
	sub	r1, fp, #72
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-40]
	sub	r3, fp, #52
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-76]
	bl	sendmsg
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bge	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L20
.L17:
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-76]
	bl	read
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bge	.L19
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L20
.L19:
	ldr	r3, [fp, #-64]
.L20:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC2
	.word	279
	.size	docrypt, .-docrypt
	.section	.rodata
	.align	2
.LC5:
	.ascii	"ecb(aes)\000"
	.align	2
.LC6:
	.ascii	"skcipher\000"
	.align	2
.LC7:
	.ascii	"%s: mismatch encrypt/decrypt\012\000"
	.align	2
.LC8:
	.ascii	"%s: %s\012\000"
	.align	2
.LC3:
	.ascii	"\001\002\003\004\005\006\007\010\011\012\013\014\015"
	.ascii	"\016\017\020"
	.align	2
.LC4:
	.ascii	"\001\003\005\007\011\013\015\017\021\023\025\027\031"
	.ascii	"\033\035\037"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aesecb
	.syntax unified
	.arm
	.fpu softvfp
	.type	aesecb, %function
aesecb:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L41+4
	sub	ip, fp, #72
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L41+8
	sub	ip, fp, #56
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mvn	r3, #0
	str	r3, [fp, #-84]
	ldr	r1, .L41+12
	ldr	r0, .L41+16
	bl	mkcryptfd
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	blt	.L35
	sub	r3, fp, #72
	mov	r2, #16
	str	r2, [sp]
	mov	r2, #1
	ldr	r1, .L41+20
	ldr	r0, [fp, #-80]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	blt	.L36
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-80]
	bl	accept
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	blt	.L37
	sub	r2, fp, #40
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #16
	ldr	r1, [fp, #-84]
	mov	r0, #1
	bl	docrypt
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L38
	sub	r2, fp, #24
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #40
	str	r3, [sp]
	mov	r3, #16
	ldr	r1, [fp, #-84]
	mov	r0, #0
	bl	docrypt
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L39
	sub	r1, fp, #24
	sub	r3, fp, #56
	mov	r2, #16
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r1, .L41+24
	ldr	r0, .L41+28
	bl	printf
	b	.L31
.L35:
	nop
	b	.L26
.L36:
	nop
	b	.L26
.L37:
	nop
	b	.L26
.L38:
	nop
	b	.L26
.L39:
	nop
.L26:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L41+24
	ldr	r0, .L41+32
	bl	printf
.L31:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	blt	.L32
	ldr	r0, [fp, #-80]
	bl	close
.L32:
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	blt	.L40
	ldr	r0, [fp, #-84]
	bl	close
.L40:
	nop
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC9
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	279
	.word	__func__.5897
	.word	.LC7
	.word	.LC8
	.size	aesecb, .-aesecb
	.section	.rodata
	.align	2
.LC10:
	.ascii	"cmac(aes)\000"
	.align	2
.LC11:
	.ascii	"hash\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aescmac
	.syntax unified
	.arm
	.fpu softvfp
	.type	aescmac, %function
aescmac:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #56
	mov	r2, #16
	mov	r1, #85
	mov	r0, r3
	bl	memset
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, #122
	mov	r0, r3
	bl	memset
	mvn	r3, #0
	str	r3, [fp, #-64]
	ldr	r1, .L60+4
	ldr	r0, .L60+8
	bl	mkcryptfd
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	blt	.L54
	sub	r3, fp, #56
	mov	r2, #16
	str	r2, [sp]
	mov	r2, #1
	ldr	r1, .L60+12
	ldr	r0, [fp, #-60]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	blt	.L55
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-60]
	bl	accept
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	blt	.L56
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	write
	mov	r3, r0
	cmp	r3, #16
	bne	.L57
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	read
	mov	r3, r0
	cmp	r3, #16
	bne	.L58
	sub	r3, fp, #24
	mov	r1, #16
	mov	r0, r3
	bl	hexdump
	b	.L50
.L54:
	nop
	b	.L45
.L55:
	nop
	b	.L45
.L56:
	nop
	b	.L45
.L57:
	nop
	b	.L45
.L58:
	nop
.L45:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L60+16
	ldr	r0, .L60+20
	bl	printf
.L50:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	blt	.L51
	ldr	r0, [fp, #-60]
	bl	close
.L51:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	blt	.L59
	ldr	r0, [fp, #-64]
	bl	close
.L59:
	nop
	ldr	r3, .L60
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC12
	.word	.LC10
	.word	.LC11
	.word	279
	.word	__func__.5907
	.word	.LC8
	.size	aescmac, .-aescmac
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	aesecb
	bl	aescmac
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__func__.5897, %object
	.size	__func__.5897, 7
__func__.5897:
	.ascii	"aesecb\000"
	.align	2
	.type	__func__.5907, %object
	.size	__func__.5907, 8
__func__.5907:
	.ascii	"aescmac\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
