	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_implement_throwable
_zend_implement_throwable:              ## @zend_implement_throwable
	.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	%rdi, %r14
	movq	_zend_ce_exception@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_instanceof_function
	movq	_SUCCESS@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_zend_ce_error@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_instanceof_function
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	callq	_ZSTR_VAL
	movl	%eax, %r12d
	movl	(%r14), %edi
	callq	_ZSTR_VAL
	movl	%eax, %r14d
	movq	(%r13), %rax
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	movl	%eax, %ebx
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_zend_error_noreturn
	movq	_FAILURE@GOTPCREL(%rip), %r12
LBB0_3:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zend_ce_exception,8,3          ## @zend_ce_exception
	.comm	_zend_ce_error,8,3              ## @zend_ce_error
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_E_ERROR,4,2                    ## @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Class %s cannot implement interface %s, extend %s or %s instead"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_zend_implement_throwable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_implement_throwable
_zend_implement_throwable:              ; @zend_implement_throwable
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _zend_ce_exception@GOTPAGE
Lloh1:
	ldr	x22, [x22, _zend_ce_exception@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x20
	bl	_instanceof_function
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x23, _zend_ce_error@GOTPAGE
Lloh3:
	ldr	x23, [x23, _zend_ce_error@GOTPAGEOFF]
	ldr	x1, [x23]
	mov	x0, x20
	bl	_instanceof_function
	cbz	x0, LBB0_4
LBB0_2:
Lloh4:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x8, _E_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	ldr	w0, [x20]
	bl	_ZSTR_VAL
	mov	x20, x0
	ldr	w0, [x19]
	bl	_ZSTR_VAL
	mov	x19, x0
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_ZSTR_VAL
	mov	x22, x0
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_ZSTR_VAL
	mov	x5, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	bl	_zend_error_noreturn
Lloh11:
	adrp	x8, _FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_zend_ce_exception,8,3          ; @zend_ce_exception
	.comm	_zend_ce_error,8,3              ; @zend_ce_error
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_E_ERROR,4,2                    ; @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Class %s cannot implement interface %s, extend %s or %s instead"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_zend_implement_throwable
.subsections_via_symbols
