	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mce_end
_mce_end:                               ## @mce_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_monarch_timeout@GOTPCREL(%rip), %rcx
	movq	_NSEC_PER_USEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	(%rcx), %eax
	movl	%eax, -44(%rbp)
	testl	%edi, %edi
	js	LBB0_15
## %bb.1:
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	movl	%edi, %ebx
	movq	_mce_executing@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
	cmpl	$1, %ebx
	jne	LBB0_10
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%eax, %ebx
	movq	_mce_executing@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	cmpl	%ebx, %eax
	jg	LBB0_7
## %bb.4:
	leaq	-44(%rbp), %r15
	movq	_SPINUNIT@GOTPCREL(%rip), %r13
	movq	_mce_executing@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_mce_timed_out
	testq	%rax, %rax
	jne	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %edi
	callq	_ndelay
	movq	%r12, %rdi
	callq	_atomic_read
	cmpl	%ebx, %eax
	jle	LBB0_5
LBB0_7:
	xorl	%eax, %eax
	callq	_mce_reign
	xorl	%eax, %eax
	callq	_barrier
	jmp	LBB0_16
LBB0_10:
	movq	_mce_executing@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_17
## %bb.11:
	leaq	-44(%rbp), %r15
	movq	_SPINUNIT@GOTPCREL(%rip), %r12
	movq	_mce_executing@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_mce_timed_out
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r12), %edi
	callq	_ndelay
	movq	%rbx, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_17
LBB0_15:
	movl	$-1, %r14d
LBB0_16:
	movq	_global_nwo@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	_mce_callin@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	xorl	%eax, %eax
	callq	_barrier
	movq	_mce_executing@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_monarch_timeout,8,3            ## @monarch_timeout
	.comm	_NSEC_PER_USEC,4,2              ## @NSEC_PER_USEC
	.comm	_mce_executing,4,2              ## @mce_executing
	.comm	_SPINUNIT,4,2                   ## @SPINUNIT
	.comm	_global_nwo,4,2                 ## @global_nwo
	.comm	_mce_callin,4,2                 ## @mce_callin
	.no_dead_strip	_mce_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mce_end
_mce_end:                               ; @mce_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _monarch_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _monarch_timeout@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NSEC_PER_USEC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NSEC_PER_USEC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w8, w9, w8
	str	w8, [sp, #12]
	mov	w19, #-1
	tbnz	w0, #31, LBB0_14
; %bb.1:
	cbz	w8, LBB0_14
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x0, _mce_executing@GOTPAGE
Lloh7:
	ldr	x0, [x0, _mce_executing@GOTPAGEOFF]
	bl	_atomic_inc
	cmp	w20, #1
	b.ne	LBB0_8
; %bb.3:
	bl	_num_online_cpus
	mov	x19, x0
Lloh8:
	adrp	x0, _mce_executing@GOTPAGE
Lloh9:
	ldr	x0, [x0, _mce_executing@GOTPAGEOFF]
	bl	_atomic_read
	cmp	w0, w19
	b.gt	LBB0_7
; %bb.4:
Lloh10:
	adrp	x21, _SPINUNIT@GOTPAGE
Lloh11:
	ldr	x21, [x21, _SPINUNIT@GOTPAGEOFF]
Lloh12:
	adrp	x20, _mce_executing@GOTPAGE
Lloh13:
	ldr	x20, [x20, _mce_executing@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_mce_timed_out
	cbnz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	bl	_ndelay
	mov	x0, x20
	bl	_atomic_read
	cmp	w0, w19
	b.le	LBB0_5
LBB0_7:
	bl	_mce_reign
	bl	_barrier
	mov	w19, #0
	b	LBB0_14
LBB0_8:
Lloh14:
	adrp	x0, _mce_executing@GOTPAGE
Lloh15:
	ldr	x0, [x0, _mce_executing@GOTPAGEOFF]
	bl	_atomic_read
	cbz	w0, LBB0_12
; %bb.9:
Lloh16:
	adrp	x20, _SPINUNIT@GOTPAGE
Lloh17:
	ldr	x20, [x20, _SPINUNIT@GOTPAGEOFF]
Lloh18:
	adrp	x19, _mce_executing@GOTPAGE
Lloh19:
	ldr	x19, [x19, _mce_executing@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_mce_timed_out
	cbnz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x20]
	bl	_ndelay
	mov	x0, x19
	bl	_atomic_read
	cbnz	w0, LBB0_10
LBB0_12:
	mov	w19, #0
	b	LBB0_15
LBB0_13:
	mov	w19, #-1
LBB0_14:
Lloh20:
	adrp	x0, _global_nwo@GOTPAGE
Lloh21:
	ldr	x0, [x0, _global_nwo@GOTPAGEOFF]
	mov	w1, #0
	bl	_atomic_set
Lloh22:
	adrp	x0, _mce_callin@GOTPAGE
Lloh23:
	ldr	x0, [x0, _mce_callin@GOTPAGEOFF]
	mov	w1, #0
	bl	_atomic_set
	bl	_barrier
Lloh24:
	adrp	x0, _mce_executing@GOTPAGE
Lloh25:
	ldr	x0, [x0, _mce_executing@GOTPAGEOFF]
	mov	w1, #0
	bl	_atomic_set
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_monarch_timeout,8,3            ; @monarch_timeout
	.comm	_NSEC_PER_USEC,4,2              ; @NSEC_PER_USEC
	.comm	_mce_executing,4,2              ; @mce_executing
	.comm	_SPINUNIT,4,2                   ; @SPINUNIT
	.comm	_global_nwo,4,2                 ; @global_nwo
	.comm	_mce_callin,4,2                 ; @mce_callin
	.no_dead_strip	_mce_end
.subsections_via_symbols
