	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_count_occurrences              ## -- Begin function count_occurrences
	.p2align	4, 0x90
_count_occurrences:                     ## @count_occurrences
	.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
	movl	$1, %ebx
	cmpq	%rsi, %rdi
	je	LBB0_22
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_GET_CODE
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$129, %eax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_SET_DEST
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %rax
	jne	LBB0_9
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_SET_SRC
	movq	%rax, %r12
	xorl	%r14d, %r14d
	cmpq	%r15, %rax
	jne	LBB0_2
	jmp	LBB0_22
LBB0_3:
	movq	%rax, %r13
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_9
## %bb.4:
	movl	$1005, %ecx                     ## imm = 0x3ED
	btl	%eax, %ecx
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$4, %eax
	jne	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_MEM_P
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_rtx_equal_p
	testl	%eax, %eax
	jne	LBB0_22
LBB0_9:
	movq	%r13, %rbx
	movl	%ebx, %edi
	callq	_GET_RTX_FORMAT
	movq	%rax, %r13
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_GET_RTX_LENGTH
	movl	$0, %ebx
	testl	%eax, %eax
	jle	LBB0_22
## %bb.10:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_XEXP
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_count_occurrences
	addl	%eax, %ebx
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	incq	%r13
	incl	%r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_GET_RTX_LENGTH
	cmpl	%eax, %r14d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_22
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movsbl	(%r13), %eax
	cmpl	$101, %eax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$69, %eax
	jne	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_XVECLEN
	testl	%eax, %eax
	jle	LBB0_14
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%r15d, %r15d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_XVECEXP
	movq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_count_occurrences
	addl	%eax, %ebx
	incl	%r15d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_XVECLEN
	cmpl	%eax, %r15d
	jl	LBB0_20
	jmp	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_count_occurrences              ; -- Begin function count_occurrences
	.p2align	2
_count_occurrences:                     ; @count_occurrences
	.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
	cmp	x0, x1
	b.ne	LBB0_2
LBB0_1:
	mov	w23, #1
	b	LBB0_10
LBB0_2:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_GET_CODE
	mov	x22, x0
	cmp	w0, #129
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_SET_DEST
	cbnz	w21, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, x19
	b.ne	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_SET_SRC
	mov	x20, x0
	mov	w21, #0
	cmp	x0, x19
	b.ne	LBB0_3
	b	LBB0_1
LBB0_7:
	sub	w8, w22, #128
	cmp	w8, #9
	b.hi	LBB0_14
; %bb.8:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #1005
	tst	w9, w10
	b.eq	LBB0_11
LBB0_9:
	mov	w23, #0
LBB0_10:
	mov	x0, x23
	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_11:
	cmp	w8, #4
	b.ne	LBB0_14
; %bb.12:
	mov	x0, x19
	bl	_MEM_P
	cbz	w0, LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x19
	bl	_rtx_equal_p
	cbnz	w0, LBB0_1
LBB0_14:
	mov	x0, x22
	bl	_GET_RTX_FORMAT
	mov	x24, x0
	mov	x0, x22
	bl	_GET_RTX_LENGTH
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.15:
	mov	w23, #0
	mov	w25, #0
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_XEXP
	mov	x1, x19
	mov	x2, x21
	bl	_count_occurrences
	add	w23, w0, w23
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w25, w25, #1
	mov	x0, x22
	bl	_GET_RTX_LENGTH
	cmp	w25, w0
	b.ge	LBB0_10
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	ldrsb	w8, [x24], #1
	cmp	w8, #101
	b.eq	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w8, #69
	b.ne	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_XVECLEN
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w26, #0
LBB0_22:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x25
	mov	x2, x26
	bl	_XVECEXP
	mov	x1, x19
	mov	x2, x21
	bl	_count_occurrences
	add	w23, w0, w23
	add	w26, w26, #1
	mov	x0, x20
	mov	x1, x25
	bl	_XVECLEN
	cmp	w26, w0
	b.lt	LBB0_22
	b	LBB0_17
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
