	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mediaenum_create
_mediaenum_create:                      ## @mediaenum_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	$48, %edi
	callq	_CoTaskMemAlloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$48, %esi
	callq	_ZeroMemory
	movq	%rbx, %r14
	addq	$8, %r14
	movq	_IEnumMediaTypes_VTable@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	movl	%r12d, 40(%rbx)
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movups	(%r15), %xmm0
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	movl	(%r15), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.4:
	callq	_CoTaskMemAlloc
	movq	%rax, 24(%rbx)
	movq	8(%r15), %rsi
	movl	(%r15), %edx
	movq	%rax, %rdi
	callq	_CopyMemory
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_6:
	movq	_GUID_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	jmp	LBB0_7
LBB0_5:
	movq	$0, 24(%rbx)
LBB0_7:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEnumMediaTypes_VTable,4,2     ## @IEnumMediaTypes_VTable
	.comm	_GUID_NULL,4,2                  ## @GUID_NULL
	.no_dead_strip	_mediaenum_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mediaenum_create
_mediaenum_create:                      ; @mediaenum_create
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x20, x0
	mov	w0, #48
	bl	_CoTaskMemAlloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	w1, #48
	bl	_ZeroMemory
Lloh0:
	adrp	x8, _IEnumMediaTypes_VTable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEnumMediaTypes_VTable@GOTPAGEOFF]
	mov	x19, x21
	str	x8, [x19, #8]!
	mov	w8, #1
	str	w8, [x21]
	str	w22, [x21, #40]
	cbz	x20, LBB0_5
; %bb.2:
	ldr	q0, [x20]
	str	q0, [x21, #16]
	str	xzr, [x21, #32]
	ldr	w0, [x20]
	cbz	w0, LBB0_6
; %bb.3:
	bl	_CoTaskMemAlloc
	str	x0, [x21, #24]
	ldr	x1, [x20, #8]
	ldr	w2, [x20]
	bl	_CopyMemory
	b	LBB0_7
LBB0_4:
	mov	x19, #0
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x8, _GUID_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GUID_NULL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21, #20]
	b	LBB0_7
LBB0_6:
	str	xzr, [x21, #24]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IEnumMediaTypes_VTable,4,2     ; @IEnumMediaTypes_VTable
	.comm	_GUID_NULL,4,2                  ; @GUID_NULL
	.no_dead_strip	_mediaenum_create
.subsections_via_symbols
