	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zend_ffi_make_array_type       ## -- Begin function zend_ffi_make_array_type
	.p2align	4, 0x90
_zend_ffi_make_array_type:              ## @zend_ffi_make_array_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	%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, %r15
	movq	%rdi, %r12
	callq	_zend_ffi_finalize_type
	movl	20(%r12), %edi
	callq	_ZEND_FFI_TYPE
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	_ZEND_FFI_VAL_EMPTY@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.1:
	movq	_ZEND_FFI_VAL_UINT32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_ZEND_FFI_VAL_UINT64@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.4:
	movq	_ZEND_FFI_VAL_INT32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_ZEND_FFI_VAL_INT64@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.7:
	movq	_ZEND_FFI_VAL_CHAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	addq	$16, %r15
	jmp	LBB0_9
LBB0_3:
	addq	$8, %r15
	jmp	LBB0_9
LBB0_6:
	addq	$12, %r15
LBB0_9:
	movl	(%r15), %r13d
	testl	%r13d, %r13d
	js	LBB0_10
LBB0_13:
	movq	%r14, %rdi
	callq	_zend_ffi_validate_array_element_type
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	callq	_zend_ffi_cleanup_dcl
	movq	_bailout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_LONGJMP
LBB0_15:
	movq	_persistent@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	movl	$24, %edi
	movl	%eax, %esi
	callq	_pemalloc
	movq	%rax, %rbx
	movq	_ZEND_FFI_TYPE_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_default_type_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	movq	_ZEND_FFI_ARRAY_ATTRS@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	andl	(%r12), %ecx
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	4(%r14), %eax
	imull	%r13d, %eax
	movl	%eax, 4(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	20(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	%r13d, 8(%rbx)
	movq	%rbx, %rdi
	callq	_ZEND_FFI_TYPE_MAKE_OWNED
	movl	%eax, 20(%r12)
	movq	_ZEND_FFI_DCL_TYPE_QUALIFIERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%r12)
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, (%r12)
	movq	$0, 8(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r12, %rdi
	callq	_zend_ffi_cleanup_dcl
	movq	_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_12
LBB0_11:
	movq	%r12, %rdi
	callq	_zend_ffi_cleanup_dcl
	movq	_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	leaq	L_.str(%rip), %rdi
LBB0_12:
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zend_ffi_parser_error          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ZEND_FFI_VAL_EMPTY,8,3         ## @ZEND_FFI_VAL_EMPTY
	.comm	_ZEND_FFI_VAL_UINT32,8,3        ## @ZEND_FFI_VAL_UINT32
	.comm	_ZEND_FFI_VAL_UINT64,8,3        ## @ZEND_FFI_VAL_UINT64
	.comm	_ZEND_FFI_VAL_INT32,8,3         ## @ZEND_FFI_VAL_INT32
	.comm	_ZEND_FFI_VAL_INT64,8,3         ## @ZEND_FFI_VAL_INT64
	.comm	_ZEND_FFI_VAL_CHAR,8,3          ## @ZEND_FFI_VAL_CHAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported array index type at line %d"

	.comm	_line,4,2                       ## @line
L_.str.1:                               ## @.str.1
	.asciz	"negative array index at line %d"

	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_bailout,4,2                    ## @bailout
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_persistent,4,2                 ## @persistent
	.comm	_ZEND_FFI_TYPE_ARRAY,4,2        ## @ZEND_FFI_TYPE_ARRAY
	.comm	_default_type_attr,4,2          ## @default_type_attr
	.comm	_ZEND_FFI_ARRAY_ATTRS,4,2       ## @ZEND_FFI_ARRAY_ATTRS
	.comm	_ZEND_FFI_DCL_TYPE_QUALIFIERS,4,2 ## @ZEND_FFI_DCL_TYPE_QUALIFIERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zend_ffi_make_array_type       ; -- Begin function zend_ffi_make_array_type
	.p2align	2
_zend_ffi_make_array_type:              ; @zend_ffi_make_array_type
	.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	x21, x1
	mov	x19, x0
	bl	_zend_ffi_finalize_type
	ldr	w0, [x19, #20]
	bl	_ZEND_FFI_TYPE
	mov	x20, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _ZEND_FFI_VAL_EMPTY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZEND_FFI_VAL_EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w22, #0
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x9, _ZEND_FFI_VAL_UINT32@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZEND_FFI_VAL_UINT32@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ZEND_FFI_VAL_UINT64@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ZEND_FFI_VAL_UINT64@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
	add	x8, x21, #8
	ldr	w22, [x8]
	tbz	w22, #31, LBB0_6
	b	LBB0_11
LBB0_4:
Lloh9:
	adrp	x9, _ZEND_FFI_VAL_INT32@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ZEND_FFI_VAL_INT32@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _ZEND_FFI_VAL_INT64@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ZEND_FFI_VAL_INT64@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.5:
	add	x8, x21, #12
	ldr	w22, [x8]
	tbnz	w22, #31, LBB0_11
LBB0_6:
	mov	x0, x20
	bl	_zend_ffi_validate_array_element_type
Lloh15:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_zend_ffi_cleanup_dcl
Lloh18:
	adrp	x8, _bailout@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bailout@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_FFI_G
Lloh21:
	adrp	x8, _FAILURE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_LONGJMP
LBB0_8:
Lloh24:
	adrp	x8, _persistent@GOTPAGE
Lloh25:
	ldr	x8, [x8, _persistent@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_FFI_G
	mov	x1, x0
	mov	w0, #24
	bl	_pemalloc
	mov	x21, x0
Lloh27:
	adrp	x8, _ZEND_FFI_TYPE_ARRAY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ZEND_FFI_TYPE_ARRAY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x0, #20]
Lloh30:
	adrp	x8, _default_type_attr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _default_type_attr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_FFI_G
	ldr	w8, [x19]
Lloh33:
	adrp	x23, _ZEND_FFI_ARRAY_ATTRS@GOTPAGE
Lloh34:
	ldr	x23, [x23, _ZEND_FFI_ARRAY_ATTRS@GOTPAGEOFF]
	ldr	w9, [x23]
	and	w8, w9, w8
	orr	w8, w8, w0
	ldr	w9, [x20, #4]
	mul	w9, w9, w22
	stp	w8, w9, [x21]
	ldr	w8, [x20, #16]
	str	w8, [x21, #16]
	ldr	w8, [x19, #20]
	stp	w22, w8, [x21, #8]
	mov	x0, x21
	bl	_ZEND_FFI_TYPE_MAKE_OWNED
Lloh35:
	adrp	x8, _ZEND_FFI_DCL_TYPE_QUALIFIERS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ZEND_FFI_DCL_TYPE_QUALIFIERS@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	stp	w8, w0, [x19, #16]
	ldr	w8, [x23]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #8]
	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_9:
Lloh38:
	adrp	x9, _ZEND_FFI_VAL_CHAR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ZEND_FFI_VAL_CHAR@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	add	x8, x21, #16
	ldr	w22, [x8]
	tbz	w22, #31, LBB0_6
LBB0_11:
	mov	x0, x19
	bl	_zend_ffi_cleanup_dcl
Lloh41:
	adrp	x8, _line@GOTPAGE
Lloh42:
	ldr	x8, [x8, _line@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_FFI_G
	mov	x1, x0
Lloh44:
	adrp	x0, l_.str.1@PAGE
Lloh45:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_zend_ffi_cleanup_dcl
Lloh46:
	adrp	x8, _line@GOTPAGE
Lloh47:
	ldr	x8, [x8, _line@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_FFI_G
	mov	x1, x0
Lloh49:
	adrp	x0, l_.str@PAGE
Lloh50:
	add	x0, x0, l_.str@PAGEOFF
LBB0_13:
	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
	b	_zend_ffi_parser_error
	.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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_ZEND_FFI_VAL_EMPTY,8,3         ; @ZEND_FFI_VAL_EMPTY
	.comm	_ZEND_FFI_VAL_UINT32,8,3        ; @ZEND_FFI_VAL_UINT32
	.comm	_ZEND_FFI_VAL_UINT64,8,3        ; @ZEND_FFI_VAL_UINT64
	.comm	_ZEND_FFI_VAL_INT32,8,3         ; @ZEND_FFI_VAL_INT32
	.comm	_ZEND_FFI_VAL_INT64,8,3         ; @ZEND_FFI_VAL_INT64
	.comm	_ZEND_FFI_VAL_CHAR,8,3          ; @ZEND_FFI_VAL_CHAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported array index type at line %d"

	.comm	_line,4,2                       ; @line
l_.str.1:                               ; @.str.1
	.asciz	"negative array index at line %d"

	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_bailout,4,2                    ; @bailout
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_persistent,4,2                 ; @persistent
	.comm	_ZEND_FFI_TYPE_ARRAY,4,2        ; @ZEND_FFI_TYPE_ARRAY
	.comm	_default_type_attr,4,2          ; @default_type_attr
	.comm	_ZEND_FFI_ARRAY_ATTRS,4,2       ; @ZEND_FFI_ARRAY_ATTRS
	.comm	_ZEND_FFI_DCL_TYPE_QUALIFIERS,4,2 ; @ZEND_FFI_DCL_TYPE_QUALIFIERS
.subsections_via_symbols
