	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EV_DoLockedDoor                ## -- Begin function EV_DoLockedDoor
	.p2align	4, 0x90
_EV_DoLockedDoor:                       ## @EV_DoLockedDoor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movl	(%rdi), %ecx
	addl	$-99, %ecx
	cmpl	$38, %ecx
	ja	LBB0_16
## %bb.2:
	movabsq	$17179869185, %rdx              ## imm = 0x400000001
	btq	%rcx, %rdx
	jb	LBB0_8
## %bb.3:
	movabsq	$103079215104, %rdx             ## imm = 0x1800000000
	btq	%rcx, %rdx
	jb	LBB0_13
## %bb.4:
	movabsq	$412316860416, %rdx             ## imm = 0x6000000000
	btq	%rcx, %rdx
	jae	LBB0_16
## %bb.5:
	movq	8(%rax), %rcx
	movq	_it_yellowcard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_16
## %bb.6:
	movq	_it_yellowskull@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_16
## %bb.7:
	movq	_PD_YELLOWO@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_8:
	movq	8(%rax), %rcx
	movq	_it_bluecard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_16
## %bb.9:
	movq	_it_blueskull@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_16
## %bb.10:
	movq	_PD_BLUEO@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_13:
	movq	8(%rax), %rcx
	movq	_it_redcard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_16
## %bb.14:
	movq	_it_redskull@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_15
LBB0_16:
	popq	%rbp
	jmp	_EV_DoDoor                      ## TAILCALL
LBB0_15:
	movq	_PD_REDO@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_sfx_oof@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_S_StartSound
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_it_bluecard,8,3                ## @it_bluecard
	.comm	_it_blueskull,8,3               ## @it_blueskull
	.comm	_PD_BLUEO,4,2                   ## @PD_BLUEO
	.comm	_sfx_oof,4,2                    ## @sfx_oof
	.comm	_it_redcard,8,3                 ## @it_redcard
	.comm	_it_redskull,8,3                ## @it_redskull
	.comm	_PD_REDO,4,2                    ## @PD_REDO
	.comm	_it_yellowcard,8,3              ## @it_yellowcard
	.comm	_it_yellowskull,8,3             ## @it_yellowskull
	.comm	_PD_YELLOWO,4,2                 ## @PD_YELLOWO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EV_DoLockedDoor                ; -- Begin function EV_DoLockedDoor
	.p2align	2
_EV_DoLockedDoor:                       ; @EV_DoLockedDoor
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x2]
	cbz	x8, LBB0_16
; %bb.1:
	ldr	w9, [x0]
	sub	w9, w9, #99
	cmp	w9, #38
	b.hi	LBB0_13
; %bb.2:
	mov	w10, #1
	lsl	x10, x10, x9
	mov	x11, #1
	movk	x11, #4, lsl #32
	tst	x10, x11
	b.ne	LBB0_8
; %bb.3:
	mov	w10, #1
	lsl	x10, x10, x9
	tst	x10, #0x1800000000
	b.ne	LBB0_11
; %bb.4:
	mov	w10, #1
	lsl	x9, x10, x9
	tst	x9, #0x6000000000
	b.eq	LBB0_13
; %bb.5:
	ldr	x9, [x8, #8]
Lloh0:
	adrp	x10, _it_yellowcard@GOTPAGE
Lloh1:
	ldr	x10, [x10, _it_yellowcard@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
	cbnz	w10, LBB0_13
; %bb.6:
Lloh3:
	adrp	x10, _it_yellowskull@GOTPAGE
Lloh4:
	ldr	x10, [x10, _it_yellowskull@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	cbnz	w9, LBB0_13
; %bb.7:
Lloh6:
	adrp	x9, _PD_YELLOWO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PD_YELLOWO@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
	ldr	x9, [x8, #8]
Lloh8:
	adrp	x10, _it_bluecard@GOTPAGE
Lloh9:
	ldr	x10, [x10, _it_bluecard@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
	cbnz	w10, LBB0_13
; %bb.9:
Lloh11:
	adrp	x10, _it_blueskull@GOTPAGE
Lloh12:
	ldr	x10, [x10, _it_blueskull@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	cbnz	w9, LBB0_13
; %bb.10:
Lloh14:
	adrp	x9, _PD_BLUEO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PD_BLUEO@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
	ldr	x9, [x8, #8]
Lloh16:
	adrp	x10, _it_redcard@GOTPAGE
Lloh17:
	ldr	x10, [x10, _it_redcard@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
	cbnz	w10, LBB0_13
; %bb.12:
Lloh19:
	adrp	x10, _it_redskull@GOTPAGE
Lloh20:
	ldr	x10, [x10, _it_redskull@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	cbz	w9, LBB0_14
LBB0_13:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_EV_DoDoor
LBB0_14:
Lloh22:
	adrp	x9, _PD_REDO@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PD_REDO@GOTPAGEOFF]
LBB0_15:
	ldr	w9, [x9]
	str	w9, [x8]
Lloh24:
	adrp	x8, _sfx_oof@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sfx_oof@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_S_StartSound
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_it_bluecard,8,3                ; @it_bluecard
	.comm	_it_blueskull,8,3               ; @it_blueskull
	.comm	_PD_BLUEO,4,2                   ; @PD_BLUEO
	.comm	_sfx_oof,4,2                    ; @sfx_oof
	.comm	_it_redcard,8,3                 ; @it_redcard
	.comm	_it_redskull,8,3                ; @it_redskull
	.comm	_PD_REDO,4,2                    ; @PD_REDO
	.comm	_it_yellowcard,8,3              ; @it_yellowcard
	.comm	_it_yellowskull,8,3             ; @it_yellowskull
	.comm	_PD_YELLOWO,4,2                 ; @PD_YELLOWO
.subsections_via_symbols
