	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function can_elide_return_type_check
_can_elide_return_type_check:           ## @can_elide_return_type_check
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	movq	(%rdx), %r15
	movl	(%rbx,%r15,8), %eax
	movq	_MAY_BE_REF@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.1:
	movq	8(%rdx), %r12
	movq	_MAY_BE_ANY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MAY_BE_UNDEF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	andl	%eax, %edx
	andl	(%rbx,%r12,8), %ecx
	notl	%ecx
	testl	%ecx, %edx
	jne	LBB0_8
## %bb.2:
	movq	(%rdi), %r13
	movl	-4(%r13), %edi
	callq	_ZEND_TYPE_FULL_MASK
	movq	_MAY_BE_CALLABLE@GOTPCREL(%rip), %rcx
	movq	_MAY_BE_ITERABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_8
## %bb.3:
	movl	-4(%r13), %edi
	callq	_ZEND_TYPE_HAS_CLASS
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	4(%rbx,%r15,8), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.5:
	movl	4(%rbx,%r12,8), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.6:
	callq	_safe_instanceof
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	movl	$1, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAY_BE_REF,4,2                 ## @MAY_BE_REF
	.comm	_MAY_BE_ANY,4,2                 ## @MAY_BE_ANY
	.comm	_MAY_BE_UNDEF,4,2               ## @MAY_BE_UNDEF
	.comm	_MAY_BE_CALLABLE,4,2            ## @MAY_BE_CALLABLE
	.comm	_MAY_BE_ITERABLE,4,2            ## @MAY_BE_ITERABLE
	.no_dead_strip	_can_elide_return_type_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function can_elide_return_type_check
_can_elide_return_type_check:           ; @can_elide_return_type_check
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x19, [x1]
	ldr	x20, [x2]
	lsl	x8, x20, #3
	ldr	w8, [x19, x8]
Lloh0:
	adrp	x9, _MAY_BE_REF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAY_BE_REF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _MAY_BE_ANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAY_BE_ANY@GOTPAGEOFF]
	ldr	x21, [x2, #8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _MAY_BE_UNDEF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MAY_BE_UNDEF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w10, w10, w9
	and	w8, w10, w8
	lsl	x10, x21, #3
	ldr	w10, [x19, x10]
	and	w9, w10, w9
	bics	wzr, w8, w9
	b.ne	LBB0_3
; %bb.2:
	ldr	x22, [x0]
	ldur	w0, [x22, #-4]
	bl	_ZEND_TYPE_FULL_MASK
Lloh9:
	adrp	x8, _MAY_BE_CALLABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAY_BE_CALLABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _MAY_BE_ITERABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MAY_BE_ITERABLE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldur	w0, [x22, #-4]
	bl	_ZEND_TYPE_HAS_CLASS
	cbz	x0, LBB0_9
; %bb.6:
	add	x8, x19, x20, lsl #3
	ldr	w0, [x8, #4]
	cbz	w0, LBB0_4
; %bb.7:
	add	x8, x19, x21, lsl #3
	ldr	w1, [x8, #4]
	cbz	w1, LBB0_3
; %bb.8:
	bl	_safe_instanceof
	cbz	w0, LBB0_4
LBB0_9:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAY_BE_REF,4,2                 ; @MAY_BE_REF
	.comm	_MAY_BE_ANY,4,2                 ; @MAY_BE_ANY
	.comm	_MAY_BE_UNDEF,4,2               ; @MAY_BE_UNDEF
	.comm	_MAY_BE_CALLABLE,4,2            ; @MAY_BE_CALLABLE
	.comm	_MAY_BE_ITERABLE,4,2            ; @MAY_BE_ITERABLE
	.no_dead_strip	_can_elide_return_type_check
.subsections_via_symbols
