	.file	"extr_tox-bootstrapd.c_print_public_key.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%02hhX"
.LC1:
	.string	"Public Key: %s\n"
	.text
	.p2align 4
	.globl	print_public_key
	.type	print_public_key, @function
print_public_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rdi
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	ecx, DWORD PTR crypto_box_PUBLICKEYBYTES[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rsi, rsp
	lea	eax, 1[rcx+rcx]
	cdqe
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L17
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L18
.L4:
	mov	r12, rsp
	test	ecx, ecx
	je	.L5
	xor	r14d, r14d
	xor	ebx, ebx
	lea	r13, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR [r15+rbx*4]
	movsx	rdi, r14d
	mov	rsi, r13
	add	rbx, 1
	add	rdi, r12
	call	sprintf@PLT
	add	r14d, eax
	movsx	rax, DWORD PTR crypto_box_PUBLICKEYBYTES[rip]
	cmp	rax, rbx
	ja	.L6
.L5:
	mov	edi, DWORD PTR LOG_LEVEL_INFO[rip]
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	call	write_log@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	print_public_key, .-print_public_key
	.comm	crypto_box_PUBLICKEYBYTES,4,4
	.comm	LOG_LEVEL_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tox-bootstrapd.c_print_public_key.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%02hhX\000"
	.align	2
.LC1:
	.ascii	"Public Key: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_public_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_public_key, %function
print_public_key:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	ldr	r8, .L12
	ldr	r3, .L12+4
	ldr	r2, [r8]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	lsl	r3, r2, #1
	add	r3, r3, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	cmp	r2, #0
	mov	r7, sp
	beq	.L2
	mov	r4, #0
	mov	r5, r4
	ldr	r9, .L12+8
	sub	r6, r0, #4
.L3:
	add	r0, r7, r4
	mov	r1, r9
	ldr	r2, [r6, #4]!
	bl	sprintf
	ldr	r3, [r8]
	add	r5, r5, #1
	cmp	r3, r5
	add	r4, r4, r0
	bhi	.L3
.L2:
	ldr	r3, .L12+12
	mov	r2, r7
	ldr	r0, [r3]
	ldr	r1, .L12+16
	bl	write_log
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	crypto_box_PUBLICKEYBYTES
	.word	.LC2
	.word	.LC0
	.word	LOG_LEVEL_INFO
	.word	.LC1
	.size	print_public_key, .-print_public_key
	.comm	crypto_box_PUBLICKEYBYTES,4,4
	.comm	LOG_LEVEL_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
