	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_eh_region_catch            ## -- Begin function gen_eh_region_catch
	.p2align	4, 0x90
_gen_eh_region_catch:                   ## @gen_eh_region_catch
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_TREE_CODE
	movq	_TREE_LIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	%edi, %edx
	callq	_tree_cons
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TREE_VALUE
	movl	%eax, %edi
	callq	_add_type_for_runtime
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_7
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	_ERT_CATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%r14), %esi
	callq	_gen_eh_region
	movq	%r15, 32(%rax)
	movq	(%r14), %rcx
	movq	%rcx, 24(%rax)
	leaq	8(%r14), %rdx
	leaq	16(%rcx), %rsi
	testq	%rcx, %rcx
	cmoveq	%rdx, %rsi
	movq	%rax, (%rsi)
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TREE_LIST,8,3                  ## @TREE_LIST
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.comm	_ERT_CATCH,4,2                  ## @ERT_CATCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_eh_region_catch            ; -- Begin function gen_eh_region_catch
	.p2align	2
_gen_eh_region_catch:                   ; @gen_eh_region_catch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _TREE_LIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TREE_LIST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x0
	bl	_tree_cons
	mov	x20, x0
	cbz	x0, LBB0_5
LBB0_3:
	mov	x21, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TREE_VALUE
	bl	_add_type_for_runtime
	mov	x0, x21
	bl	_TREE_CHAIN
	mov	x21, x0
	cbnz	x0, LBB0_4
LBB0_5:
Lloh6:
	adrp	x8, _ERT_CATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERT_CATCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19, #40]
	bl	_gen_eh_region
	ldr	x8, [x19]
	stp	x8, x20, [x0, #24]
	add	x9, x19, #8
	add	x10, x8, #16
	cmp	x8, #0
	csel	x8, x9, x10, eq
	str	x0, [x8]
	str	x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TREE_LIST,8,3                  ; @TREE_LIST
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.comm	_ERT_CATCH,4,2                  ; @ERT_CATCH
.subsections_via_symbols
