	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d3dcompiler_shader_reflection_init
_d3dcompiler_shader_reflection_init:    ## @d3dcompiler_shader_reflection_init
	.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	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_d3dcompiler_shader_reflection_vtbl@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rdi)
	movl	$1, (%rdi)
	addq	$32, %rdi
	movq	_d3dcompiler_shader_reflection_type_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wine_rb_init
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_dxbc_parse
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_1
## %bb.30:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	jmp	LBB0_29
LBB0_1:
	cmpl	$0, -56(%rbp)
	je	LBB0_28
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rax,%r14), %edx
	movl	8(%rax,%r14), %esi
	movq	%r15, %rdi
	callq	_d3dcompiler_parse_shdr
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_21
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movl	-56(%rbp), %eax
	addq	$12, %r14
	cmpq	%rax, %r13
	jae	LBB0_28
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	leaq	(%rax,%r14), %r12
	movl	(%rax,%r14), %ecx
	addl	$-128, %ecx
	cmpl	$7, %ecx
	ja	LBB0_26
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_HeapAlloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %edx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_d3dcompiler_parse_signature
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_27
	jmp	LBB0_15
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_debugstr_an
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	jmp	LBB0_27
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rax,%r14), %edx
	movl	8(%rax,%r14), %esi
	movq	%r15, %rdi
	callq	_d3dcompiler_parse_stat
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_27
	jmp	LBB0_23
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rax,%r14), %edx
	movl	8(%rax,%r14), %esi
	movq	%r15, %rdi
	callq	_d3dcompiler_parse_rdef
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_27
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_HeapAlloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %edx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_d3dcompiler_parse_signature
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_27
	jmp	LBB0_19
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_HeapAlloc
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %edx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_d3dcompiler_parse_signature
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_27
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_24
LBB0_21:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_24
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_9
LBB0_15:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_24
LBB0_23:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_24
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_24
LBB0_17:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_9
LBB0_19:
	leaq	L_.str.7(%rip), %rdi
LBB0_24:
	callq	_WARN
	jmp	LBB0_25
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
LBB0_9:
	callq	_ERR
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_25:
	movq	%r15, %rdi
	callq	_reflection_cleanup
LBB0_28:
	leaq	-56(%rbp), %rdi
	callq	_dxbc_destroy
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_5
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_d3dcompiler_shader_reflection_vtbl,4,2 ## @d3dcompiler_shader_reflection_vtbl
	.comm	_d3dcompiler_shader_reflection_type_compare,4,2 ## @d3dcompiler_shader_reflection_type_compare
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to parse reflection\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to parse RDEF section.\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate ISGN memory.\n"

	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
L_.str.3:                               ## @.str.3
	.asciz	"Failed to parse section ISGN.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to allocate OSGN memory.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to parse section OSGN.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to allocate PCSG memory.\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to parse section PCSG.\n"

L_.str.8:                               ## @.str.8
	.asciz	"Failed to parse SHDR section.\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to parse section STAT.\n"

L_.str.10:                              ## @.str.10
	.asciz	"Unhandled section %s!\n"

	.no_dead_strip	_d3dcompiler_shader_reflection_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3dcompiler_shader_reflection_init
_d3dcompiler_shader_reflection_init:    ; @d3dcompiler_shader_reflection_init
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _d3dcompiler_shader_reflection_vtbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _d3dcompiler_shader_reflection_vtbl@GOTPAGEOFF]
	str	x8, [x0, #40]
	mov	w8, #1
	str	w8, [x0], #32
Lloh2:
	adrp	x8, _d3dcompiler_shader_reflection_type_compare@GOTPAGE
Lloh3:
	ldr	x8, [x8, _d3dcompiler_shader_reflection_type_compare@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_wine_rb_init
	mov	x2, sp
	mov	x0, x21
	mov	x1, x20
	bl	_dxbc_parse
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	b	LBB0_30
LBB0_2:
	ldr	w8, [sp]
	cbz	w8, LBB0_29
; %bb.3:
	mov	x23, #0
	mov	x24, #0
Lloh7:
	adrp	x20, l_.str.10@PAGE
Lloh8:
	add	x20, x20, l_.str.10@PAGEOFF
Lloh9:
	adrp	x25, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh10:
	ldr	x25, [x25, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh11:
	adrp	x26, lJTI0_0@PAGE
Lloh12:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x23
	ldp	w2, w1, [x8, #4]
	mov	x0, x19
	bl	_d3dcompiler_parse_shdr
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_18
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldr	w8, [sp]
	add	x23, x23, #12
	cmp	x24, x8
	b.hs	LBB0_29
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	add	x22, x8, x23
	ldr	w9, [x22]
	sub	w9, w9, #128
	cmp	w9, #7
	b.hi	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x10, LBB0_4
	ldrb	w11, [x26, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_GetProcessHeap
	ldr	w1, [x25]
	mov	w2, #1
	bl	_HeapAlloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x19, #4]
	mov	x1, x22
	bl	_d3dcompiler_parse_signature
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_5
	b	LBB0_20
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	w1, #4
	bl	_debugstr_an
	mov	x1, x0
	mov	x0, x20
	bl	_FIXME
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x23
	ldp	w2, w1, [x8, #4]
	mov	x0, x19
	bl	_d3dcompiler_parse_stat
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_5
	b	LBB0_21
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x23
	ldp	w2, w1, [x8, #4]
	mov	x0, x19
	bl	_d3dcompiler_parse_rdef
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_5
	b	LBB0_22
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_GetProcessHeap
	ldr	w1, [x25]
	mov	w2, #1
	bl	_HeapAlloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x19, #4]
	mov	x1, x22
	bl	_d3dcompiler_parse_signature
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_5
	b	LBB0_24
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_GetProcessHeap
	ldr	w1, [x25]
	mov	w2, #1
	bl	_HeapAlloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x19, #4]
	mov	x1, x22
	bl	_d3dcompiler_parse_signature
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_5
; %bb.17:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_18:
Lloh15:
	adrp	x0, l_.str.8@PAGE
Lloh16:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_25
LBB0_19:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_27
LBB0_20:
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_25
LBB0_21:
Lloh21:
	adrp	x0, l_.str.9@PAGE
Lloh22:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_22:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_23:
Lloh25:
	adrp	x0, l_.str.6@PAGE
Lloh26:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_27
LBB0_24:
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_25:
	bl	_WARN
	b	LBB0_28
LBB0_26:
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_27:
	bl	_ERR
Lloh31:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh32:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh33:
	ldr	w21, [x8]
LBB0_28:
	mov	x0, x19
	bl	_reflection_cleanup
LBB0_29:
	mov	x0, sp
	bl	_dxbc_destroy
LBB0_30:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
                                        ; -- End function
	.comm	_d3dcompiler_shader_reflection_vtbl,4,2 ; @d3dcompiler_shader_reflection_vtbl
	.comm	_d3dcompiler_shader_reflection_type_compare,4,2 ; @d3dcompiler_shader_reflection_type_compare
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to parse reflection\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to parse RDEF section.\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate ISGN memory.\n"

	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
l_.str.3:                               ; @.str.3
	.asciz	"Failed to parse section ISGN.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to allocate OSGN memory.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to parse section OSGN.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to allocate PCSG memory.\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to parse section PCSG.\n"

l_.str.8:                               ; @.str.8
	.asciz	"Failed to parse SHDR section.\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to parse section STAT.\n"

l_.str.10:                              ; @.str.10
	.asciz	"Unhandled section %s!\n"

	.no_dead_strip	_d3dcompiler_shader_reflection_init
.subsections_via_symbols
