	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IKsPrivatePropertySetImpl_Create ## -- Begin function IKsPrivatePropertySetImpl_Create
	.p2align	4, 0x90
_IKsPrivatePropertySetImpl_Create:      ## @IKsPrivatePropertySetImpl_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	callq	_debugstr_guid
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_TRACE
	movq	_IID_IUnknown@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_IsEqualIID
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_IID_IKsPropertySet@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_IsEqualIID
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_HeapAlloc
	movl	$1, (%rax)
	movq	_ikspvt@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	addq	$8, %rax
	movq	_S_OK@GOTPCREL(%rip), %rcx
LBB0_4:
	movq	%rax, (%r14)
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_E_NOINTERFACE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%s, %p)\n"

	.comm	_IID_IUnknown,4,2               ## @IID_IUnknown
	.comm	_IID_IKsPropertySet,4,2         ## @IID_IKsPropertySet
	.comm	_E_NOINTERFACE,4,2              ## @E_NOINTERFACE
	.comm	_ikspvt,4,2                     ## @ikspvt
	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IKsPrivatePropertySetImpl_Create ; -- Begin function IKsPrivatePropertySetImpl_Create
	.p2align	2
_IKsPrivatePropertySetImpl_Create:      ; @IKsPrivatePropertySetImpl_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, x1
	mov	x20, x0
	bl	_debugstr_guid
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_TRACE
Lloh2:
	adrp	x1, _IID_IUnknown@GOTPAGE
Lloh3:
	ldr	x1, [x1, _IID_IUnknown@GOTPAGEOFF]
	mov	x0, x20
	bl	_IsEqualIID
	cbnz	w0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x1, _IID_IKsPropertySet@GOTPAGE
Lloh5:
	ldr	x1, [x1, _IID_IKsPropertySet@GOTPAGEOFF]
	mov	x0, x20
	bl	_IsEqualIID
	cbz	w0, LBB0_4
LBB0_2:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	w2, #16
	bl	_HeapAlloc
	mov	w8, #1
	str	w8, [x0]
Lloh6:
	adrp	x8, _ikspvt@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ikspvt@GOTPAGEOFF]
	str	x8, [x0, #8]!
Lloh8:
	adrp	x8, _S_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_3:
	str	x0, [x19]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, #0
Lloh10:
	adrp	x8, _E_NOINTERFACE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E_NOINTERFACE@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%s, %p)\n"

	.comm	_IID_IUnknown,4,2               ; @IID_IUnknown
	.comm	_IID_IKsPropertySet,4,2         ; @IID_IKsPropertySet
	.comm	_E_NOINTERFACE,4,2              ; @E_NOINTERFACE
	.comm	_ikspvt,4,2                     ; @ikspvt
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
