	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Characteristic_Integer         ## -- Begin function Characteristic_Integer
	.p2align	4, 0x90
_Characteristic_Integer:                ## @Characteristic_Integer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_BotCharacterFromHandle
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r12
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_CheckCharacteristicIndex
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	(%r12), %rax
	movslq	%r15d, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	_CT_INTEGER@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.3:
	movl	8(%rax,%rcx,8), %r14d
	jmp	LBB0_7
LBB0_4:
	movq	_CT_FLOAT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_6
## %bb.5:
	movl	16(%rax,%rcx,8), %r14d
	jmp	LBB0_7
LBB0_6:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	*(%rax)
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CT_INTEGER,8,3                 ## @CT_INTEGER
	.comm	_CT_FLOAT,8,3                   ## @CT_FLOAT
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_ERROR,4,2                  ## @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"characteristic %d is not a integer\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Characteristic_Integer         ; -- Begin function Characteristic_Integer
	.p2align	2
_Characteristic_Integer:                ; @Characteristic_Integer
	.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, x1
	mov	x21, x0
	bl	_BotCharacterFromHandle
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_CheckCharacteristicIndex
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x8, [x20]
	sxtw	x9, w19
	mov	w10, #24
	smull	x10, w19, w10
	ldr	x10, [x8, x10]
Lloh0:
	adrp	x11, _CT_INTEGER@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CT_INTEGER@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.3:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	w0, [x8, #8]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x11, _CT_FLOAT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _CT_FLOAT@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.5:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	w0, [x8, #16]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _botimport@GOTPAGE
Lloh7:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	blr	x8
	mov	w0, #0
LBB0_7:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CT_INTEGER,8,3                 ; @CT_INTEGER
	.comm	_CT_FLOAT,8,3                   ; @CT_FLOAT
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_ERROR,4,2                  ; @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"characteristic %d is not a integer\n"

.subsections_via_symbols
