	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Parser_AddPin                  ## -- Begin function Parser_AddPin
	.p2align	4, 0x90
_Parser_AddPin:                         ## @Parser_AddPin
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	(%rdi), %eax
	leal	16(,%rax,8), %edi
	callq	_CoTaskMemAlloc
	movq	%rax, 8(%rbx)
	movl	(%rbx), %ecx
	leal	8(,%rcx,8), %edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	leaq	20(%rbx), %r8
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,8), %r9
	addq	$8, %r9
	movq	_Parser_OutputPin_Vtbl@GOTPCREL(%rip), %rdi
	movq	_output_BaseOutputFuncTable@GOTPCREL(%rip), %rcx
	movl	$32, %esi
	movq	%r13, %rdx
	callq	_BaseOutputPin_Construct
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r15
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	8(%rax,%rcx,8), %rdi
	callq	_unsafe_impl_Parser_OutputPin_from_IPin
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	movq	%rax, %r12
	movl	$4, %edi
	callq	_CoTaskMemAlloc
	movq	%rax, 24(%r12)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_CopyMediaType
	movq	$0, 16(%r12)
	movq	%r15, 8(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r12)
	incl	(%rbx)
	movq	%r15, %rdi
	callq	_BaseFilterImpl_IncrementPinVersion
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_CoTaskMemFree
	jmp	LBB0_3
LBB0_2:
	movq	8(%rbx), %rdi
	callq	_CoTaskMemFree
	movq	%r14, 8(%rbx)
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_ERR
LBB0_3:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Parser_OutputPin_Vtbl,4,2      ## @Parser_OutputPin_Vtbl
	.comm	_output_BaseOutputFuncTable,4,2 ## @output_BaseOutputFuncTable
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed with error %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Parser_AddPin                  ; -- Begin function Parser_AddPin
	.p2align	2
_Parser_AddPin:                         ; @Parser_AddPin
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	w8, [x0]
	lsl	w8, w8, #3
	add	w0, w8, #16
	bl	_CoTaskMemAlloc
	str	x0, [x20, #8]
	ldr	w8, [x20]
	lsl	w8, w8, #3
	add	w2, w8, #8
	mov	x1, x19
	bl	_memcpy
	add	x4, x20, #20
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #3
	add	x5, x8, #8
Lloh0:
	adrp	x0, _Parser_OutputPin_Vtbl@GOTPAGE
Lloh1:
	ldr	x0, [x0, _Parser_OutputPin_Vtbl@GOTPAGEOFF]
Lloh2:
	adrp	x3, _output_BaseOutputFuncTable@GOTPAGE
Lloh3:
	ldr	x3, [x3, _output_BaseOutputFuncTable@GOTPAGEOFF]
	mov	w1, #32
	mov	x2, x23
	bl	_BaseOutputPin_Construct
	mov	x23, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_2
; %bb.1:
	add	x24, x20, #16
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #3
	ldr	x0, [x8, #8]
	bl	_unsafe_impl_Parser_OutputPin_from_IPin
	mov	x25, x0
	mov	w0, #4
	bl	_CoTaskMemAlloc
	str	x0, [x25, #24]
	mov	x1, x22
	bl	_CopyMediaType
	stp	x24, xzr, [x25, #8]
	ldr	w8, [x21]
	str	w8, [x25]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x24
	bl	_BaseFilterImpl_IncrementPinVersion
	mov	x0, x19
	bl	_CoTaskMemFree
	b	LBB0_3
LBB0_2:
	ldr	x0, [x20, #8]
	bl	_CoTaskMemFree
	str	x19, [x20, #8]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_ERR
LBB0_3:
	mov	x0, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_Parser_OutputPin_Vtbl,4,2      ; @Parser_OutputPin_Vtbl
	.comm	_output_BaseOutputFuncTable,4,2 ; @output_BaseOutputFuncTable
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed with error %x\n"

.subsections_via_symbols
