	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___exception_closeall           ## -- Begin function __exception_closeall
	.p2align	4, 0x90
___exception_closeall:                  ## @__exception_closeall
	.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
	xorl	%eax, %eax
	callq	_mfmsr
	movq	_MSR_EE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	callq	_mtmsr
	xorl	%eax, %eax
	callq	_mfmsr
	movq	_MSR_FP@GOTPCREL(%rip), %rcx
	movq	_MSR_RI@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	%eax, %edi
	callq	_mtmsr
	movq	_NUM_EXCEPTIONS@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	___exception_close
	incq	%rbx
	cmpq	(%r14), %rbx
	jl	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_EE,4,2                     ## @MSR_EE
	.comm	_MSR_FP,4,2                     ## @MSR_FP
	.comm	_MSR_RI,4,2                     ## @MSR_RI
	.comm	_NUM_EXCEPTIONS,8,3             ## @NUM_EXCEPTIONS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___exception_closeall           ; -- Begin function __exception_closeall
	.p2align	2
___exception_closeall:                  ; @__exception_closeall
	.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
	bl	_mfmsr
Lloh0:
	adrp	x8, _MSR_EE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSR_EE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w0, w0, w8
	bl	_mtmsr
	bl	_mfmsr
Lloh3:
	adrp	x8, _MSR_FP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSR_FP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MSR_RI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MSR_RI@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w0, w8, w9
	bl	_mtmsr
Lloh9:
	adrp	x20, _NUM_EXCEPTIONS@GOTPAGE
Lloh10:
	ldr	x20, [x20, _NUM_EXCEPTIONS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	___exception_close
	add	x19, x19, #1
	ldr	x8, [x20]
	cmp	x19, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_EE,4,2                     ; @MSR_EE
	.comm	_MSR_FP,4,2                     ; @MSR_FP
	.comm	_MSR_RI,4,2                     ; @MSR_RI
	.comm	_NUM_EXCEPTIONS,8,3             ; @NUM_EXCEPTIONS
.subsections_via_symbols
