	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_arb_add_instruction_modifiers
_shader_arb_add_instruction_modifiers:  ## @shader_arb_add_instruction_modifiers
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -148(%rbp)
	cmpl	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	(%r12), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	leaq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_shader_arb_get_write_mask
	addq	$8, %r12
	leaq	-144(%rbp), %r13
	leaq	-148(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_shader_arb_get_register_name
	movq	%rbx, %rdi
	callq	_shader_arb_get_modifier
	movq	_shift_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r15,4), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r13, %rcx
	leaq	-80(%rbp), %r8
	movq	%r13, %r9
	callq	_shader_addline
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MUL%s %s%s, %s, %s;\n"

	.comm	_shift_tab,8,3                  ## @shift_tab
	.no_dead_strip	_shader_arb_add_instruction_modifiers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_arb_add_instruction_modifiers
_shader_arb_add_instruction_modifiers:  ; @shader_arb_add_instruction_modifiers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x22, [x21]
	cbz	x22, LBB0_3
; %bb.2:
	sub	x2, x29, #60
	mov	x0, x20
	mov	x1, x21
	bl	_shader_arb_get_write_mask
	add	x1, x21, #8
	add	x2, sp, #18
	add	x3, sp, #12
	mov	x0, x20
	bl	_shader_arb_get_register_name
	mov	x0, x20
	bl	_shader_arb_get_modifier
	mov	x2, x0
Lloh6:
	adrp	x8, _shift_tab@GOTPAGE
Lloh7:
	ldr	x8, [x8, _shift_tab@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w6, [x8, x22, lsl #2]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #18
	sub	x4, x29, #60
	add	x5, sp, #18
	mov	x0, x19
	bl	_shader_addline
LBB0_3:
	ldur	x8, [x29, #-40]
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_5
; %bb.4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MUL%s %s%s, %s, %s;\n"

	.comm	_shift_tab,8,3                  ; @shift_tab
	.no_dead_strip	_shader_arb_add_instruction_modifiers
.subsections_via_symbols
