	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_com_do_invoke_by_id        ## -- Begin function php_com_do_invoke_by_id
	.p2align	4, 0x90
_php_com_do_invoke_by_id:               ## @php_com_do_invoke_by_id
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movq	%rcx, %r14
	movq	%rdi, %r15
	testl	%r8d, %r8d
	je	LBB0_1
## %bb.2:
	movq	%r9, %rbx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	$4, %edi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_safe_emalloc
	movq	%rax, %r12
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.4:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	movl	%r13d, %r12d
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decq	%r12
	movslq	%r12d, %rax
	leaq	(%rbx,%rax,4), %rsi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_php_com_variant_from_zval
	addq	$4, %r14
	testq	%r12, %r12
	jne	LBB0_5
## %bb.6:
	movb	$1, %bl
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_3:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%ebx, %ebx
LBB0_7:
	movl	24(%rbp), %eax
	movl	16(%rbp), %r9d
	movl	%r13d, -80(%rbp)
	movl	$0, -76(%rbp)
	movq	%r12, -64(%rbp)
	movq	$0, -72(%rbp)
	movq	_DISPATCH_PROPERTYPUT@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_DISPID_PROPERTYPUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -52(%rbp)
	leaq	-52(%rbp), %rcx
	movq	%rcx, -72(%rbp)
	movl	$1, -76(%rbp)
LBB0_9:
	movl	%eax, (%rsp)
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %r8
	callq	_php_com_invoke_helper
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_14
## %bb.10:
	testb	%bl, %bl
	je	LBB0_13
## %bb.11:
	movl	%r13d, %r15d
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_VariantClear
	addq	$4, %rbx
	decq	%r15
	jne	LBB0_12
LBB0_13:
	movq	%r12, %rdi
	callq	_efree
LBB0_14:
	movq	_DISP_E_BADPARAMCOUNT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_19
## %bb.15:
	movq	%r14, %rdi
	callq	_SUCCEEDED
	testq	%rax, %rax
	jne	LBB0_16
## %bb.17:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPATCH_PROPERTYPUT,4,2       ## @DISPATCH_PROPERTYPUT
	.comm	_DISPID_PROPERTYPUT,4,2         ## @DISPID_PROPERTYPUT
	.comm	_DISP_E_BADPARAMCOUNT,8,3       ## @DISP_E_BADPARAMCOUNT
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_FAILURE,4,2                    ## @FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_com_do_invoke_by_id        ; -- Begin function php_com_do_invoke_by_id
	.p2align	2
_php_com_do_invoke_by_id:               ; @php_com_do_invoke_by_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x7
	mov	x22, x6
	mov	x19, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	cbz	w4, LBB0_5
; %bb.1:
	mov	x27, x5
	mov	w0, #4
	mov	x1, x19
	mov	w2, #0
	bl	_safe_emalloc
	mov	x20, x0
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.2:
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	mov	w21, w19
	mov	x28, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x21, x21, #1
	add	x1, x27, w21, sxtw #2
	ldr	w2, [x26]
	mov	x0, x28
	bl	_php_com_variant_from_zval
	add	x28, x28, #4
	cbnz	x21, LBB0_3
; %bb.4:
	mov	w27, #1
	ldr	w21, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_7
LBB0_5:
	mov	w27, #0
	mov	x20, #0
	b	LBB0_7
LBB0_6:
	mov	w27, #0
LBB0_7:
	stp	w19, wzr, [sp, #16]
	stp	xzr, x20, [sp, #24]
Lloh0:
	adrp	x8, _DISPATCH_PROPERTYPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISPATCH_PROPERTYPUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _DISPID_PROPERTYPUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DISPID_PROPERTYPUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #44]
	add	x8, sp, #44
	str	x8, [sp, #24]
	mov	w8, #1
	str	w8, [sp, #20]
LBB0_9:
	add	x3, sp, #16
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	bl	_php_com_invoke_helper
	mov	x21, x0
	cbz	x20, LBB0_14
; %bb.10:
	cbz	w27, LBB0_13
; %bb.11:
	mov	w22, w19
	mov	x19, x20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_VariantClear
	add	x19, x19, #4
	subs	x22, x22, #1
	b.ne	LBB0_12
LBB0_13:
	mov	x0, x20
	bl	_efree
LBB0_14:
Lloh6:
	adrp	x8, _DISP_E_BADPARAMCOUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DISP_E_BADPARAMCOUNT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x21
	bl	_SUCCEEDED
Lloh9:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh11:
	adrp	x9, _FAILURE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FAILURE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w21, [x8]
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DISPATCH_PROPERTYPUT,4,2       ; @DISPATCH_PROPERTYPUT
	.comm	_DISPID_PROPERTYPUT,4,2         ; @DISPID_PROPERTYPUT
	.comm	_DISP_E_BADPARAMCOUNT,8,3       ; @DISP_E_BADPARAMCOUNT
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_FAILURE,4,2                    ; @FAILURE
.subsections_via_symbols
