	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hexagon_parse_nreg             ## -- Begin function hexagon_parse_nreg
	.p2align	4, 0x90
_hexagon_parse_nreg:                    ## @hexagon_parse_nreg
	.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	$24, %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, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rcx, -48(%rbp)
	movq	_hexagon_gp_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_hexagon_gp_regs_count@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	xorl	%r12d, %r12d
	leaq	-48(%rbp), %rsi
	movl	$114, %edx
	xorl	%r9d, %r9d
	pushq	$0
	callq	_hexagon_reg_num
	addq	$16, %rsp
	cmpl	$31, %eax
	ja	LBB0_5
## %bb.1:
	movl	%eax, %ebx
	movl	%eax, %ecx
	andl	$1, %ecx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	pushq	16(%rbp)
	pushq	%r9
	callq	_hexagon_encode_operand
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	_HEXAGON_OPERAND_IS_RNEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_4:
	movl	%ebx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-48(%rbp), %r12
LBB0_5:
	movq	%r12, %rax
	addq	$24, %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
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_HEXAGON_OPERAND_IS_RNEW,4,2    ## @HEXAGON_OPERAND_IS_RNEW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hexagon_parse_nreg             ; -- Begin function hexagon_parse_nreg
	.p2align	2
_hexagon_parse_nreg:                    ; @hexagon_parse_nreg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x6
	mov	x20, x5
	mov	x19, x4
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	str	x3, [sp, #8]
Lloh0:
	adrp	x8, _hexagon_gp_regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hexagon_gp_regs@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _hexagon_gp_regs_count@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hexagon_gp_regs_count@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x1, sp, #8
	mov	w2, #114
	mov	x5, #0
	mov	w6, #0
	bl	_hexagon_reg_num
	mov	x25, x0
	mov	x0, #0
	cmp	w25, #31
	b.hi	LBB0_5
; %bb.1:
	and	w3, w25, #0x1
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x4, #0
	mov	x6, x5
	mov	x7, x21
	bl	_hexagon_encode_operand
	cbz	x0, LBB0_5
; %bb.2:
	cbz	x20, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _HEXAGON_OPERAND_IS_RNEW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HEXAGON_OPERAND_IS_RNEW@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_4:
	mov	w8, w25
	str	x8, [x19]
	ldr	x0, [sp, #8]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_hexagon_gp_regs,4,2            ; @hexagon_gp_regs
	.comm	_hexagon_gp_regs_count,4,2      ; @hexagon_gp_regs_count
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_HEXAGON_OPERAND_IS_RNEW,4,2    ; @HEXAGON_OPERAND_IS_RNEW
.subsections_via_symbols
