	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_ffi_validate_field_type
_zend_ffi_validate_field_type:          ## @zend_ffi_validate_field_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
	cmpq	%rsi, %rdi
	je	LBB0_1
## %bb.4:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_zend_ffi_validate_var_type
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	movq	_ZEND_FFI_ATTR_UNION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.6:
	movq	_ZEND_FFI_ATTR_INCOMPLETE_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:
	movq	_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	movq	_line@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFI_G
	leaq	L_.str(%rip), %rdi
LBB0_2:
	movl	%eax, %esi
	callq	_zend_ffi_throw_parser_error
LBB0_3:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_zend_ffi_validate_prev_field_type ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"struct/union can't contain an instance of itself at line %d"

	.comm	_line,4,2                       ## @line
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_ZEND_FFI_ATTR_UNION,4,2        ## @ZEND_FFI_ATTR_UNION
	.comm	_ZEND_FFI_ATTR_INCOMPLETE_ARRAY,4,2 ## @ZEND_FFI_ATTR_INCOMPLETE_ARRAY
L_.str.1:                               ## @.str.1
	.asciz	"flexible array member in union at line %d"

	.no_dead_strip	_zend_ffi_validate_field_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_ffi_validate_field_type
_zend_ffi_validate_field_type:          ; @zend_ffi_validate_field_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
	cmp	x0, x1
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w1, #1
	bl	_zend_ffi_validate_var_type
Lloh0:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _ZEND_FFI_ATTR_UNION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZEND_FFI_ATTR_UNION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _ZEND_FFI_ATTR_INCOMPLETE_ARRAY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ZEND_FFI_ATTR_INCOMPLETE_ARRAY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
Lloh9:
	adrp	x8, _line@GOTPAGE
Lloh10:
	ldr	x8, [x8, _line@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_FFI_G
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _line@GOTPAGE
Lloh15:
	ldr	x8, [x8, _line@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_FFI_G
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_zend_ffi_throw_parser_error
LBB0_7:
Lloh19:
	adrp	x8, _FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_zend_ffi_validate_prev_field_type
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"struct/union can't contain an instance of itself at line %d"

	.comm	_line,4,2                       ; @line
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_ZEND_FFI_ATTR_UNION,4,2        ; @ZEND_FFI_ATTR_UNION
	.comm	_ZEND_FFI_ATTR_INCOMPLETE_ARRAY,4,2 ; @ZEND_FFI_ATTR_INCOMPLETE_ARRAY
l_.str.1:                               ; @.str.1
	.asciz	"flexible array member in union at line %d"

	.no_dead_strip	_zend_ffi_validate_field_type
.subsections_via_symbols
