	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zend_ffi_make_enum_type        ## -- Begin function zend_ffi_make_enum_type
	.p2align	4, 0x90
_zend_ffi_make_enum_type:               ## @zend_ffi_make_enum_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_persistent@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	movl	$40, %edi
	movl	%eax, %esi
	callq	_pemalloc
	movq	%rax, %rbx
	movq	_ZEND_FFI_TYPE_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_default_type_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	movq	_ZEND_FFI_ENUM_ATTRS@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	andl	(%r14), %ecx
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	$0, 16(%rbx)
	movq	_ZEND_FFI_ATTR_PACKED@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	_zend_ffi_type_uint32@GOTPCREL(%rip), %rax
	movq	_zend_ffi_type_uint8@GOTPCREL(%rip), %rdx
	testl	%ecx, %ecx
	movq	_ZEND_FFI_TYPE_UINT8@GOTPCREL(%rip), %rcx
	cmoveq	_ZEND_FFI_TYPE_UINT32@GOTPCREL(%rip), %rcx
	leaq	4(%rax), %rsi
	leaq	4(%rdx), %rdi
	cmoveq	%rax, %rdx
	movl	(%rcx), %eax
	movl	(%rdx), %ecx
	cmoveq	%rsi, %rdi
	movl	(%rdi), %edx
	movl	%edx, 28(%rbx)
	movl	%ecx, 24(%rbx)
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_ZEND_FFI_TYPE_MAKE_OWNED
	movl	%eax, 4(%r14)
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_persistent,4,2                 ## @persistent
	.comm	_ZEND_FFI_TYPE_ENUM,4,2         ## @ZEND_FFI_TYPE_ENUM
	.comm	_default_type_attr,4,2          ## @default_type_attr
	.comm	_ZEND_FFI_ENUM_ATTRS,4,2        ## @ZEND_FFI_ENUM_ATTRS
	.comm	_ZEND_FFI_ATTR_PACKED,4,2       ## @ZEND_FFI_ATTR_PACKED
	.comm	_zend_ffi_type_uint8,8,2        ## @zend_ffi_type_uint8
	.comm	_ZEND_FFI_TYPE_UINT8,4,2        ## @ZEND_FFI_TYPE_UINT8
	.comm	_zend_ffi_type_uint32,8,2       ## @zend_ffi_type_uint32
	.comm	_ZEND_FFI_TYPE_UINT32,4,2       ## @ZEND_FFI_TYPE_UINT32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zend_ffi_make_enum_type        ; -- Begin function zend_ffi_make_enum_type
	.p2align	2
_zend_ffi_make_enum_type:               ; @zend_ffi_make_enum_type
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _persistent@GOTPAGE
Lloh1:
	ldr	x8, [x8, _persistent@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FFI_G
	mov	x1, x0
	mov	w0, #40
	bl	_pemalloc
	mov	x20, x0
Lloh3:
	adrp	x8, _ZEND_FFI_TYPE_ENUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZEND_FFI_TYPE_ENUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh6:
	adrp	x8, _default_type_attr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _default_type_attr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_FFI_G
Lloh9:
	adrp	x21, _ZEND_FFI_ENUM_ATTRS@GOTPAGE
Lloh10:
	ldr	x21, [x21, _ZEND_FFI_ENUM_ATTRS@GOTPAGEOFF]
	ldr	w8, [x19]
	ldr	w9, [x21]
	and	w8, w9, w8
	orr	w8, w8, w0
	str	w8, [x20]
	str	xzr, [x20, #16]
Lloh11:
	adrp	x9, _ZEND_FFI_ATTR_PACKED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ZEND_FFI_ATTR_PACKED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
Lloh14:
	adrp	x8, _ZEND_FFI_TYPE_UINT32@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ZEND_FFI_TYPE_UINT32@GOTPAGEOFF]
	cset	w9, eq
Lloh16:
	adrp	x10, _ZEND_FFI_TYPE_UINT8@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ZEND_FFI_TYPE_UINT8@GOTPAGEOFF]
	csel	x8, x8, x10, eq
Lloh18:
	adrp	x10, _zend_ffi_type_uint32@GOTPAGE
Lloh19:
	ldr	x10, [x10, _zend_ffi_type_uint32@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh20:
	ldr	d0, [x10]
Lloh21:
	adrp	x10, _zend_ffi_type_uint8@GOTPAGE
Lloh22:
	ldr	x10, [x10, _zend_ffi_type_uint8@GOTPAGEOFF]
	dup.2s	v1, w9
Lloh23:
	ldr	d2, [x10]
	shl.2s	v1, v1, #31
	cmlt.2s	v1, v1, #0
	bif.8b	v0, v2, v1
	str	d0, [x20, #24]
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_ZEND_FFI_TYPE_MAKE_OWNED
	ldr	w8, [x21]
	ldr	w9, [x19]
	bic	w8, w9, w8
	stp	w8, w0, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_persistent,4,2                 ; @persistent
	.comm	_ZEND_FFI_TYPE_ENUM,4,2         ; @ZEND_FFI_TYPE_ENUM
	.comm	_default_type_attr,4,2          ; @default_type_attr
	.comm	_ZEND_FFI_ENUM_ATTRS,4,2        ; @ZEND_FFI_ENUM_ATTRS
	.comm	_ZEND_FFI_ATTR_PACKED,4,2       ; @ZEND_FFI_ATTR_PACKED
	.comm	_zend_ffi_type_uint8,8,2        ; @zend_ffi_type_uint8
	.comm	_ZEND_FFI_TYPE_UINT8,4,2        ; @ZEND_FFI_TYPE_UINT8
	.comm	_zend_ffi_type_uint32,8,2       ; @zend_ffi_type_uint32
	.comm	_ZEND_FFI_TYPE_UINT32,4,2       ; @ZEND_FFI_TYPE_UINT32
.subsections_via_symbols
