	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_T_VerticalDoor                 ## -- Begin function T_VerticalDoor
	.p2align	4, 0x90
_T_VerticalDoor:                        ## @T_VerticalDoor
	.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
	movl	(%rdi), %eax
	incl	%eax
	cmpl	$3, %eax
	ja	LBB0_29
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movq	24(%rbx), %rdi
	movl	36(%rbx), %esi
	movl	12(%rdi), %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$-1, %r9d
	callq	_T_MovePlane
	movq	_pastdest@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.16:
	movl	$-130, %eax
	addl	8(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_29
## %bb.17:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:
	movq	24(%rbx), %rax
	movq	$0, (%rax)
	leaq	16(%rbx), %rdi
	callq	_P_RemoveThinker
	jmp	LBB0_7
LBB0_22:
	movq	24(%rbx), %rdi
	movl	36(%rbx), %esi
	movl	32(%rbx), %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_T_MovePlane
	movq	_pastdest@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.23:
	movl	$-129, %eax
	addl	8(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_29
## %bb.24:
	movl	$37, %ecx
	btl	%eax, %ecx
	jae	LBB0_25
LBB0_27:
	movq	24(%rbx), %rax
	movq	$0, (%rax)
	addq	$16, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_P_RemoveThinker                ## TAILCALL
LBB0_2:
	decl	4(%rbx)
	jne	LBB0_29
## %bb.3:
	movl	8(%rbx), %eax
	cmpl	$130, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$131, %eax
	je	LBB0_10
## %bb.5:
	cmpl	$133, %eax
	jne	LBB0_29
## %bb.6:
	movl	$-1, (%rbx)
LBB0_7:
	movq	24(%rbx), %rdi
	addq	$8, %rdi
	movq	_sfx_bdcls@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	decl	4(%rbx)
	jne	LBB0_29
## %bb.13:
	cmpl	$128, 8(%rbx)
	jne	LBB0_29
## %bb.14:
	movl	$1, (%rbx)
	movl	$130, 8(%rbx)
	jmp	LBB0_11
LBB0_19:
	movq	_crushed@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.20:
	movl	8(%rbx), %eax
	cmpl	$132, %eax
	je	LBB0_29
## %bb.21:
	cmpl	$135, %eax
	je	LBB0_29
LBB0_10:
	movl	$1, (%rbx)
LBB0_11:
	movq	24(%rbx), %rdi
	addq	$8, %rdi
	movq	_sfx_doropn@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_25:
	movl	$18, %ecx
	btl	%eax, %ecx
	jae	LBB0_29
## %bb.26:
	movl	$0, (%rbx)
	movl	12(%rbx), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_29
LBB0_28:
	movabsq	$4509715660800, %rax            ## imm = 0x41A00000000
	movq	%rax, (%rbx)
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movl	$-1, (%rbx)
	movq	24(%rbx), %rdi
	addq	$8, %rdi
	movq	_sfx_dorcls@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_S_StartSound                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_2
	.long	L0_0_set_22
	.long	L0_0_set_12
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
LJTI0_1:
	.long	L0_1_set_27
	.long	L0_1_set_28
	.long	L0_1_set_27
	.long	L0_1_set_18
	.long	L0_1_set_29
	.long	L0_1_set_18
	.end_data_region
                                        ## -- End function
	.comm	_sfx_bdcls,4,2                  ## @sfx_bdcls
	.comm	_sfx_dorcls,4,2                 ## @sfx_dorcls
	.comm	_sfx_doropn,4,2                 ## @sfx_doropn
	.comm	_pastdest,4,2                   ## @pastdest
	.comm	_crushed,4,2                    ## @crushed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function T_VerticalDoor
lCPI0_0:
	.long	0                               ; 0x0
	.long	1050                            ; 0x41a
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_T_VerticalDoor
	.p2align	2
_T_VerticalDoor:                        ; @T_VerticalDoor
	.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	w8, [x0]
	add	w8, w8, #1
	cmp	w8, #3
	b.hi	LBB0_27
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #36]
	ldr	w2, [x0, #12]
	mov	w3, #0
	mov	w4, #1
	mov	w5, #-1
	bl	_T_MovePlane
Lloh2:
	adrp	x8, _pastdest@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pastdest@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.3:
	ldr	w8, [x19, #8]
	sub	w8, w8, #130
	cmp	w8, #5
	b.hi	LBB0_27
; %bb.4:
Lloh5:
	adrp	x9, lJTI0_1@PAGE
Lloh6:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x8, [x19, #24]
	str	xzr, [x8]
	add	x0, x19, #16
	bl	_P_RemoveThinker
	b	LBB0_15
LBB0_6:
	ldr	x0, [x19, #24]
	ldp	w2, w1, [x19, #32]
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_T_MovePlane
Lloh7:
	adrp	x8, _pastdest@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pastdest@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.7:
	ldr	w8, [x19, #8]
	sub	w8, w8, #129
	cmp	w8, #5
	b.hi	LBB0_27
; %bb.8:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #37
	tst	w8, w9
	b.eq	LBB0_24
LBB0_9:
	ldr	x8, [x19, #24]
	str	xzr, [x8]
	add	x0, x19, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_P_RemoveThinker
LBB0_10:
	ldr	w8, [x19, #4]
	subs	w8, w8, #1
	str	w8, [x19, #4]
	b.ne	LBB0_27
; %bb.11:
	ldr	w8, [x19, #8]
	cmp	w8, #130
	b.eq	LBB0_28
; %bb.12:
	cmp	w8, #131
	b.eq	LBB0_22
; %bb.13:
	cmp	w8, #133
	b.ne	LBB0_27
; %bb.14:
	mov	w8, #-1
	str	w8, [x19]
LBB0_15:
	ldr	x8, [x19, #24]
	add	x0, x8, #8
Lloh10:
	adrp	x8, _sfx_bdcls@GOTPAGE
Lloh11:
	ldr	x8, [x8, _sfx_bdcls@GOTPAGEOFF]
	b	LBB0_29
LBB0_16:
	ldr	w8, [x19, #4]
	subs	w8, w8, #1
	str	w8, [x19, #4]
	b.ne	LBB0_27
; %bb.17:
	ldr	w8, [x19, #8]
	cmp	w8, #128
	b.ne	LBB0_27
; %bb.18:
	mov	w8, #1
	str	w8, [x19]
	mov	w8, #130
	str	w8, [x19, #8]
	b	LBB0_23
LBB0_19:
Lloh12:
	adrp	x8, _crushed@GOTPAGE
Lloh13:
	ldr	x8, [x8, _crushed@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.20:
	ldr	w8, [x19, #8]
	cmp	w8, #132
	b.eq	LBB0_27
; %bb.21:
	cmp	w8, #135
	b.eq	LBB0_27
LBB0_22:
	mov	w8, #1
	str	w8, [x19]
LBB0_23:
	ldr	x8, [x19, #24]
	add	x0, x8, #8
Lloh15:
	adrp	x8, _sfx_doropn@GOTPAGE
Lloh16:
	ldr	x8, [x8, _sfx_doropn@GOTPAGEOFF]
	b	LBB0_29
LBB0_24:
	mov	w9, #18
	tst	w8, w9
	b.eq	LBB0_27
; %bb.25:
	ldr	w8, [x19, #12]
	stp	wzr, w8, [x19]
	b	LBB0_27
LBB0_26:
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
LBB0_27:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_28:
	mov	w8, #-1
	str	w8, [x19]
	ldr	x8, [x19, #24]
	add	x0, x8, #8
Lloh19:
	adrp	x8, _sfx_dorcls@GOTPAGE
Lloh20:
	ldr	x8, [x8, _sfx_dorcls@GOTPAGEOFF]
LBB0_29:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_S_StartSound
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_26-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_27-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
                                        ; -- End function
	.comm	_sfx_bdcls,4,2                  ; @sfx_bdcls
	.comm	_sfx_dorcls,4,2                 ; @sfx_dorcls
	.comm	_sfx_doropn,4,2                 ; @sfx_doropn
	.comm	_pastdest,4,2                   ; @pastdest
	.comm	_crushed,4,2                    ; @crushed
.subsections_via_symbols
