	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_none_alloc
_shader_none_alloc:                     ## @shader_none_alloc
	.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	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$24, %edi
	callq	_heap_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_none_shader_backend@GOTPCREL(%rip), %rdi
	movq	%rax, %rsi
	callq	*8(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r13
	movq	_none_shader_backend@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	*8(%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r15, 16(%rbx)
	movq	%r12, 8(%rbx)
	movq	24(%r14), %rdi
	leaq	-48(%rbp), %rsi
	movq	%rax, %r15
	callq	*(%r12)
	movq	_WINED3D_FRAGMENT_CAP_PROJ_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-48(%rbp), %eax
	movl	%eax, (%rbx)
	movq	%r13, 16(%r14)
	movq	%r15, 8(%r14)
	movq	%rbx, (%r14)
	movq	_WINED3D_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_ERR
	movq	%r14, %rdi
	callq	*(%r15)
LBB0_4:
	movq	%rbx, %rdi
	callq	_heap_free
	movq	_E_FAIL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_none_shader_backend,4,2        ## @none_shader_backend
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to initialize vertex pipe.\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
L_.str.1:                               ## @.str.1
	.asciz	"Failed to initialize fragment pipe.\n"

	.comm	_WINED3D_FRAGMENT_CAP_PROJ_CONTROL,4,2 ## @WINED3D_FRAGMENT_CAP_PROJ_CONTROL
	.comm	_WINED3D_OK,4,2                 ## @WINED3D_OK
	.no_dead_strip	_shader_none_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_none_alloc
_shader_none_alloc:                     ; @shader_none_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #24
	bl	_heap_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x0, _none_shader_backend@GOTPAGE
Lloh1:
	ldr	x0, [x0, _none_shader_backend@GOTPAGEOFF]
	mov	x1, x19
	blr	x8
	cbz	x0, LBB0_5
; %bb.2:
	mov	x23, x0
	ldr	x8, [x22, #8]
Lloh2:
	adrp	x0, _none_shader_backend@GOTPAGE
Lloh3:
	ldr	x0, [x0, _none_shader_backend@GOTPAGEOFF]
	mov	x1, x19
	blr	x8
	cbz	x0, LBB0_6
; %bb.3:
	mov	x24, x0
	stp	x22, x21, [x19, #8]
	ldr	x8, [x22]
	ldr	x0, [x20, #24]
	add	x1, sp, #8
	blr	x8
	ldr	w8, [sp, #8]
Lloh4:
	adrp	x9, _WINED3D_FRAGMENT_CAP_PROJ_CONTROL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _WINED3D_FRAGMENT_CAP_PROJ_CONTROL@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19]
	stp	x24, x23, [x20, #8]
	str	x19, [x20]
Lloh7:
	adrp	x8, _WINED3D_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WINED3D_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
	ldr	x8, [x21]
	mov	x0, x20
	blr	x8
LBB0_7:
	mov	x0, x19
	bl	_heap_free
Lloh15:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_none_shader_backend,4,2        ; @none_shader_backend
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to initialize vertex pipe.\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
l_.str.1:                               ; @.str.1
	.asciz	"Failed to initialize fragment pipe.\n"

	.comm	_WINED3D_FRAGMENT_CAP_PROJ_CONTROL,4,2 ; @WINED3D_FRAGMENT_CAP_PROJ_CONTROL
	.comm	_WINED3D_OK,4,2                 ; @WINED3D_OK
	.no_dead_strip	_shader_none_alloc
.subsections_via_symbols
