	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_rtxs
_count_rtxs:                            ## @count_rtxs
	.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	%rdi, %r15
	xorl	%r13d, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_count_rtxs
	movl	%eax, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	xorl	%esi, %esi
	cmpq	%r15, %rax
	sete	%sil
	movq	%rbx, %rdi
	callq	_XEXP
	movq	%rax, %r15
	leal	2(%r13,%r14,2), %r13d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_GET_CODE
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_GET_RTX_CLASS
	cmpb	$50, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_GET_RTX_CLASS
	cmpb	$99, %al
	jne	LBB0_15
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_XEXP
	cmpq	%rax, %r12
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GET_CODE
	movl	%eax, %edi
	callq	_GET_RTX_CLASS
	cmpb	$50, %al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_GET_CODE
	movl	%eax, %edi
	callq	_GET_RTX_CLASS
	cmpb	$99, %al
	jne	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	cmpq	%rax, %r12
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XEXP
	cmpq	%rax, %r12
	je	LBB0_9
LBB0_10:
	movq	%r12, %rdi
	callq	_GET_CODE
	movl	%eax, %edi
	callq	_GET_RTX_CLASS
	cmpb	$50, %al
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_GET_CODE
	movl	%eax, %edi
	callq	_GET_RTX_CLASS
	cmpb	$99, %al
	jne	LBB0_15
LBB0_12:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	cmpq	%rax, %rbx
	je	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_XEXP
	cmpq	%rax, %rbx
	jne	LBB0_15
LBB0_14:
	movq	%rbx, %rdi
	callq	_count_rtxs
	movl	%eax, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	xorl	%esi, %esi
	cmpq	%r15, %rax
	sete	%sil
	movq	%r12, %rdi
	callq	_XEXP
	movq	%rax, %rdi
	callq	_count_rtxs
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r13,%rbx,2), %ecx
	leal	(%rax,%rcx), %r14d
	addl	$2, %r14d
	jmp	LBB0_22
LBB0_4:
	movq	%r12, %rdi
	callq	_count_rtxs
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%r13,%rax,2), %r14d
	jmp	LBB0_22
LBB0_15:
	movl	%r14d, %edi
	callq	_GET_RTX_FORMAT
	movq	%rax, %r12
	movl	%r14d, %edi
	callq	_GET_RTX_LENGTH
	testl	%eax, %eax
	jle	LBB0_16
## %bb.17:
	movl	%eax, %esi
	movl	$1, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	leaq	1(%rbx), %rax
	movq	%rbx, %rsi
	cmpq	$1, %rax
	jbe	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rsi), %rbx
	movl	%ebx, %eax
	cmpb	$101, (%r12,%rax)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	decl	%esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_XEXP
	movq	%rax, %rdi
	callq	_count_rtxs
	addl	%eax, %r14d
	jmp	LBB0_20
LBB0_16:
	movl	$1, %r14d
LBB0_21:
	addl	%r13d, %r14d
LBB0_22:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_count_rtxs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_rtxs
_count_rtxs:                            ; @count_rtxs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	w23, #0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_count_rtxs
	mov	x20, x0
	mov	x0, x22
	mov	w1, #0
	bl	_XEXP
	cmp	x0, x19
	cset	w1, eq
	mov	x0, x22
	bl	_XEXP
	mov	x19, x0
	add	w8, w23, w20, lsl #1
	add	w23, w8, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_GET_CODE
	mov	x20, x0
	bl	_GET_RTX_CLASS
	cmp	w0, #50
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_GET_RTX_CLASS
	cmp	w0, #99
	b.ne	LBB0_15
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_XEXP
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1
	bl	_XEXP
	cmp	x21, x0
	b.eq	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	bl	_GET_CODE
	bl	_GET_RTX_CLASS
	cmp	w0, #50
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_GET_CODE
	bl	_GET_RTX_CLASS
	cmp	w0, #99
	b.ne	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_XEXP
	cmp	x21, x0
	b.eq	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_XEXP
	cmp	x21, x0
	b.eq	LBB0_1
LBB0_9:
	mov	x0, x21
	bl	_GET_CODE
	bl	_GET_RTX_CLASS
	cmp	w0, #50
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_GET_CODE
	bl	_GET_RTX_CLASS
	cmp	w0, #99
	b.ne	LBB0_15
LBB0_11:
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
	cmp	x22, x0
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x21
	mov	w1, #1
	bl	_XEXP
	cmp	x22, x0
	b.ne	LBB0_15
LBB0_13:
	mov	x0, x22
	bl	_count_rtxs
	mov	x20, x0
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
	cmp	x0, x19
	cset	w1, eq
	mov	x0, x21
	bl	_XEXP
	bl	_count_rtxs
	add	w8, w23, w20, lsl #1
	add	w8, w8, w0
	add	w0, w8, #2
	b	LBB0_22
LBB0_14:
	mov	x0, x21
	bl	_count_rtxs
	add	w8, w23, w0, lsl #1
	add	w0, w8, #1
	b	LBB0_22
LBB0_15:
	mov	x0, x20
	bl	_GET_RTX_FORMAT
	mov	x21, x0
	mov	x0, x20
	bl	_GET_RTX_LENGTH
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.16:
	mov	w8, w0
	mov	w20, #1
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x9, x22, #1
	mov	x8, x22
	cmp	x9, #1
	b.ls	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sub	x22, x8, #1
	ldrb	w9, [x21, w22, uxtw]
	cmp	w9, #101
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	w1, w8, #1
	mov	x0, x19
	bl	_XEXP
	bl	_count_rtxs
	add	w20, w0, w20
	b	LBB0_17
LBB0_20:
	mov	w20, #1
LBB0_21:
	add	w0, w20, w23
LBB0_22:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_count_rtxs
.subsections_via_symbols
