	.file	"extr_test_sshkey.c_build_cert.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gsamsa"
.LC1:
	.string	"gregor"
.LC2:
	.string	"/usr/local/bin/nethack"
.LC3:
	.string	"force-command"
.LC4:
	.string	"192.168.0.0/24,127.0.0.1,::1"
.LC5:
	.string	"source-address"
.LC6:
	.string	"permit-X11-forwarding"
.LC7:
	.string	"noncenoncenonce!"
	.text
	.p2align 4
	.type	build_cert, @function
build_cert:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 24[rsp], rcx
	mov	QWORD PTR 16[rsp], r9
	mov	QWORD PTR 8[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	sshbuf_new@PLT
	xor	esi, esi
	mov	r15, rax
	mov	rdi, rax
	call	ASSERT_PTR_NE@PLT
	mov	rdi, r13
	mov	rsi, r15
	call	sshkey_putb@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	xor	eax, eax
	call	sshbuf_new@PLT
	xor	esi, esi
	mov	r13, rax
	mov	rdi, rax
	call	ASSERT_PTR_NE@PLT
	mov	rdi, r12
	mov	rsi, r13
	call	sshkey_putb_plain@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rdi, r13
	call	sshbuf_skip_string@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	xor	eax, eax
	call	sshbuf_new@PLT
	xor	esi, esi
	mov	r14, rax
	mov	rdi, rax
	call	ASSERT_PTR_NE@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	call	sshbuf_put_cstring@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	sshbuf_put_cstring@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	xor	eax, eax
	call	sshbuf_new@PLT
	xor	esi, esi
	mov	r12, rax
	mov	rdi, rax
	call	ASSERT_PTR_NE@PLT
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	put_opt@PLT
	lea	rdx, .LC4[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	call	put_opt@PLT
	xor	eax, eax
	call	sshbuf_new@PLT
	xor	esi, esi
	mov	rdi, rax
	mov	rbx, rax
	call	ASSERT_PTR_NE@PLT
	xor	edx, edx
	lea	rsi, .LC6[rip]
	mov	rdi, r12
	call	put_opt@PLT
	mov	r11, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	rsi, r11
	call	sshbuf_put_cstring@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	call	sshbuf_put_cstring@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	sshbuf_putb@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	esi, 1234
	mov	rdi, rbp
	call	sshbuf_put_u64@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	esi, DWORD PTR SSH2_CERT_TYPE_USER[rip]
	mov	rdi, rbp
	call	sshbuf_put_u32@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	sshbuf_put_cstring@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	sshbuf_put_stringb@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	sshbuf_put_u64@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	esi, -1
	mov	rdi, rbp
	call	sshbuf_put_u64@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	sshbuf_put_stringb@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	sshbuf_put_stringb@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	sshbuf_put_string@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rsi, r15
	mov	rdi, rbp
	call	sshbuf_put_stringb@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rdi, rbp
	call	sshbuf_len@PLT
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], eax
	call	sshbuf_ptr@PLT
	lea	rdx, 48[rsp]
	lea	rsi, 40[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	mov	r10, QWORD PTR 40[rsp]
	mov	ecx, eax
	mov	r9, QWORD PTR 32[rsp]
	mov	r8d, DWORD PTR 24[rsp]
	mov	rdi, r10
	call	sshkey_sign@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rdx, QWORD PTR 64[rsp]
	mov	rsi, QWORD PTR 56[rsp]
	mov	rdi, rbp
	call	sshbuf_put_string@PLT
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_INT_EQ@PLT
	mov	rdi, QWORD PTR 56[rsp]
	call	free@PLT
	mov	rdi, r15
	call	sshbuf_free@PLT
	mov	rdi, rbx
	call	sshbuf_free@PLT
	mov	rdi, r12
	call	sshbuf_free@PLT
	mov	rdi, r14
	call	sshbuf_free@PLT
	mov	rdi, r13
	call	sshbuf_free@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	build_cert, .-build_cert
	.comm	SSH2_CERT_TYPE_USER,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_test_sshkey.c_build_cert.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gsamsa\000"
	.align	2
.LC1:
	.ascii	"gregor\000"
	.align	2
.LC2:
	.ascii	"/usr/local/bin/nethack\000"
	.align	2
.LC3:
	.ascii	"force-command\000"
	.align	2
.LC4:
	.ascii	"192.168.0.0/24,127.0.0.1,::1\000"
	.align	2
.LC5:
	.ascii	"source-address\000"
	.align	2
.LC6:
	.ascii	"permit-X11-forwarding\000"
	.align	2
.LC7:
	.ascii	"noncenoncenonce!\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_cert, %function
build_cert:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r3
	ldr	r3, .L6
	sub	sp, sp, #44
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r3, [sp, #84]
	mov	r10, r2
	str	r3, [sp, #16]
	mov	r4, r0
	mov	r5, r1
	ldr	r6, [sp, #80]
	bl	sshbuf_new
	mov	r8, r0
	mov	r1, #0
	bl	ASSERT_PTR_NE
	mov	r1, r8
	mov	r0, r6
	bl	sshkey_putb
	mov	r1, #0
	bl	ASSERT_INT_EQ
	bl	sshbuf_new
	mov	r6, r0
	mov	r1, #0
	bl	ASSERT_PTR_NE
	mov	r1, r6
	mov	r0, r5
	bl	sshkey_putb_plain
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r0, r6
	bl	sshbuf_skip_string
	mov	r1, #0
	bl	ASSERT_INT_EQ
	bl	sshbuf_new
	mov	r7, r0
	mov	r1, #0
	bl	ASSERT_PTR_NE
	ldr	r1, .L6+4
	mov	r0, r7
	bl	sshbuf_put_cstring
	mov	r1, #0
	bl	ASSERT_INT_EQ
	ldr	r1, .L6+8
	mov	r0, r7
	bl	sshbuf_put_cstring
	mov	r1, #0
	bl	ASSERT_INT_EQ
	bl	sshbuf_new
	mov	r5, r0
	mov	r1, #0
	bl	ASSERT_PTR_NE
	ldr	r2, .L6+12
	ldr	r1, .L6+16
	mov	r0, r5
	bl	put_opt
	ldr	r2, .L6+20
	ldr	r1, .L6+24
	mov	r0, r5
	bl	put_opt
	bl	sshbuf_new
	mov	r9, r0
	mov	r1, #0
	bl	ASSERT_PTR_NE
	mov	r2, #0
	ldr	r1, .L6+28
	mov	r0, r5
	bl	put_opt
	mov	r1, r10
	mov	r0, r4
	bl	sshbuf_put_cstring
	mov	r1, #0
	bl	ASSERT_INT_EQ
	ldr	r1, .L6+32
	mov	r0, r4
	bl	sshbuf_put_cstring
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r1, r6
	mov	r0, r4
	bl	sshbuf_putb
	mov	r1, #0
	bl	ASSERT_INT_EQ
	ldr	r1, .L6+36
	mov	r0, r4
	bl	sshbuf_put_u64
	mov	r1, #0
	bl	ASSERT_INT_EQ
	ldr	r3, .L6+40
	mov	r0, r4
	ldr	r1, [r3]
	bl	sshbuf_put_u32
	mov	r1, #0
	bl	ASSERT_INT_EQ
	ldr	r1, .L6+8
	mov	r0, r4
	bl	sshbuf_put_cstring
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r1, r7
	mov	r0, r4
	bl	sshbuf_put_stringb
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r1, #0
	mov	r0, r4
	bl	sshbuf_put_u64
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mvn	r1, #0
	mov	r0, r4
	bl	sshbuf_put_u64
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r1, r5
	mov	r0, r4
	bl	sshbuf_put_stringb
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r1, r9
	mov	r0, r4
	bl	sshbuf_put_stringb
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r2, #0
	mov	r0, r4
	mov	r1, r2
	bl	sshbuf_put_string
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r1, r8
	mov	r0, r4
	bl	sshbuf_put_stringb
	mov	r1, #0
	bl	ASSERT_INT_EQ
	mov	r0, r4
	bl	sshbuf_ptr
	mov	r3, r0
	mov	r0, r4
	str	r3, [sp, #20]
	bl	sshbuf_len
	mov	r10, #0
	mov	r2, r0
	ldr	r3, [sp, #16]
	str	r2, [sp]
	str	r3, [sp, #4]
	add	r2, sp, #32
	ldr	r3, [sp, #20]
	add	r1, sp, #28
	mov	r0, fp
	str	r10, [sp, #8]
	bl	sshkey_sign
	mov	r1, r10
	bl	ASSERT_INT_EQ
	ldr	r2, [sp, #32]
	ldr	r1, [sp, #28]
	mov	r0, r4
	bl	sshbuf_put_string
	mov	r1, r10
	bl	ASSERT_INT_EQ
	ldr	r0, [sp, #28]
	bl	free
	mov	r0, r8
	bl	sshbuf_free
	mov	r0, r9
	bl	sshbuf_free
	mov	r0, r5
	bl	sshbuf_free
	mov	r0, r7
	bl	sshbuf_free
	mov	r0, r6
	bl	sshbuf_free
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	1234
	.word	SSH2_CERT_TYPE_USER
	.size	build_cert, .-build_cert
	.comm	SSH2_CERT_TYPE_USER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
