	.file	"extr_hexagon-opc.c_hexagon_parse_reg16.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hexagon_parse_reg16
	.type	hexagon_parse_reg16, @function
hexagon_parse_reg16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	mov	edx, 114
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r9
	xor	r9d, r9d
	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, 24
	.cfi_def_cfa_offset 80
	mov	r8d, DWORD PTR hexagon_gp_regs_count[rip]
	mov	QWORD PTR 8[rsp], rcx
	lea	rsi, 8[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	ecx, DWORD PTR hexagon_gp_regs[rip]
	push	0
	.cfi_def_cfa_offset 96
	call	hexagon_reg_num@PLT
	pop	rsi
	.cfi_def_cfa_offset 88
	pop	rdi
	.cfi_def_cfa_offset 80
	movsx	rbx, eax
	test	ebx, ebx
	js	.L4
	lea	eax, -16[rbx]
	cmp	eax, 7
	jbe	.L7
	cmp	ebx, 7
	jg	.L4
.L7:
	mov	r9d, DWORD PTR FALSE[rip]
	push	QWORD PTR 80[rsp]
	.cfi_def_cfa_offset 88
	mov	ecx, ebx
	mov	rdx, r15
	xor	r8d, r8d
	mov	rsi, r12
	mov	rdi, rbp
	push	r9
	.cfi_def_cfa_offset 96
	call	hexagon_encode_operand@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
	test	rax, rax
	je	.L4
	test	r14, r14
	je	.L6
	mov	eax, DWORD PTR HEXAGON_OPERAND_IS_REGISTER[rip]
	mov	DWORD PTR [r14], eax
.L6:
	mov	QWORD PTR 0[r13], rbx
	mov	rax, QWORD PTR 8[rsp]
	add	rsp, 24
	.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
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rsp, 24
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	hexagon_parse_reg16, .-hexagon_parse_reg16
	.comm	hexagon_gp_regs_count,4,4
	.comm	hexagon_gp_regs,4,4
	.comm	HEXAGON_OPERAND_IS_REGISTER,4,4
	.comm	FALSE,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_hexagon-opc.c_hexagon_parse_reg16.c"
	.text
	.align	2
	.global	hexagon_parse_reg16
	.syntax unified
	.arm
	.fpu softvfp
	.type	hexagon_parse_reg16, %function
hexagon_parse_reg16:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r1
	ldr	r1, .L14
	sub	sp, sp, #28
	ldr	r1, [r1]
	mov	r7, r2
	ldr	r2, .L14+4
	str	r1, [sp]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	str	r3, [sp, #20]
	add	r1, sp, #20
	ldr	r3, [r2]
	mov	r2, #114
	mov	r5, r0
	bl	hexagon_reg_num
	subs	r4, r0, #0
	blt	.L4
	sub	r3, r4, #16
	cmp	r3, #7
	movls	r3, #0
	movhi	r3, #1
	cmp	r4, #7
	movle	r3, #0
	cmp	r3, #0
	bne	.L4
	ldr	r1, [sp, #56]
	ldr	r2, .L14+8
	str	r1, [sp, #12]
	ldr	ip, [r2]
	mov	r1, r6
	str	r3, [sp]
	mov	r2, r7
	mov	r0, r5
	mov	r3, r4
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	bl	hexagon_encode_operand
	cmp	r0, #0
	beq	.L4
	ldr	r3, [sp, #52]
	ldr	r0, [sp, #20]
	cmp	r3, #0
	ldrne	r3, .L14+12
	ldrne	r2, [sp, #52]
	ldrne	r3, [r3]
	strne	r3, [r2]
	ldr	r3, [sp, #48]
	str	r4, [r3]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mov	r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	.align	2
.L14:
	.word	hexagon_gp_regs_count
	.word	hexagon_gp_regs
	.word	FALSE
	.word	HEXAGON_OPERAND_IS_REGISTER
	.size	hexagon_parse_reg16, .-hexagon_parse_reg16
	.comm	hexagon_gp_regs_count,4,4
	.comm	hexagon_gp_regs,4,4
	.comm	HEXAGON_OPERAND_IS_REGISTER,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
