	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_os_exceptions            ## -- Begin function setup_os_exceptions
	.p2align	4, 0x90
_setup_os_exceptions:                   ## @setup_os_exceptions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_malloc
	movq	_exception_msgbuf@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_OS_EXCEPTION_TYPE_DSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_exception_dsi_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OSSetExceptionCallback
	movq	_OS_EXCEPTION_TYPE_ISI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_exception_isi_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OSSetExceptionCallback
	movq	_OS_EXCEPTION_TYPE_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_exception_prog_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OSSetExceptionCallback
	xorl	%eax, %eax
	popq	%rbp
	jmp	_test_os_exceptions             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_exception_msgbuf,4,2           ## @exception_msgbuf
	.comm	_OS_EXCEPTION_TYPE_DSI,4,2      ## @OS_EXCEPTION_TYPE_DSI
	.comm	_exception_dsi_cb,4,2           ## @exception_dsi_cb
	.comm	_OS_EXCEPTION_TYPE_ISI,4,2      ## @OS_EXCEPTION_TYPE_ISI
	.comm	_exception_isi_cb,4,2           ## @exception_isi_cb
	.comm	_OS_EXCEPTION_TYPE_PROGRAM,4,2  ## @OS_EXCEPTION_TYPE_PROGRAM
	.comm	_exception_prog_cb,4,2          ## @exception_prog_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_os_exceptions            ; -- Begin function setup_os_exceptions
	.p2align	2
_setup_os_exceptions:                   ; @setup_os_exceptions
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #4096
	bl	_malloc
Lloh0:
	adrp	x8, _exception_msgbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _exception_msgbuf@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, _OS_EXCEPTION_TYPE_DSI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OS_EXCEPTION_TYPE_DSI@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _exception_dsi_cb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _exception_dsi_cb@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_OSSetExceptionCallback
Lloh9:
	adrp	x8, _OS_EXCEPTION_TYPE_ISI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OS_EXCEPTION_TYPE_ISI@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _exception_isi_cb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _exception_isi_cb@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_OSSetExceptionCallback
Lloh15:
	adrp	x8, _OS_EXCEPTION_TYPE_PROGRAM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OS_EXCEPTION_TYPE_PROGRAM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _exception_prog_cb@GOTPAGE
Lloh19:
	ldr	x8, [x8, _exception_prog_cb@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_OSSetExceptionCallback
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_test_os_exceptions
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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 AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_exception_msgbuf,4,2           ; @exception_msgbuf
	.comm	_OS_EXCEPTION_TYPE_DSI,4,2      ; @OS_EXCEPTION_TYPE_DSI
	.comm	_exception_dsi_cb,4,2           ; @exception_dsi_cb
	.comm	_OS_EXCEPTION_TYPE_ISI,4,2      ; @OS_EXCEPTION_TYPE_ISI
	.comm	_exception_isi_cb,4,2           ; @exception_isi_cb
	.comm	_OS_EXCEPTION_TYPE_PROGRAM,4,2  ; @OS_EXCEPTION_TYPE_PROGRAM
	.comm	_exception_prog_cb,4,2          ; @exception_prog_cb
.subsections_via_symbols
