	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_explicit_exit_notification_timer_wakeup ## -- Begin function process_explicit_exit_notification_timer_wakeup
	.p2align	4, 0x90
_process_explicit_exit_notification_timer_wakeup: ## @process_explicit_exit_notification_timer_wakeup
	.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, %rbx
	leaq	12(%rdi), %r14
	leaq	16(%rdi), %rsi
	movq	_ETT_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_event_timeout_trigger
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	setne	%dil
	jmp	LBB0_4
LBB0_2:
	xorl	%edi, %edi
LBB0_4:
	callq	_ASSERT
	movq	_now@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rcx
	addq	(%rbx), %rcx
	cmpq	%rcx, (%rax)
	jge	LBB0_5
## %bb.6:
	movq	_OCC_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_7
LBB0_5:
	movq	%r14, %rdi
	callq	_event_timeout_clear
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%rbx), %rcx
	movl	%eax, 8(%rcx)
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rcx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETT_DEFAULT,4,2                ## @ETT_DEFAULT
	.comm	_now,8,3                        ## @now
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"exit-with-notification"

	.comm	_OCC_EXIT,4,2                   ## @OCC_EXIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_explicit_exit_notification_timer_wakeup ; -- Begin function process_explicit_exit_notification_timer_wakeup
	.p2align	2
_process_explicit_exit_notification_timer_wakeup: ; @process_explicit_exit_notification_timer_wakeup
	.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
	add	x20, x0, #12
	add	x1, x0, #16
Lloh0:
	adrp	x8, _ETT_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETT_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_event_timeout_trigger
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	bl	_ASSERT
Lloh3:
	adrp	x8, _now@GOTPAGE
Lloh4:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x10, [x19, #32]
	add	x9, x10, x9
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _OCC_EXIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCC_EXIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_event_timeout_clear
Lloh9:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x19, #24]
	str	w8, [x9, #8]
Lloh12:
	adrp	x8, l_.str@PAGE
Lloh13:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x9]
LBB0_7:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETT_DEFAULT,4,2                ; @ETT_DEFAULT
	.comm	_now,8,3                        ; @now
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"exit-with-notification"

	.comm	_OCC_EXIT,4,2                   ; @OCC_EXIT
.subsections_via_symbols
