	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3d_material_create            ## -- Begin function d3d_material_create
	.p2align	4, 0x90
_d3d_material_create:                   ## @d3d_material_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$40, %edi
	callq	_heap_alloc_zero
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_d3d_material3_vtbl@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rax)
	movq	_d3d_material2_vtbl@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rax)
	movq	_d3d_material1_vtbl@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rax)
	movl	$1, (%rax)
	movq	%rbx, 8(%rax)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_d3d_material3_vtbl,4,2         ## @d3d_material3_vtbl
	.comm	_d3d_material2_vtbl,4,2         ## @d3d_material2_vtbl
	.comm	_d3d_material1_vtbl,4,2         ## @d3d_material1_vtbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3d_material_create            ; -- Begin function d3d_material_create
	.p2align	2
_d3d_material_create:                   ; @d3d_material_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #40
	bl	_heap_alloc_zero
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _d3d_material3_vtbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _d3d_material3_vtbl@GOTPAGEOFF]
Lloh2:
	adrp	x9, _d3d_material2_vtbl@GOTPAGE
Lloh3:
	ldr	x9, [x9, _d3d_material2_vtbl@GOTPAGEOFF]
	stp	x9, x8, [x0, #24]
Lloh4:
	adrp	x8, _d3d_material1_vtbl@GOTPAGE
Lloh5:
	ldr	x8, [x8, _d3d_material1_vtbl@GOTPAGEOFF]
	mov	w9, #1
	str	w9, [x0]
	stp	x19, x8, [x0, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_d3d_material3_vtbl,4,2         ; @d3d_material3_vtbl
	.comm	_d3d_material2_vtbl,4,2         ; @d3d_material2_vtbl
	.comm	_d3d_material1_vtbl,4,2         ; @d3d_material1_vtbl
.subsections_via_symbols
