	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hexagon_extract_modifier_operand ## -- Begin function hexagon_extract_modifier_operand
	.p2align	4, 0x90
_hexagon_extract_modifier_operand:      ## @hexagon_extract_modifier_operand
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r15
	movq	%rdx, %r8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rbx, (%rsp)
	xorl	%r14d, %r14d
	leaq	-160(%rbp), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_hexagon_dis_operand
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	%r15, -168(%rbp)                ## 8-byte Spill
	movq	%rbx, -176(%rbp)                ## 8-byte Spill
	movq	_hexagon_control_regs_count@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.2:
	xorl	%r14d, %r14d
	movq	_hexagon_control_regs@GOTPCREL(%rip), %r12
	leaq	-160(%rbp), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r14), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_r_str_ncasecmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	addq	$16, %r14
	movq	_hexagon_control_regs_count@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jb	LBB0_3
LBB0_6:
	leaq	_hexagon_extract_modifier_operand.xx(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-160(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sprintf
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	%rbx, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_4:
	movq	(%r12), %rax
	movl	8(%rax,%r14), %eax
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$1, %r14d
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r14d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_hexagon_extract_modifier_operand.xx,100,4 ## @hexagon_extract_modifier_operand.xx
	.comm	_hexagon_control_regs_count,8,3 ## @hexagon_control_regs_count
	.comm	_hexagon_control_regs,8,3       ## @hexagon_control_regs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Illegal modifier operand: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hexagon_extract_modifier_operand ; -- Begin function hexagon_extract_modifier_operand
	.p2align	2
_hexagon_extract_modifier_operand:      ; @hexagon_extract_modifier_operand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x4
	mov	x20, x3
	mov	x4, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x5, sp, #4
	mov	w2, #0
	mov	w3, #0
	mov	x6, x19
	bl	_hexagon_dis_operand
	cbz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x22, _hexagon_control_regs_count@GOTPAGE
Lloh4:
	ldr	x22, [x22, _hexagon_control_regs_count@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x23, #0
	mov	x24, #0
Lloh5:
	adrp	x25, _hexagon_control_regs@GOTPAGE
Lloh6:
	ldr	x25, [x25, _hexagon_control_regs@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x21, [x8, x23]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #4
	mov	x1, x21
	bl	_r_str_ncasecmp
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldr	x8, [x22]
	add	x23, x23, #16
	cmp	x24, x8
	b.lo	LBB0_3
LBB0_5:
Lloh7:
	adrp	x20, _hexagon_extract_modifier_operand.xx@PAGE
Lloh8:
	add	x20, x20, _hexagon_extract_modifier_operand.xx@PAGEOFF
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	mov	x0, x20
	bl	_sprintf
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x25]
	add	x8, x8, x23
	ldr	w8, [x8, #8]
	str	w8, [x20]
	mov	w0, #1
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_hexagon_extract_modifier_operand.xx,100,0 ; @hexagon_extract_modifier_operand.xx
	.comm	_hexagon_control_regs_count,8,3 ; @hexagon_control_regs_count
	.comm	_hexagon_control_regs,8,3       ; @hexagon_control_regs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Illegal modifier operand: %s"

.subsections_via_symbols
