	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_union_type
_is_union_type:                         ## @is_union_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_ZEND_TYPE_HAS_LIST
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.1:
	movl	%ebx, %edi
	callq	_ZEND_TYPE_PURE_MASK_WITHOUT_NULL
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_ZEND_TYPE_HAS_CLASS
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	testl	%r14d, %r14d
	jmp	LBB0_6
LBB0_3:
	movq	_MAY_BE_BOOL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	leal	-1(%r14), %eax
	testl	%eax, %r14d
LBB0_6:
	setne	%al
LBB0_7:
	movzbl	%al, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAY_BE_BOOL,4,2                ## @MAY_BE_BOOL
	.no_dead_strip	_is_union_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_union_type
_is_union_type:                         ; @is_union_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_ZEND_TYPE_HAS_LIST
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_ZEND_TYPE_PURE_MASK_WITHOUT_NULL
	mov	x19, x0
	mov	x0, x20
	bl	_ZEND_TYPE_HAS_CLASS
	cbz	x0, LBB0_4
; %bb.3:
	cmp	w19, #0
	cset	w0, ne
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _MAY_BE_BOOL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAY_BE_BOOL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w19, #1
	tst	w19, w9
	cset	w9, ne
	cmp	w19, w8
	csel	w0, wzr, w9, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAY_BE_BOOL,4,2                ; @MAY_BE_BOOL
	.no_dead_strip	_is_union_type
.subsections_via_symbols
