	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCheckAir                    ## -- Begin function BotCheckAir
	.p2align	4, 0x90
_BotCheckAir:                           ## @BotCheckAir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_INVENTORY_ENVIRONMENTSUIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jg	LBB0_2
## %bb.1:
	movl	12(%rbx), %edi
	callq	_trap_AAS_PointContents
	movq	_CONTENTS_WATER@GOTPCREL(%rip), %rcx
	movq	_CONTENTS_SLIME@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_CONTENTS_LAVA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, 8(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVENTORY_ENVIRONMENTSUIT,8,3  ## @INVENTORY_ENVIRONMENTSUIT
	.comm	_CONTENTS_WATER,4,2             ## @CONTENTS_WATER
	.comm	_CONTENTS_SLIME,4,2             ## @CONTENTS_SLIME
	.comm	_CONTENTS_LAVA,4,2              ## @CONTENTS_LAVA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCheckAir                    ; -- Begin function BotCheckAir
	.p2align	2
_BotCheckAir:                           ; @BotCheckAir
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _INVENTORY_ENVIRONMENTSUIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INVENTORY_ENVIRONMENTSUIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #0
	b.gt	LBB0_2
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_trap_AAS_PointContents
Lloh3:
	adrp	x8, _CONTENTS_WATER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONTENTS_WATER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CONTENTS_SLIME@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CONTENTS_SLIME@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _CONTENTS_LAVA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CONTENTS_LAVA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w0
	b.ne	LBB0_3
LBB0_2:
	bl	_FloatTime
	str	w0, [x19, #8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INVENTORY_ENVIRONMENTSUIT,8,3  ; @INVENTORY_ENVIRONMENTSUIT
	.comm	_CONTENTS_WATER,4,2             ; @CONTENTS_WATER
	.comm	_CONTENTS_SLIME,4,2             ; @CONTENTS_SLIME
	.comm	_CONTENTS_LAVA,4,2              ; @CONTENTS_LAVA
.subsections_via_symbols
