	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_outermost_region_in_block
_find_outermost_region_in_block:        ## @find_outermost_region_in_block
	.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
	movl	%edx, %r12d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_bsi_start
	movl	%eax, %ebx
	movl	%eax, -44(%rbp)
	movl	%eax, %edi
	callq	_bsi_end_p
	testl	%eax, %eax
	je	LBB0_1
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_RESX_EXPR@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_bsi_stmt
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_CODE
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%eax, %edi
	callq	_TREE_INT_CST_LOW
	testl	%eax, %eax
	jg	LBB0_6
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_lookup_stmt_eh_region_fn
	testl	%eax, %eax
	jle	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_eh_region_outermost
	movl	%eax, %r12d
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_gcc_assert
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_bsi_next
	movl	-44(%rbp), %edi
	callq	_bsi_end_p
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ebx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_RESX_EXPR,8,3                  ## @RESX_EXPR
	.no_dead_strip	_find_outermost_region_in_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_outermost_region_in_block
_find_outermost_region_in_block:        ; @find_outermost_region_in_block
	.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
	mov	x19, x2
	mov	x20, x0
	mov	x0, x1
	bl	_bsi_start
	mov	x21, x0
	str	w0, [sp, #12]
	bl	_bsi_end_p
	cbz	w0, LBB0_2
LBB0_1:
	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
LBB0_2:
Lloh0:
	adrp	x22, _RESX_EXPR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RESX_EXPR@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_bsi_stmt
	mov	x21, x0
	bl	_TREE_CODE
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	w1, #0
	bl	_TREE_OPERAND
	bl	_TREE_INT_CST_LOW
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_lookup_stmt_eh_region_fn
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w19, #31, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w1, w19
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x2, x19
	bl	_eh_region_outermost
	mov	x19, x0
	cmn	w0, #1
	cset	w0, ne
	bl	_gcc_assert
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x1
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #12
	bl	_bsi_next
	ldr	w0, [sp, #12]
	bl	_bsi_end_p
	cbnz	w0, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w21, [sp, #12]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RESX_EXPR,8,3                  ; @RESX_EXPR
	.no_dead_strip	_find_outermost_region_in_block
.subsections_via_symbols
