	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_preshader
_dump_preshader:                        ## @dump_preshader
	.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
	movq	%rdi, %r12
	movq	_PRES_REGTAB_IMMED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rdi), %rcx
	movl	(%rcx,%rax,4), %r14d
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.1:
	movq	24(%r12), %rcx
	movq	(%rcx,%rax,8), %r13
	shll	$2, %r14d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	cmpl	$2, %r14d
	movl	$1, %ebx
	cmovael	%r14d, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movsd	(%r13,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	leaq	L_.str.2(%rip), %rdi
	movb	$1, %al
	callq	_TRACE
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_TRACE
	incq	%r14
	cmpq	%r14, %rbx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %r15d
	andl	$3, %r15d
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movsd	(%r13,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	leaq	L_.str.2(%rip), %rdi
	movb	$1, %al
	callq	_TRACE
	leaq	L_.str.3(%rip), %rdi
	cmpl	$3, %r15d
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	leaq	32(%r12), %rdi
	callq	_dump_registers
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	cmpl	$0, (%r12)
	je	LBB0_10
## %bb.8:
	leaq	16(%r12), %r14
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	callq	_dump_ins
	incq	%rbx
	movl	(%r12), %eax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jb	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRES_REGTAB_IMMED,8,3          ## @PRES_REGTAB_IMMED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"// Immediates:\n"

L_.str.1:                               ## @.str.1
	.asciz	"// "

L_.str.2:                               ## @.str.2
	.asciz	"%.8e"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"// Preshader registers:\n"

L_.str.6:                               ## @.str.6
	.asciz	"preshader\n"

	.no_dead_strip	_dump_preshader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_preshader
_dump_preshader:                        ; @dump_preshader
	.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	x19, x0
	mov	x20, x0
	ldr	x8, [x20, #16]!
Lloh0:
	adrp	x9, _PRES_REGTAB_IMMED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PRES_REGTAB_IMMED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	x10, [x20, #8]
	ldr	x23, [x10, x9, lsl #3]
	lsl	w21, w8, #2
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x24, #0
	cmp	w21, #1
	csinc	w25, w21, wzr, hi
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh9:
	adrp	x26, l_.str.4@PAGE
Lloh10:
	add	x26, x26, l_.str.4@PAGEOFF
Lloh11:
	adrp	x27, l_.str.3@PAGE
Lloh12:
	add	x27, x27, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_TRACE
	ldr	d0, [x23, x24, lsl #3]
	str	d0, [sp]
	mov	x0, x22
	bl	_TRACE
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_TRACE
	add	x24, x24, #1
	cmp	x25, x24
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ands	w28, w24, #0x3
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	d0, [x23, x24, lsl #3]
	str	d0, [sp]
	mov	x0, x22
	bl	_TRACE
	mov	x0, x27
	cmp	w28, #3
	b.ne	LBB0_3
	b	LBB0_4
LBB0_7:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_TRACE
	add	x0, x19, #32
	bl	_dump_registers
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_TRACE
	ldr	w8, [x19]
	cbz	w8, LBB0_10
; %bb.8:
	mov	x21, #0
	mov	x22, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x21
	mov	x0, x20
	bl	_dump_ins
	add	x22, x22, #1
	ldr	w8, [x19]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_9
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PRES_REGTAB_IMMED,8,3          ; @PRES_REGTAB_IMMED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"// Immediates:\n"

l_.str.1:                               ; @.str.1
	.asciz	"// "

l_.str.2:                               ; @.str.2
	.asciz	"%.8e"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"// Preshader registers:\n"

l_.str.6:                               ; @.str.6
	.asciz	"preshader\n"

	.no_dead_strip	_dump_preshader
.subsections_via_symbols
