	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hlsl_d3d9_renderchain_set_vertices
_hlsl_d3d9_renderchain_set_vertices:    ## @hlsl_d3d9_renderchain_set_vertices
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	48(%rbp), %r15d
	movl	32(%rbp), %r12d
	movl	24(%rbp), %eax
	cmpl	%ecx, (%rdx)
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, 4(%rbx)
	je	LBB0_3
LBB0_2:
	movl	16(%rbp), %r10d
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r9d, %r8d
	movl	%r10d, %r9d
	pushq	%r15
	pushq	%r12
	pushq	%rax
	callq	_d3d9_renderchain_set_vertices_on_change
	movl	48(%rbp), %r15d
	movl	24(%rbp), %eax
	addq	$32, %rsp
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	callq	_hlsl_d3d9_renderchain_calc_and_set_shader_mvp
	movl	(%r14), %esi
	movl	8(%rbx), %eax
	movl	12(%rbx), %r9d
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	pushq	%r12
	movl	24(%rbp), %ebx
	pushq	%rbx
	pushq	%rax
	callq	_hlsl_d3d9_renderchain_set_shader_params
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hlsl_d3d9_renderchain_set_vertices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hlsl_d3d9_renderchain_set_vertices
_hlsl_d3d9_renderchain_set_vertices:    ; @hlsl_d3d9_renderchain_set_vertices
	.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	x19, x7
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	ldr	w25, [x29, #24]
	ldr	w24, [x29, #16]
	ldr	w8, [x2]
	cmp	w8, w3
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x22, #4]
	cmp	w8, w20
	b.eq	LBB0_3
LBB0_2:
	str	w25, [sp]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x5
	mov	x5, x6
	mov	x6, x19
	mov	x7, x24
	bl	_d3d9_renderchain_set_vertices_on_change
LBB0_3:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	mov	x3, x24
	mov	x4, x25
	bl	_hlsl_d3d9_renderchain_calc_and_set_shader_mvp
	ldr	w1, [x23]
	ldp	w6, w5, [x22, #8]
	str	w24, [x29, #16]
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x7, x19
	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
	b	_hlsl_d3d9_renderchain_set_shader_params
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hlsl_d3d9_renderchain_set_vertices
.subsections_via_symbols
