	.file	"extr_hermes.c_hermesi_program_end.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"PROGRAM_DISABLE returned %d, r0 0x%04x, r1 0x%04x, r2 0x%04x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"AUX disable returned %d\n"
	.text
	.p2align 4
	.type	hermesi_program_end, @function
hermesi_program_end:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR HERMES_PROGRAM_DISABLE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	rcx, rsp
	call	[QWORD PTR [rax]]
	mov	r8d, DWORD PTR 4[rsp]
	mov	ecx, DWORD PTR 8[rsp]
	lea	rdi, .LC0[rip]
	mov	edx, DWORD PTR 12[rsp]
	mov	r12d, eax
	mov	esi, eax
	xor	eax, eax
	call	pr_debug@PLT
	test	r12d, r12d
	jne	.L2
	mov	eax, DWORD PTR [rsp]
	and	eax, DWORD PTR HERMES_STATUS_CMDCODE[rip]
	cmp	eax, DWORD PTR HERMES_CMD_DOWNLD[rip]
	je	.L3
	xor	esi, esi
	mov	rdi, rbp
	mov	ebx, DWORD PTR EIO[rip]
	call	hermes_aux_control@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	mov	r12d, eax
	xor	eax, eax
	call	pr_debug@PLT
	mov	esi, DWORD PTR EVACK[rip]
	mov	edx, 65535
	mov	rdi, rbp
	call	hermes_write_regn@PLT
	mov	rax, QWORD PTR 0[rbp]
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, DWORD PTR HERMES_CMD_INIT[rip]
	mov	rdi, rbp
	call	[QWORD PTR 8[rax]]
	test	ebx, ebx
	jne	.L12
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	esi, esi
	mov	rdi, rbp
	call	hermes_aux_control@PLT
	mov	esi, eax
.L10:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_debug@PLT
	mov	esi, DWORD PTR EVACK[rip]
	mov	rdi, rbp
	mov	edx, 65535
	call	hermes_write_regn@PLT
	mov	rax, QWORD PTR 0[rbp]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	esi, DWORD PTR HERMES_CMD_INIT[rip]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, rbp
	call	[QWORD PTR 8[rax]]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	xor	esi, esi
	mov	rdi, rbp
	call	hermes_aux_control@PLT
	mov	r12d, eax
	mov	esi, eax
	jmp	.L10
.L13:
	call	__stack_chk_fail@PLT
.L12:
	neg	ebx
	mov	r12d, ebx
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hermesi_program_end, .-hermesi_program_end
	.comm	HERMES_STATUS_CMDCODE,4,4
	.comm	HERMES_PROGRAM_DISABLE,4,4
	.comm	HERMES_CMD_INIT,4,4
	.comm	HERMES_CMD_DOWNLD,4,4
	.comm	EVACK,4,4
	.comm	EIO,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_hermes.c_hermesi_program_end.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PROGRAM_DISABLE returned %d, r0 0x%04x, r1 0x%04x, "
	.ascii	"r2 0x%04x\012\000"
	.align	2
.LC1:
	.ascii	"AUX disable returned %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hermesi_program_end, %function
hermesi_program_end:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r0]
	ldr	r2, .L13
	sub	sp, sp, #36
	ldr	ip, .L13+4
	ldr	r1, [r2]
	ldr	r4, [r3]
	mov	r2, #0
	add	r3, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	mov	r5, r0
	blx	r4
	mov	r4, r0
	ldr	r3, [sp, #16]
	mov	r1, r0
	str	r3, [sp]
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #20]
	ldr	r0, .L13+8
	bl	pr_debug
	cmp	r4, #0
	bne	.L2
	ldr	r3, .L13+12
	ldr	r2, .L13+16
	ldr	r1, [r3]
	ldr	r3, [sp, #12]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r3, r2
	beq	.L3
	ldr	r3, .L13+20
	mov	r1, r4
	mov	r0, r5
	ldr	r6, [r3]
	bl	hermes_aux_control
	mov	r4, r0
	ldr	r0, .L13+24
	mov	r1, r4
	bl	pr_debug
	ldr	r3, .L13+28
	ldr	r2, .L13+32
	ldr	r1, [r3]
	mov	r0, r5
	bl	hermes_write_regn
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r1, .L13+36
	str	r3, [sp, #4]
	str	r3, [sp]
	ldr	r7, [r2, #4]
	mov	r0, r5
	mov	r2, r3
	ldr	r1, [r1]
	blx	r7
	cmp	r6, #0
	rsbne	r4, r6, #0
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r1, #0
	mov	r0, r5
	bl	hermes_aux_control
	mov	r1, r0
	ldr	r0, .L13+24
.L10:
	bl	pr_debug
	ldr	r3, .L13+28
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L13+32
	bl	hermes_write_regn
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r1, .L13+36
	str	r3, [sp, #4]
	str	r3, [sp]
	ldr	r6, [r2, #4]
	mov	r0, r5
	mov	r2, r3
	ldr	r1, [r1]
	blx	r6
	b	.L1
.L3:
	mov	r1, r4
	mov	r0, r5
	bl	hermes_aux_control
	mov	r4, r0
	ldr	r0, .L13+24
	mov	r1, r4
	b	.L10
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	HERMES_PROGRAM_DISABLE
	.word	.LC2
	.word	.LC0
	.word	HERMES_STATUS_CMDCODE
	.word	HERMES_CMD_DOWNLD
	.word	EIO
	.word	.LC1
	.word	EVACK
	.word	65535
	.word	HERMES_CMD_INIT
	.size	hermesi_program_end, .-hermesi_program_end
	.comm	HERMES_STATUS_CMDCODE,4,4
	.comm	HERMES_PROGRAM_DISABLE,4,4
	.comm	HERMES_CMD_INIT,4,4
	.comm	HERMES_CMD_DOWNLD,4,4
	.comm	EVACK,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
