	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hexagon_parse_dreg16
_hexagon_parse_dreg16:                  ## @hexagon_parse_dreg16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rcx, -48(%rbp)
	movq	_hexagon_gp_regs@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_hexagon_gp_regs_count@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movl	$0, (%rsp)
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rsi
	movl	$114, %edx
	xorl	%r9d, %r9d
	callq	_hexagon_reg_num
	movl	%eax, %r13d
	movl	(%r14), %ecx
	movl	(%r12), %r8d
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$58, %edx
	xorl	%r9d, %r9d
	callq	_hexagon_reg_num
	testl	%r13d, %r13d
	js	LBB0_21
## %bb.1:
	movl	%eax, %r12d
	testl	%eax, %eax
	movl	$0, %ebx
	js	LBB0_22
## %bb.2:
	movq	16(%rbp), %rcx
	movl	%r13d, %eax
	andl	$-2147483647, %eax              ## imm = 0x80000001
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.3:
	testb	$1, %r12b
	jne	LBB0_14
## %bb.4:
	leal	1(%r12), %eax
	cmpl	%eax, %r13d
	jne	LBB0_18
## %bb.5:
	xorl	%ebx, %ebx
	cmpl	$31, %r13d
	ja	LBB0_22
## %bb.6:
	cmpl	$30, %r12d
	ja	LBB0_22
## %bb.7:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rcx, 8(%rsp)
	movl	%r9d, (%rsp)
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	_hexagon_encode_operand
	testq	%rax, %rax
	je	LBB0_22
## %bb.8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	_HEXAGON_OPERAND_IS_PAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_10:
	movl	%r12d, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rbx
	jmp	LBB0_22
LBB0_12:
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.13:
	leaq	_hexagon_parse_dreg16.buf(%rip), %r14
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r13d, %edx
	jmp	LBB0_16
LBB0_14:
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.15:
	leaq	_hexagon_parse_dreg16.buf.1(%rip), %r14
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r12d, %edx
LBB0_16:
	xorl	%eax, %eax
	movq	%rcx, %r15
	callq	_sprintf
	movq	%r14, (%r15)
	jmp	LBB0_22
LBB0_18:
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.19:
	leaq	_hexagon_parse_dreg16.buf.3(%rip), %r14
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r13d, %edx
	movq	%rcx, %r15
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, (%r15)
	jmp	LBB0_22
LBB0_21:
	xorl	%ebx, %ebx
LBB0_22:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hexagon_gp_regs,4,2            ## @hexagon_gp_regs
	.comm	_hexagon_gp_regs_count,4,2      ## @hexagon_gp_regs_count
.zerofill __DATA,__bss,_hexagon_parse_dreg16.buf,100,4 ## @hexagon_parse_dreg16.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid odd register number: %d"

.zerofill __DATA,__bss,_hexagon_parse_dreg16.buf.1,100,4 ## @hexagon_parse_dreg16.buf.1
L_.str.2:                               ## @.str.2
	.asciz	"invalid even register number: %d"

.zerofill __DATA,__bss,_hexagon_parse_dreg16.buf.3,100,4 ## @hexagon_parse_dreg16.buf.3
L_.str.4:                               ## @.str.4
	.asciz	"registers must be consecutive: %d:%d"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_HEXAGON_OPERAND_IS_PAIR,4,2    ## @HEXAGON_OPERAND_IS_PAIR
	.no_dead_strip	_hexagon_parse_dreg16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hexagon_parse_dreg16
