	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disp_get_id
_disp_get_id:                           ## @disp_get_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_iface_to_jsdisp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_jsdisp_get_id
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_jsdisp_release
	movl	%ebx, %eax
	jmp	LBB0_12
LBB0_2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_6
## %bb.3:
	movq	%r12, -48(%rbp)
	movq	%r12, %r13
	movl	%r15d, %ebx
	jmp	LBB0_4
LBB0_6:
	movq	%r13, %rdi
	callq	_SysAllocString
	movq	%rax, %r13
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	movl	%r15d, %ebx
	je	LBB0_7
LBB0_4:
	movq	$0, (%r14)
	movq	_IID_IDispatchEx@GOTPCREL(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_IDispatch_QueryInterface
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%r14, %r15
	movq	-64(%rbp), %r14
	movq	_fdexNameCaseSensitive@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_make_grfdex
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_IDispatchEx_GetDispID
	movl	%eax, %r15d
	movq	-64(%rbp), %rdi
	callq	_IDispatchEx_Release
	cmpq	%r12, %r13
	jne	LBB0_10
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	_IID_NULL@GOTPCREL(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_IDispatch_GetIDsOfNames
	movl	%eax, %r15d
	movq	-48(%rbp), %r13
	cmpq	%r12, %r13
	je	LBB0_11
LBB0_10:
	movq	%r13, %rdi
	callq	_SysFreeString
	jmp	LBB0_11
LBB0_7:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_IID_IDispatchEx,4,2            ## @IID_IDispatchEx
	.comm	_fdexNameCaseSensitive,4,2      ## @fdexNameCaseSensitive
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"using IDispatch\n"

	.comm	_IID_NULL,4,2                   ## @IID_NULL
	.no_dead_strip	_disp_get_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disp_get_id
_disp_get_id:                           ; @disp_get_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x5
	mov	x23, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
	mov	x0, x1
	bl	_iface_to_jsdisp
	cbz	x0, LBB0_2
; %bb.1:
	mov	x25, x0
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	bl	_jsdisp_get_id
	mov	x19, x0
	mov	x0, x25
	bl	_jsdisp_release
	mov	x0, x19
	b	LBB0_11
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	str	x19, [sp]
	mov	x21, x19
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	bl	_SysAllocString
	mov	x21, x0
	str	x0, [sp]
	cbz	x0, LBB0_9
LBB0_5:
	str	xzr, [x20]
Lloh0:
	adrp	x1, _IID_IDispatchEx@GOTPAGE
Lloh1:
	ldr	x1, [x1, _IID_IDispatchEx@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x0, x22
	bl	_IDispatch_QueryInterface
	bl	_SUCCEEDED
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x22, [sp, #8]
Lloh2:
	adrp	x8, _fdexNameCaseSensitive@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fdexNameCaseSensitive@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w23
	mov	x0, x24
	bl	_make_grfdex
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_IDispatchEx_GetDispID
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_IDispatchEx_Release
	cmp	x21, x19
	b.ne	LBB0_8
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh7:
	adrp	x1, _IID_NULL@GOTPAGE
Lloh8:
	ldr	x1, [x1, _IID_NULL@GOTPAGEOFF]
	mov	x2, sp
	mov	x0, x22
	mov	w3, #1
	mov	w4, #0
	mov	x5, x20
	bl	_IDispatch_GetIDsOfNames
	mov	x20, x0
	ldr	x21, [sp]
	cmp	x21, x19
	b.eq	LBB0_10
LBB0_8:
	mov	x0, x21
	bl	_SysFreeString
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_10:
	mov	x0, x20
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_IID_IDispatchEx,4,2            ; @IID_IDispatchEx
	.comm	_fdexNameCaseSensitive,4,2      ; @fdexNameCaseSensitive
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"using IDispatch\n"

	.comm	_IID_NULL,4,2                   ; @IID_NULL
	.no_dead_strip	_disp_get_id
.subsections_via_symbols
