	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IEnumRegFiltersImpl_Construct  ## -- Begin function IEnumRegFiltersImpl_Construct
	.p2align	4, 0x90
_IEnumRegFiltersImpl_Construct:         ## @IEnumRegFiltersImpl_Construct
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	movq	%rsi, %rbx
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	_TRACE
	movl	$48, %edi
	callq	_CoTaskMemAlloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.2:
	movl	%r12d, %eax
	shll	$4, %eax
	leal	(%rax,%rax,2), %edi
	callq	_CoTaskMemAlloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, %eax
	shlq	$4, %rax
	leaq	(%rax,%rax,2), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	40(%rbx,%r12), %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, 40(%r15,%r12)
	movq	32(%rbx,%r12), %rdi
	callq	_strlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edi
	callq	_CoTaskMemAlloc
	movq	%rax, 32(%r15,%r12)
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	32(%rbx,%r12), %r15
	movq	%r15, %rdi
	callq	_strlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_CopyMemory
	addq	$48, %r12
	decl	%r13d
	cmpq	%r12, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_4
## %bb.6:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_7:
	xorl	%edx, %edx
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rax
	movq	_IEnumRegFiltersImpl_Vtbl@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%r14)
	movl	$1, (%r14)
	movq	$0, 24(%r14)
	movq	%rdx, 16(%r14)
	movl	%r12d, 4(%r14)
	movq	%rax, (%r15)
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	movq	%r14, %rdi
	callq	_CoTaskMemFree
LBB0_10:
	movq	$0, (%r15)
	jmp	LBB0_14
LBB0_11:
	testl	%r13d, %r13d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-16(%rbx,%r12), %rdi
	callq	_CoTaskMemFree
	addq	$-48, %r12
	jne	LBB0_12
LBB0_13:
	movq	%rbx, %rdi
	callq	_CoTaskMemFree
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_CoTaskMemFree
LBB0_14:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p, %d, %p)\n"

	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_IEnumRegFiltersImpl_Vtbl,4,2   ## @IEnumRegFiltersImpl_Vtbl
	.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	_IEnumRegFiltersImpl_Construct  ; -- Begin function IEnumRegFiltersImpl_Construct
	.p2align	2
_IEnumRegFiltersImpl_Construct:         ; @IEnumRegFiltersImpl_Construct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	bl	_TRACE
	mov	w0, #48
	bl	_CoTaskMemAlloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	cbz	w21, LBB0_7
; %bb.2:
	add	w8, w21, w21, lsl #1
	lsl	w0, w8, #4
	bl	_CoTaskMemAlloc
	cbz	x0, LBB0_9
; %bb.3:
	mov	x22, x0
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	mov	w27, #0
	mov	x26, #0
	mov	w8, #48
	umull	x28, w21, w8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x23, x26
	ldr	w8, [x25, #40]
	add	x20, x22, x26
	str	w8, [x20, #40]
	ldr	x0, [x25, #32]
	bl	_strlenW
	lsl	w8, w0, #2
	add	w0, w8, #4
	bl	_CoTaskMemAlloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	x25, [x25, #32]
	mov	x0, x25
	bl	_strlenW
	lsl	w8, w0, #2
	add	w2, w8, #4
	mov	x0, x24
	mov	x1, x25
	bl	_CopyMemory
	add	x26, x26, #48
	sub	w27, w27, #1
	cmp	x28, x26
	b.ne	LBB0_4
; %bb.6:
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_8
LBB0_7:
	mov	x22, #0
LBB0_8:
Lloh2:
	adrp	x8, _IEnumRegFiltersImpl_Vtbl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEnumRegFiltersImpl_Vtbl@GOTPAGEOFF]
	mov	x9, x19
	str	x8, [x9, #8]!
	mov	w8, #1
	stp	x22, xzr, [x19, #16]
	stp	w8, w21, [x19]
	str	x9, [x20]
Lloh4:
	adrp	x8, _S_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	x0, x19
	bl	_CoTaskMemFree
LBB0_10:
	str	xzr, [x20]
LBB0_11:
Lloh6:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	cbz	w27, LBB0_16
; %bb.14:
	sub	x20, x22, #16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, x26]
	bl	_CoTaskMemFree
	subs	x26, x26, #48
	b.ne	LBB0_15
LBB0_16:
	mov	x0, x22
	bl	_CoTaskMemFree
	mov	x0, x19
	bl	_CoTaskMemFree
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p, %d, %p)\n"

	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_IEnumRegFiltersImpl_Vtbl,4,2   ; @IEnumRegFiltersImpl_Vtbl
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
