	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function instr_generic
_instr_generic:                         ## @instr_generic
	.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	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	(%rdi), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r15, %rbx
	movq	(%r13), %rax
	addq	$4, %rax
	movq	%rax, (%r13)
	cmpl	$0, 8(%r12)
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.1:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_add_modifier
	cltq
	addq	%rax, %rbx
	cmpl	$0, 8(%r12)
	jle	LBB0_11
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %r14
	addq	%rbx, %r14
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_add_register
	movslq	%eax, %rbx
	addq	%r14, %rbx
	movq	(%r13), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, (%r13)
	movq	_D3DVS_ADDRESSMODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movw	$91, (%rbx)
	leaq	1(%rbx), %rdi
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_add_register
	cltq
	movw	$93, 1(%rbx,%rax)
	addq	%rax, %rbx
	addq	$2, %rbx
	addq	$4, (%r13)
LBB0_4:
	cmpl	$2, 8(%r12)
	jl	LBB0_11
## %bb.5:
	movl	$1, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	cmpl	8(%r12), %r15d
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %r14
	addq	%rbx, %r14
	movq	(%r13), %rcx
	movq	_D3DSP_SRCMOD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rcx), %eax
	movq	_D3DSPSM_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ecx, %ecx
	movq	_D3DSPSM_NEG@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%cl
	leal	(%rcx,%rcx,2), %eax
	addl	$42, %eax
	movw	%ax, (%r14)
	incq	%r14
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_add_register
	movslq	%eax, %rbx
	addq	%r14, %rbx
	movq	(%r13), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, (%r13)
	movq	_D3DVS_ADDRESSMODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movw	$91, (%rbx)
	leaq	1(%rbx), %rdi
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_add_register
	cltq
	movw	$93, 1(%rbx,%rax)
	addq	%rax, %rbx
	addq	$2, %rbx
	addq	$4, (%r13)
	jmp	LBB0_10
LBB0_11:
	movw	$10, (%rbx)
	subl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	incl	%ebx
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"    %s"

L_.str.1:                               ## @.str.1
	.asciz	"%s "

L_.str.2:                               ## @.str.2
	.asciz	","

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_D3DSP_SRCMOD_MASK,4,2          ## @D3DSP_SRCMOD_MASK
	.comm	_D3DSPSM_NONE,4,2               ## @D3DSPSM_NONE
	.comm	_D3DSPSM_NEG,4,2                ## @D3DSPSM_NEG
	.comm	_D3DVS_ADDRESSMODE_MASK,4,2     ## @D3DVS_ADDRESSMODE_MASK
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_instr_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function instr_generic
_instr_generic:                         ; @instr_generic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_sprintf
	add	x23, x19, w0, sxtw
	ldr	x8, [x21]
	add	x8, x8, #4
	str	x8, [x21]
	ldr	w9, [x22, #8]
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	cbz	w9, LBB0_11
; %bb.1:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_add_modifier
	add	x23, x23, w0, sxtw
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
Lloh2:
	adrp	x8, l_.str.3@PAGE
Lloh3:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_sprintf
	add	x23, x23, w0, sxtw
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x23
	mov	w2, #1
	mov	x3, x20
	bl	_add_register
	add	x23, x23, w0, sxtw
	ldr	x8, [x21]
	ldr	w9, [x8], #4
	str	x8, [x21]
Lloh6:
	adrp	x25, _D3DVS_ADDRESSMODE_MASK@GOTPAGE
Lloh7:
	ldr	x25, [x25, _D3DVS_ADDRESSMODE_MASK@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh8:
	adrp	x10, _FALSE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #91
	strh	w8, [x23], #1
	ldr	x8, [x21]
	ldr	w1, [x8]
	ldr	w2, [x10]
	mov	x0, x23
	mov	x3, x2
	bl	_add_register
	add	x23, x23, w0, sxtw
	mov	w8, #93
	strh	w8, [x23], #1
	ldr	x8, [x21]
	add	x8, x8, #4
	str	x8, [x21]
LBB0_4:
	ldr	w8, [x22, #8]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.5:
	mov	w27, #1
Lloh10:
	adrp	x28, l_.str.2@PAGE
Lloh11:
	add	x28, x28, l_.str.2@PAGEOFF
Lloh12:
	adrp	x26, _D3DSP_SRCMOD_MASK@GOTPAGE
Lloh13:
	ldr	x26, [x26, _D3DSP_SRCMOD_MASK@GOTPAGEOFF]
Lloh14:
	adrp	x19, _D3DSPSM_NONE@GOTPAGE
Lloh15:
	ldr	x19, [x19, _D3DSPSM_NONE@GOTPAGEOFF]
Lloh16:
	adrp	x24, l_.str.1@PAGE
Lloh17:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w27, #1
	ldr	w8, [x22, #8]
	cmp	w27, w8
	b.ge	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x28, [sp]
	mov	x0, x23
	mov	x1, x24
	bl	_sprintf
	add	x23, x23, w0, sxtw
	ldr	x8, [x21]
	ldr	w8, [x8]
	ldr	w9, [x26]
	and	w8, w9, w8
	ldr	w9, [x19]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh18:
	adrp	x9, _D3DSPSM_NEG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _D3DSPSM_NEG@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #42
	mov	w9, #45
	csel	w8, w9, w8, eq
	strh	w8, [x23], #1
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x23
	mov	w2, #0
	mov	x3, x20
	bl	_add_register
	add	x23, x23, w0, sxtw
	ldr	x8, [x21]
	ldr	w9, [x8], #4
	str	x8, [x21]
	ldr	w8, [x25]
	tst	w8, w9
	b.eq	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #91
	strh	w8, [x23], #1
	ldr	x8, [x21]
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _FALSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x3, x2
	bl	_add_register
	add	x23, x23, w0, sxtw
	mov	w8, #93
	strh	w8, [x23], #1
	ldr	x8, [x21]
	add	x8, x8, #4
	str	x8, [x21]
	b	LBB0_6
LBB0_11:
	mov	w8, #10
	strh	w8, [x23]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sub	w8, w23, w8
	add	w0, w8, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"    %s"

l_.str.1:                               ; @.str.1
	.asciz	"%s "

l_.str.2:                               ; @.str.2
	.asciz	","

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_D3DSP_SRCMOD_MASK,4,2          ; @D3DSP_SRCMOD_MASK
	.comm	_D3DSPSM_NONE,4,2               ; @D3DSPSM_NONE
	.comm	_D3DSPSM_NEG,4,2                ; @D3DSPSM_NEG
	.comm	_D3DVS_ADDRESSMODE_MASK,4,2     ; @D3DVS_ADDRESSMODE_MASK
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_instr_generic
.subsections_via_symbols
