	.file	"extr_cr16_disas.c_cr16_print_reg_med.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s,$0x%04x"
	.text
	.p2align 4
	.type	cr16_print_reg_med, @function
cr16_print_reg_med:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	cr16_check_reg_boundaries@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR cr16_regs_names[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	r8d, r12d
	lea	rdx, .LC0[rip]
	mov	rcx, QWORD PTR [rax+rbx*8]
	mov	rax, QWORD PTR CR16_INSTR_MAXLEN[rip]
	lea	rsi, -1[rax]
	call	snprintf@PLT
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L3:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	cr16_print_reg_med, .-cr16_print_reg_med
	.comm	cr16_regs_names,8,8
	.comm	CR16_INSTR_MAXLEN,8,8
	.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_cr16_disas.c_cr16_print_reg_med.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s,$0x%04x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cr16_print_reg_med, %function
cr16_print_reg_med:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r0
	sub	sp, sp, #12
	mov	r0, r2
	mov	r5, r2
	mov	r6, r1
	bl	cr16_check_reg_boundaries
	subs	r4, r0, #0
	bne	.L3
	ldr	r2, .L6
	ldr	r3, .L6+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r0, [r7]
	ldr	r3, [r3, r5, lsl #2]
	ldr	r2, .L6+8
	str	r6, [sp]
	sub	r1, r1, #1
	bl	snprintf
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	mvn	r4, #0
	b	.L1
.L7:
	.align	2
.L6:
	.word	CR16_INSTR_MAXLEN
	.word	cr16_regs_names
	.word	.LC0
	.size	cr16_print_reg_med, .-cr16_print_reg_med
	.comm	cr16_regs_names,4,4
	.comm	CR16_INSTR_MAXLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