_hexagon_parse_dreg16:                  ; @hexagon_parse_dreg16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x21, x5
	mov	x20, x4
	mov	x22, x2
	mov	x23, x1
	mov	x25, x0
	str	x3, [sp, #8]
Lloh0:
	adrp	x24, _hexagon_gp_regs@GOTPAGE
Lloh1:
	ldr	x24, [x24, _hexagon_gp_regs@GOTPAGEOFF]
	ldr	w3, [x24]
Lloh2:
	adrp	x27, _hexagon_gp_regs_count@GOTPAGE
Lloh3:
	ldr	x27, [x27, _hexagon_gp_regs_count@GOTPAGEOFF]
	ldr	w4, [x27]
	add	x1, sp, #8
	mov	w2, #114
	mov	x5, #0
	mov	w6, #0
	bl	_hexagon_reg_num
	mov	x26, x0
	ldr	w3, [x24]
	ldr	w4, [x27]
	add	x1, sp, #8
	mov	x0, x25
	mov	w2, #58
	mov	x5, #0
	mov	w6, #0
	bl	_hexagon_reg_num
	mov	x24, x0
	mov	x0, #0
	tbnz	w26, #31, LBB0_19
; %bb.1:
	tbnz	w24, #31, LBB0_19
; %bb.2:
	and	w8, w26, #0x80000001
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.3:
	tbnz	w24, #0, LBB0_13
; %bb.4:
	add	w8, w24, #1
	cmp	w26, w8
	b.ne	LBB0_16
; %bb.5:
	cmp	w26, #31
	ccmp	w24, #30, #2, ls
	b.hi	LBB0_18
; %bb.6:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	w5, [x8]
	mov	x0, x25
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	mov	x4, #0
	mov	x6, x5
	mov	x7, x19
	bl	_hexagon_encode_operand
	cbz	x0, LBB0_19
; %bb.7:
	cbz	x21, LBB0_9
; %bb.8:
Lloh7:
	adrp	x8, _HEXAGON_OPERAND_IS_PAIR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HEXAGON_OPERAND_IS_PAIR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_9:
	mov	w8, w24
	str	x8, [x20]
	ldr	x0, [sp, #8]
	b	LBB0_19
LBB0_10:
	cbz	x19, LBB0_18
; %bb.11:
Lloh10:
	adrp	x20, _hexagon_parse_dreg16.buf@PAGE
Lloh11:
	add	x20, x20, _hexagon_parse_dreg16.buf@PAGEOFF
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
LBB0_12:
	mov	x0, x20
	mov	x2, x26
	b	LBB0_15
LBB0_13:
	cbz	x19, LBB0_18
; %bb.14:
Lloh14:
	adrp	x20, _hexagon_parse_dreg16.buf.1@PAGE
Lloh15:
	add	x20, x20, _hexagon_parse_dreg16.buf.1@PAGEOFF
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x24
LBB0_15:
	bl	_sprintf
	mov	x0, #0
	str	x20, [x19]
	b	LBB0_19
LBB0_16:
	cbz	x19, LBB0_18
; %bb.17:
Lloh18:
	adrp	x20, _hexagon_parse_dreg16.buf.3@PAGE
Lloh19:
	add	x20, x20, _hexagon_parse_dreg16.buf.3@PAGEOFF
	str	x24, [sp]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_18:
	mov	x0, #0
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_hexagon_gp_regs,4,2            ; @hexagon_gp_regs
	.comm	_hexagon_gp_regs_count,4,2      ; @hexagon_gp_regs_count
.zerofill __DATA,__bss,_hexagon_parse_dreg16.buf,100,0 ; @hexagon_parse_dreg16.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid odd register number: %d"

.zerofill __DATA,__bss,_hexagon_parse_dreg16.buf.1,100,0 ; @hexagon_parse_dreg16.buf.1
l_.str.2:                               ; @.str.2
	.asciz	"invalid even register number: %d"

.zerofill __DATA,__bss,_hexagon_parse_dreg16.buf.3,100,0 ; @hexagon_parse_dreg16.buf.3
l_.str.4:                               ; @.str.4
	.asciz	"registers must be consecutive: %d:%d"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_HEXAGON_OPERAND_IS_PAIR,4,2    ; @HEXAGON_OPERAND_IS_PAIR
	.no_dead_strip	_hexagon_parse_dreg16
.subsections_via_symbols
