	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_SpawnDoorRaiseIn5Mins        ## -- Begin function P_SpawnDoorRaiseIn5Mins
	.p2align	4, 0x90
_P_SpawnDoorRaiseIn5Mins:               ## @P_SpawnDoorRaiseIn5Mins
	.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
	movq	%rdi, %r14
	movq	_PU_LEVSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	xorl	%edx, %edx
	callq	_Z_Malloc
	movq	%rax, %rbx
	leaq	32(%rax), %rdi
	callq	_P_AddThinker
	movq	%rbx, 8(%r14)
	movq	$0, (%r14)
	movq	_T_VerticalDoor@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	%r14, 24(%rbx)
	movl	$2, (%rbx)
	movq	_raiseIn5Mins@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_VDOORSPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	callq	_P_FindLowestCeilingSurrounding
	movq	_FRACUNIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$2, %ecx
	subl	%ecx, %eax
	movl	%eax, 4(%rbx)
	movq	_VDOORWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$10500, 8(%rbx)                 ## imm = 0x2904
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PU_LEVSPEC,4,2                 ## @PU_LEVSPEC
	.comm	_T_VerticalDoor,8,3             ## @T_VerticalDoor
	.comm	_raiseIn5Mins,4,2               ## @raiseIn5Mins
	.comm	_VDOORSPEED,4,2                 ## @VDOORSPEED
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_VDOORWAIT,4,2                  ## @VDOORWAIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_SpawnDoorRaiseIn5Mins        ; -- Begin function P_SpawnDoorRaiseIn5Mins
	.p2align	2
_P_SpawnDoorRaiseIn5Mins:               ; @P_SpawnDoorRaiseIn5Mins
	.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
Lloh0:
	adrp	x8, _PU_LEVSPEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PU_LEVSPEC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	mov	w2, #0
	bl	_Z_Malloc
	mov	x20, x0
	add	x0, x0, #32
	bl	_P_AddThinker
	stp	xzr, x20, [x19]
Lloh3:
	adrp	x8, _T_VerticalDoor@GOTPAGE
Lloh4:
	ldr	x8, [x8, _T_VerticalDoor@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x19, x8, [x20, #24]
	mov	w8, #2
	str	w8, [x20]
Lloh6:
	adrp	x8, _raiseIn5Mins@GOTPAGE
Lloh7:
	ldr	x8, [x8, _raiseIn5Mins@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _VDOORSPEED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VDOORSPEED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
	mov	x0, x19
	bl	_P_FindLowestCeilingSurrounding
Lloh12:
	adrp	x8, _FRACUNIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FRACUNIT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _VDOORWAIT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VDOORWAIT@GOTPAGEOFF]
	sub	w8, w0, w8, lsl #2
Lloh17:
	ldr	w10, [x9]
	mov	w9, #10500
	str	w8, [x20, #4]
	stp	w9, w10, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PU_LEVSPEC,4,2                 ; @PU_LEVSPEC
	.comm	_T_VerticalDoor,8,3             ; @T_VerticalDoor
	.comm	_raiseIn5Mins,4,2               ; @raiseIn5Mins
	.comm	_VDOORSPEED,4,2                 ; @VDOORSPEED
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_VDOORWAIT,4,2                  ; @VDOORWAIT
.subsections_via_symbols
