	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_simplify_condjump
_try_simplify_condjump:                 ## @try_simplify_condjump
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_EDGE_COUNT
	xorl	%r15d, %r15d
	cmpl	$2, %eax
	jne	LBB0_13
## %bb.1:
	movq	%rbx, %rdi
	callq	_BB_END
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_any_condjump_p
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movq	%rbx, %rdi
	callq	_FALLTHRU_EDGE
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_BRANCH_EDGE
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %r14
	movq	%r14, %rdi
	callq	_single_pred_p
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	movq	(%r14), %rax
	movq	_EXIT_BLOCK_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.4:
	movq	%r14, %rdi
	callq	_FORWARDER_BLOCK_P
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_single_succ
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_BB_PARTITION
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_BB_PARTITION
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_13
## %bb.6:
	movq	_EDGE_CROSSING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_13:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rcx, %rax
	movq	8(%rcx), %rsi
	movq	_EXIT_BLOCK_PTR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_13
## %bb.8:
	movq	%r14, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_can_fallthru
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_block_label
	xorl	%r15d, %r15d
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_invert_jump
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movl	%r13d, %edi
	callq	_INSN_UID
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_BB_END
	movl	%eax, %edi
	callq	_INSN_UID
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_fprintf
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_redirect_edge_succ_nodup
	movq	%rax, %r15
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_redirect_edge_succ_nodup
	movq	_EDGE_FALLTHRU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%edx, (%r15)
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	movq	%rbx, %rdi
	callq	_update_br_prob_note
	movq	%r14, %rdi
	callq	_delete_basic_block
	movq	%r15, %rdi
	callq	_tidy_fallthru_edge
	movq	%rbx, %rdi
	callq	_update_forwarder_flag
	movl	$1, %r15d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_BLOCK_PTR,8,3             ## @EXIT_BLOCK_PTR
	.comm	_EDGE_CROSSING,4,2              ## @EDGE_CROSSING
	.comm	_dump_file,8,3                  ## @dump_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Simplifying condjump %i around jump %i\n"

	.comm	_EDGE_FALLTHRU,4,2              ## @EDGE_FALLTHRU
	.no_dead_strip	_try_simplify_condjump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_simplify_condjump
_try_simplify_condjump:                 ; @try_simplify_condjump
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_EDGE_COUNT
	cmp	w0, #2
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_BB_END
	mov	x23, x0
	bl	_any_condjump_p
	cbz	w0, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_FALLTHRU_EDGE
	mov	x21, x0
	mov	x0, x19
	bl	_BRANCH_EDGE
	mov	x22, x0
	ldr	x20, [x21, #8]
	mov	x0, x20
	bl	_single_pred_p
	cbz	w0, LBB0_8
; %bb.3:
	ldr	x8, [x20]
Lloh0:
	adrp	x26, _EXIT_BLOCK_PTR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _EXIT_BLOCK_PTR@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_FORWARDER_BLOCK_P
	cbz	w0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_single_succ
	mov	x24, x0
	mov	x0, x20
	bl	_BB_PARTITION
	mov	x25, x0
	mov	x0, x24
	bl	_BB_PARTITION
	cmp	x25, x0
	b.ne	LBB0_7
; %bb.6:
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _EDGE_CROSSING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EDGE_CROSSING@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x25, [x22, #8]
	ldr	x8, [x26]
	cmp	x25, x8
	b.eq	LBB0_7
; %bb.10:
	mov	x0, x20
	mov	x1, x25
	bl	_can_fallthru
	cbz	w0, LBB0_8
; %bb.11:
	mov	x0, x24
	bl	_block_label
	mov	x1, x0
	mov	x0, x23
	mov	w2, #0
	bl	_invert_jump
	cbz	w0, LBB0_8
; %bb.12:
Lloh5:
	adrp	x8, _dump_file@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dump_file@GOTPAGEOFF]
Lloh7:
	ldr	x26, [x8]
	cbz	x26, LBB0_14
; %bb.13:
	mov	x0, x23
	bl	_INSN_UID
	mov	x23, x0
	mov	x0, x20
	bl	_BB_END
	bl	_INSN_UID
	mov	x3, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x26
	mov	x2, x23
	bl	_fprintf
LBB0_14:
	mov	x0, x22
	mov	x1, x25
	bl	_redirect_edge_succ_nodup
	mov	x22, x0
	mov	x0, x21
	mov	x1, x24
	bl	_redirect_edge_succ_nodup
Lloh10:
	adrp	x8, _EDGE_FALLTHRU@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EDGE_FALLTHRU@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	w10, [x22]
	orr	w9, w10, w9
	str	w9, [x22]
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	mov	x0, x19
	bl	_update_br_prob_note
	mov	x0, x20
	bl	_delete_basic_block
	mov	x0, x22
	bl	_tidy_fallthru_edge
	mov	x0, x19
	bl	_update_forwarder_flag
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_BLOCK_PTR,8,3             ; @EXIT_BLOCK_PTR
	.comm	_EDGE_CROSSING,4,2              ; @EDGE_CROSSING
	.comm	_dump_file,8,3                  ; @dump_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Simplifying condjump %i around jump %i\n"

	.comm	_EDGE_FALLTHRU,4,2              ; @EDGE_FALLTHRU
	.no_dead_strip	_try_simplify_condjump
.subsections_via_symbols
