	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_add_src_param_ext
_shader_glsl_add_src_param_ext:         ## @shader_glsl_add_src_param_ext
	.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
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_string_buffer_get
	movq	%rax, %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	(%rbx), %rax
	movb	$0, (%rax)
	movq	8(%rbx), %rax
	movb	$0, (%rax)
	movb	$0, -54(%rbp)
	leaq	4(%r15), %rdi
	movq	(%rbx), %rdx
	leaq	-44(%rbp), %rcx
	movl	%r12d, %esi
	movq	%r13, %r8
	callq	_shader_glsl_get_register_name
	movl	-44(%rbp), %esi
	leaq	-54(%rbp), %rcx
	movq	%r15, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_shader_glsl_get_swizzle
	movl	4(%r15), %eax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_3
## %bb.1:
	movl	%r12d, %ecx
	cmpl	$7, %eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_4
## %bb.2:
	movq	_WINED3D_DATA_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_shader_glsl_sprintf_cast
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	8(%rbx), %rcx
	leaq	-54(%rbp), %rdx
	callq	_shader_glsl_gen_modifier
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_string_buffer_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_WINED3D_DATA_FLOAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_WINED3D_DATA_INT,4,2           ## @WINED3D_DATA_INT
	.comm	_WINED3D_DATA_FLOAT,4,2         ## @WINED3D_DATA_FLOAT
	.no_dead_strip	_shader_glsl_add_src_param_ext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_add_src_param_ext
_shader_glsl_add_src_param_ext:         ; @shader_glsl_add_src_param_ext
	.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	x22, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
	ldr	x8, [x0]
	ldr	x25, [x8]
	ldr	w0, [x25]
	bl	_string_buffer_get
	mov	x19, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [x20]
	strb	wzr, [x8]
	ldr	x8, [x20, #8]
	strb	wzr, [x8]
	strb	wzr, [sp, #6]
	add	x0, x21, #4
	ldr	x2, [x20]
	add	x3, sp, #12
	mov	x1, x22
	mov	x4, x24
	bl	_shader_glsl_get_register_name
	ldr	w1, [sp, #12]
	add	x3, sp, #6
	mov	x0, x21
	mov	x2, x23
	bl	_shader_glsl_get_swizzle
	ldr	w8, [x21, #4]
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_5
; %bb.1:
	mov	x3, x22
	cmp	w8, #7
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _WINED3D_DATA_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WINED3D_DATA_INT@GOTPAGEOFF]
LBB0_3:
	ldr	w3, [x8]
LBB0_4:
	ldr	x1, [x20]
	mov	x0, x19
	mov	x2, x22
	bl	_shader_glsl_sprintf_cast
	ldr	w0, [x21]
	ldr	w1, [x19]
	ldr	x3, [x20, #8]
	add	x2, sp, #6
	bl	_shader_glsl_gen_modifier
	ldr	w0, [x25]
	mov	x1, x19
	bl	_string_buffer_release
	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
LBB0_5:
Lloh5:
	adrp	x8, _WINED3D_DATA_FLOAT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WINED3D_DATA_FLOAT@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_WINED3D_DATA_INT,4,2           ; @WINED3D_DATA_INT
	.comm	_WINED3D_DATA_FLOAT,4,2         ; @WINED3D_DATA_FLOAT
	.no_dead_strip	_shader_glsl_add_src_param_ext
.subsections_via_symbols
