	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function purge_dead_tablejump_edges
_purge_dead_tablejump_edges:            ## @purge_dead_tablejump_edges
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_BB_END
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_PATTERN
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_ADDR_VEC@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	movq	%r12, %rdi
	callq	_PATTERN
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_XVEC
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_GET_NUM_ELEM
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %esi
	movl	%r12d, %edi
	callq	_RTVEC_ELT
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_mark_tablejump_edge
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_single_set
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_SET_DEST
	movq	_pc_rtx@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_SET_SRC
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_IF_THEN_ELSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_SET_SRC
	movl	%eax, %edi
	movl	$2, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_LABEL_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_SET_SRC
	movl	%eax, %edi
	movl	$2, %esi
	callq	_XEXP
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_mark_tablejump_edge
LBB0_8:
	movl	(%r14), %edi
	callq	_ei_start
	movl	%eax, -44(%rbp)
	movl	%eax, %edi
	callq	_ei_safe_edge
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	movq	%rax, %rbx
	movq	_BLOCK_USED_BY_TABLEJUMP@GOTPCREL(%rip), %r15
	movq	_EDGE_ABNORMAL@GOTPCREL(%rip), %r12
	movq	_EDGE_EH@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	4(%rbx), %ebx
	movl	%ebx, %edi
	callq	_FULL_STATE
	movslq	(%r15), %rsi
	notq	%rsi
	andq	%rax, %rsi
	movl	%ebx, %edi
	callq	_SET_STATE
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_ei_next
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-44(%rbp), %edi
	callq	_ei_safe_edge
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	callq	_FULL_STATE
	movslq	(%r15), %rcx
	testq	%rcx, %rax
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r13), %eax
	orl	(%r12), %eax
	testl	%eax, (%rbx)
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_remove_edge
	jmp	LBB0_15
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_VEC,8,3                   ## @ADDR_VEC
	.comm	_pc_rtx,8,3                     ## @pc_rtx
	.comm	_IF_THEN_ELSE,8,3               ## @IF_THEN_ELSE
	.comm	_LABEL_REF,8,3                  ## @LABEL_REF
	.comm	_BLOCK_USED_BY_TABLEJUMP,4,2    ## @BLOCK_USED_BY_TABLEJUMP
	.comm	_EDGE_ABNORMAL,4,2              ## @EDGE_ABNORMAL
	.comm	_EDGE_EH,4,2                    ## @EDGE_EH
	.no_dead_strip	_purge_dead_tablejump_edges
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function purge_dead_tablejump_edges
_purge_dead_tablejump_edges:            ; @purge_dead_tablejump_edges
	.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	x21, x1
	mov	x19, x0
	bl	_BB_END
	mov	x20, x0
	mov	x0, x21
	bl	_PATTERN
	bl	_GET_CODE
Lloh0:
	adrp	x8, _ADDR_VEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDR_VEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w22, ne
	mov	x0, x21
	bl	_PATTERN
	mov	x1, x22
	bl	_XVEC
	mov	x21, x0
	bl	_GET_NUM_ELEM
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	add	w22, w0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w22, #2
	mov	x0, x21
	bl	_RTVEC_ELT
	mov	w1, #0
	bl	_XEXP
	bl	_mark_tablejump_edge
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_single_set
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
	bl	_SET_DEST
Lloh3:
	adrp	x8, _pc_rtx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pc_rtx@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_SET_SRC
	bl	_GET_CODE
Lloh6:
	adrp	x8, _IF_THEN_ELSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IF_THEN_ELSE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_SET_SRC
	mov	w1, #2
	bl	_XEXP
	bl	_GET_CODE
Lloh9:
	adrp	x8, _LABEL_REF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LABEL_REF@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_SET_SRC
	mov	w1, #2
	bl	_XEXP
	mov	w1, #0
	bl	_XEXP
	bl	_mark_tablejump_edge
LBB0_8:
	ldr	w0, [x19]
	bl	_ei_start
	str	w0, [sp, #12]
	bl	_ei_safe_edge
	cbz	x0, LBB0_16
; %bb.9:
	mov	x19, x0
Lloh12:
	adrp	x20, _BLOCK_USED_BY_TABLEJUMP@GOTPAGE
Lloh13:
	ldr	x20, [x20, _BLOCK_USED_BY_TABLEJUMP@GOTPAGEOFF]
Lloh14:
	adrp	x21, _EDGE_ABNORMAL@GOTPAGE
Lloh15:
	ldr	x21, [x21, _EDGE_ABNORMAL@GOTPAGEOFF]
Lloh16:
	adrp	x22, _EDGE_EH@GOTPAGE
Lloh17:
	ldr	x22, [x22, _EDGE_EH@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w19, [x19, #4]
	mov	x0, x19
	bl	_FULL_STATE
	ldr	w8, [x20]
	mvn	w8, w8
	sxtw	x8, w8
	and	x1, x0, x8
	mov	x0, x19
	bl	_SET_STATE
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, sp, #12
	bl	_ei_next
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [sp, #12]
	bl	_ei_safe_edge
	mov	x19, x0
	cbz	x0, LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #4]
	bl	_FULL_STATE
	ldrsw	x8, [x20]
	tst	x0, x8
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x21]
	ldr	w10, [x22]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	bl	_remove_edge
	b	LBB0_12
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_VEC,8,3                   ; @ADDR_VEC
	.comm	_pc_rtx,8,3                     ; @pc_rtx
	.comm	_IF_THEN_ELSE,8,3               ; @IF_THEN_ELSE
	.comm	_LABEL_REF,8,3                  ; @LABEL_REF
	.comm	_BLOCK_USED_BY_TABLEJUMP,4,2    ; @BLOCK_USED_BY_TABLEJUMP
	.comm	_EDGE_ABNORMAL,4,2              ; @EDGE_ABNORMAL
	.comm	_EDGE_EH,4,2                    ; @EDGE_EH
	.no_dead_strip	_purge_dead_tablejump_edges
.subsections_via_symbols
