	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_exception
_handle_exception:                      ## @handle_exception
	.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, %r14
	movq	_TARGET_WAITKIND_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	_current_event@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leal	-128(%rsi), %eax
	cmpl	$5, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	4(%rbx), %edi
	callq	_DEBUG_EXCEPT
	movq	_TARGET_SIGNAL_SEGV@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movl	4(%rbx), %edi
	callq	_DEBUG_EXCEPT
	movq	_TARGET_SIGNAL_TRAP@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movl	4(%rbx), %edx
	leaq	L_.str.6(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_printf_unfiltered
	movq	_TARGET_SIGNAL_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
LBB0_8:
	movq	%rax, (%r14)
LBB0_9:
	movq	_exception_count@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movslq	4(%rbx), %rdi
	callq	_DEBUG_EXCEPT
	movq	_TARGET_SIGNAL_ILL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_check_for_step
	jmp	LBB0_8
LBB0_3:
	movl	4(%rbx), %edi
	callq	_DEBUG_EXCEPT
	movq	_TARGET_SIGNAL_INT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_last_sig@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_TARGET_WAITKIND_STOPPED,4,2    ## @TARGET_WAITKIND_STOPPED
	.comm	_current_event,16,3             ## @current_event
	.comm	_TARGET_SIGNAL_SEGV,8,3         ## @TARGET_SIGNAL_SEGV
	.comm	_TARGET_SIGNAL_TRAP,8,3         ## @TARGET_SIGNAL_TRAP
	.comm	_TARGET_SIGNAL_INT,8,3          ## @TARGET_SIGNAL_INT
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_last_sig,4,2                   ## @last_sig
	.comm	_TARGET_SIGNAL_ILL,4,2          ## @TARGET_SIGNAL_ILL
	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"gdb: unknown target exception 0x%08x at 0x%08x\n"

	.comm	_TARGET_SIGNAL_UNKNOWN,8,3      ## @TARGET_SIGNAL_UNKNOWN
	.comm	_exception_count,4,2            ## @exception_count
	.no_dead_strip	_handle_exception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_exception
_handle_exception:                      ; @handle_exception
	.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
Lloh0:
	adrp	x8, _TARGET_WAITKIND_STOPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_WAITKIND_STOPPED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
Lloh3:
	adrp	x20, _current_event@GOTPAGE
Lloh4:
	ldr	x20, [x20, _current_event@GOTPAGEOFF]
	ldr	w1, [x20]
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.1:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x20, #4]
	bl	_DEBUG_EXCEPT
Lloh7:
	adrp	x8, _TARGET_SIGNAL_SEGV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TARGET_SIGNAL_SEGV@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x20, #4]
	bl	_DEBUG_EXCEPT
Lloh9:
	adrp	x8, _TARGET_SIGNAL_TRAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TARGET_SIGNAL_TRAP@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	w2, [x20, #4]
Lloh11:
	adrp	x0, l_.str.6@PAGE
Lloh12:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf_unfiltered
Lloh13:
	adrp	x8, _TARGET_SIGNAL_UNKNOWN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TARGET_SIGNAL_UNKNOWN@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_6:
Lloh15:
	adrp	x8, _exception_count@GOTPAGE
Lloh16:
	ldr	x8, [x8, _exception_count@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldrsw	x0, [x20, #4]
	bl	_DEBUG_EXCEPT
Lloh17:
	adrp	x8, _TARGET_SIGNAL_ILL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TARGET_SIGNAL_ILL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_check_for_step
	str	x0, [x19]
	b	LBB0_6
LBB0_8:
	ldr	w0, [x20, #4]
	bl	_DEBUG_EXCEPT
Lloh20:
	adrp	x8, _TARGET_SIGNAL_INT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TARGET_SIGNAL_INT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh23:
	adrp	x8, _SIGINT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _last_sig@GOTPAGE
Lloh27:
	ldr	x9, [x9, _last_sig@GOTPAGEOFF]
Lloh28:
	str	w8, [x9]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_TARGET_WAITKIND_STOPPED,4,2    ; @TARGET_WAITKIND_STOPPED
	.comm	_current_event,16,3             ; @current_event
	.comm	_TARGET_SIGNAL_SEGV,8,3         ; @TARGET_SIGNAL_SEGV
	.comm	_TARGET_SIGNAL_TRAP,8,3         ; @TARGET_SIGNAL_TRAP
	.comm	_TARGET_SIGNAL_INT,8,3          ; @TARGET_SIGNAL_INT
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_last_sig,4,2                   ; @last_sig
	.comm	_TARGET_SIGNAL_ILL,4,2          ; @TARGET_SIGNAL_ILL
	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"gdb: unknown target exception 0x%08x at 0x%08x\n"

	.comm	_TARGET_SIGNAL_UNKNOWN,8,3      ; @TARGET_SIGNAL_UNKNOWN
	.comm	_exception_count,4,2            ; @exception_count
	.no_dead_strip	_handle_exception
.subsections_via_symbols
