	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function monitor_resume
_monitor_resume:                        ## @monitor_resume
	.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
	movl	%esi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_monitor_debug
	movq	_current_monitor@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_MO_RUN_FIRST_TIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_first_time@GOTPCREL(%rip), %rcx
	cmpl	$1, (%rcx)
	jne	LBB0_3
## %bb.2:
	movl	$0, (%rcx)
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	callq	_monitor_printf
LBB0_8:
	movq	(%r14), %rax
	movq	_MO_NEED_REGDUMP_AFTER_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_dump_reg_flag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.11:
	movq	8(%rax), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_monitor_printf                 ## TAILCALL
LBB0_4:
	movq	24(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	*%rcx
	jmp	LBB0_8
LBB0_6:
	movq	16(%rax), %rdi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MON resume\n"

	.comm	_current_monitor,8,3            ## @current_monitor
	.comm	_MO_RUN_FIRST_TIME,4,2          ## @MO_RUN_FIRST_TIME
	.comm	_first_time,4,2                 ## @first_time
L_.str.1:                               ## @.str.1
	.asciz	"run\r"

	.comm	_MO_NEED_REGDUMP_AFTER_CONT,4,2 ## @MO_NEED_REGDUMP_AFTER_CONT
	.comm	_dump_reg_flag,4,2              ## @dump_reg_flag
	.no_dead_strip	_monitor_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function monitor_resume
_monitor_resume:                        ; @monitor_resume
	.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, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_monitor_debug
Lloh2:
	adrp	x20, _current_monitor@GOTPAGE
Lloh3:
	ldr	x20, [x20, _current_monitor@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w9, [x8]
Lloh4:
	adrp	x10, _MO_RUN_FIRST_TIME@GOTPAGE
Lloh5:
	ldr	x10, [x10, _MO_RUN_FIRST_TIME@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	and	w10, w10, w9
Lloh7:
	adrp	x9, _first_time@GOTPAGE
Lloh8:
	ldr	x9, [x9, _first_time@GOTPAGEOFF]
	ldr	w11, [x9]
	cmp	w10, #0
	ccmp	w11, #1, #0, ne
	b.eq	LBB0_3
; %bb.1:
	cbz	w19, LBB0_8
; %bb.2:
	ldr	x0, [x8, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_monitor_printf
LBB0_3:
	str	wzr, [x9]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_4:
	bl	_monitor_printf
LBB0_5:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _MO_NEED_REGDUMP_AFTER_CONT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MO_NEED_REGDUMP_AFTER_CONT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _dump_reg_flag@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dump_reg_flag@GOTPAGEOFF]
	mov	w9, #1
Lloh16:
	str	w9, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_10
; %bb.9:
	blr	x9
	b	LBB0_5
LBB0_10:
	ldr	x0, [x8, #16]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MON resume\n"

	.comm	_current_monitor,8,3            ; @current_monitor
	.comm	_MO_RUN_FIRST_TIME,4,2          ; @MO_RUN_FIRST_TIME
	.comm	_first_time,4,2                 ; @first_time
l_.str.1:                               ; @.str.1
	.asciz	"run\r"

	.comm	_MO_NEED_REGDUMP_AFTER_CONT,4,2 ; @MO_NEED_REGDUMP_AFTER_CONT
	.comm	_dump_reg_flag,4,2              ; @dump_reg_flag
	.no_dead_strip	_monitor_resume
.subsections_via_symbols
