	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_ValidateTypeData          ## -- Begin function Item_ValidateTypeData
	.p2align	4, 0x90
_Item_ValidateTypeData:                 ## @Item_ValidateTypeData
	.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	$0, 8(%rdi)
	je	LBB0_1
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_ITEM_TYPE_LISTBOX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.15:
	movl	$4, %edi
	callq	_UI_Alloc
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_2:
	movq	_ITEM_TYPE_EDITFIELD@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_8
## %bb.3:
	movq	_ITEM_TYPE_NUMERICFIELD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:
	movq	_ITEM_TYPE_YESNO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.5:
	movq	_ITEM_TYPE_BIND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_ITEM_TYPE_SLIDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_ITEM_TYPE_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.11:
	movq	_ITEM_TYPE_MULTI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:
	movq	_ITEM_TYPE_MODEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_13:
	movl	$4, %edi
	callq	_UI_Alloc
	movq	%rax, 8(%rbx)
	jmp	LBB0_14
LBB0_8:
	movl	$8, %edi
	callq	_UI_Alloc
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_14
## %bb.9:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_14
## %bb.10:
	movq	_MAX_EDITFIELD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ITEM_TYPE_LISTBOX,8,3          ## @ITEM_TYPE_LISTBOX
	.comm	_ITEM_TYPE_EDITFIELD,8,3        ## @ITEM_TYPE_EDITFIELD
	.comm	_ITEM_TYPE_NUMERICFIELD,8,3     ## @ITEM_TYPE_NUMERICFIELD
	.comm	_ITEM_TYPE_YESNO,8,3            ## @ITEM_TYPE_YESNO
	.comm	_ITEM_TYPE_BIND,8,3             ## @ITEM_TYPE_BIND
	.comm	_ITEM_TYPE_SLIDER,8,3           ## @ITEM_TYPE_SLIDER
	.comm	_ITEM_TYPE_TEXT,8,3             ## @ITEM_TYPE_TEXT
	.comm	_MAX_EDITFIELD,8,3              ## @MAX_EDITFIELD
	.comm	_ITEM_TYPE_MULTI,8,3            ## @ITEM_TYPE_MULTI
	.comm	_ITEM_TYPE_MODEL,8,3            ## @ITEM_TYPE_MODEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_ValidateTypeData          ; -- Begin function Item_ValidateTypeData
	.p2align	2
_Item_ValidateTypeData:                 ; @Item_ValidateTypeData
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ITEM_TYPE_LISTBOX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ITEM_TYPE_LISTBOX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #4
	bl	_UI_Alloc
	str	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
LBB0_4:
Lloh3:
	adrp	x20, _ITEM_TYPE_EDITFIELD@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ITEM_TYPE_EDITFIELD@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh5:
	adrp	x10, _ITEM_TYPE_NUMERICFIELD@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ITEM_TYPE_NUMERICFIELD@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _ITEM_TYPE_YESNO@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ITEM_TYPE_YESNO@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	adrp	x12, _ITEM_TYPE_BIND@GOTPAGE
Lloh12:
	ldr	x12, [x12, _ITEM_TYPE_BIND@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
Lloh14:
	adrp	x13, _ITEM_TYPE_SLIDER@GOTPAGE
Lloh15:
	ldr	x13, [x13, _ITEM_TYPE_SLIDER@GOTPAGEOFF]
Lloh16:
	ldr	x13, [x13]
Lloh17:
	adrp	x14, _ITEM_TYPE_TEXT@GOTPAGE
Lloh18:
	ldr	x14, [x14, _ITEM_TYPE_TEXT@GOTPAGEOFF]
Lloh19:
	ldr	x14, [x14]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	ccmp	x8, x13, #4, ne
	ccmp	x8, x14, #4, ne
	b.ne	LBB0_8
; %bb.5:
	mov	w0, #8
	bl	_UI_Alloc
	str	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cbnz	x9, LBB0_1
; %bb.7:
Lloh20:
	adrp	x9, _MAX_EDITFIELD@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MAX_EDITFIELD@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	str	x9, [x8]
	b	LBB0_1
LBB0_8:
Lloh23:
	adrp	x9, _ITEM_TYPE_MULTI@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ITEM_TYPE_MULTI@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
Lloh26:
	adrp	x9, _ITEM_TYPE_MODEL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ITEM_TYPE_MODEL@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
LBB0_10:
	mov	w0, #4
	bl	_UI_Alloc
	str	x0, [x19, #8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ITEM_TYPE_LISTBOX,8,3          ; @ITEM_TYPE_LISTBOX
	.comm	_ITEM_TYPE_EDITFIELD,8,3        ; @ITEM_TYPE_EDITFIELD
	.comm	_ITEM_TYPE_NUMERICFIELD,8,3     ; @ITEM_TYPE_NUMERICFIELD
	.comm	_ITEM_TYPE_YESNO,8,3            ; @ITEM_TYPE_YESNO
	.comm	_ITEM_TYPE_BIND,8,3             ; @ITEM_TYPE_BIND
	.comm	_ITEM_TYPE_SLIDER,8,3           ; @ITEM_TYPE_SLIDER
	.comm	_ITEM_TYPE_TEXT,8,3             ; @ITEM_TYPE_TEXT
	.comm	_MAX_EDITFIELD,8,3              ; @MAX_EDITFIELD
	.comm	_ITEM_TYPE_MULTI,8,3            ; @ITEM_TYPE_MULTI
	.comm	_ITEM_TYPE_MODEL,8,3            ; @ITEM_TYPE_MODEL
.subsections_via_symbols
