	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anal_mask_avr
_anal_mask_avr:                         ## @anal_mask_avr
	.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	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_r_anal_op_new
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$255, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_get_cpu_model
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r13d
	jl	LBB0_14
## %bb.4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$1, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx,%r14,4)
	movl	(%rax), %eax
	sarl	$8, %eax
	movslq	%r12d, %rcx
	movl	%eax, (%rdx,%rcx,4)
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %eax
	leal	(%rax,%r15), %r12d
	incl	%r12d
	addl	%r15d, %eax
	movl	%eax, %r15d
	cmpl	%r13d, %r12d
	jge	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rdx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rcx
	movl	%r13d, %r8d
	subl	%r14d, %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_avr_op_analyze
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$4, %ecx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, 8(%rcx,%r14,4)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rcx
	movq	_UT64_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rcx, 16(%rbx)
	jne	LBB0_11
	jmp	LBB0_12
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_13:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_14:
	movq	%rbx, %rdi
	callq	_r_anal_op_free
LBB0_15:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT64_MAX,8,3                   ## @UT64_MAX
	.no_dead_strip	_anal_mask_avr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anal_mask_avr
_anal_mask_avr:                         ; @anal_mask_avr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	bl	_r_anal_op_new
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	mov	x0, x23
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.2:
	mov	x0, x20
	mov	w1, #255
	mov	x2, x23
	bl	_memset
	ldr	w0, [x24]
	bl	_get_cpu_model
	cmp	w23, #2
	b.lt	LBB0_12
; %bb.3:
	mov	x25, x0
	mov	w8, #0
	mov	w27, #1
Lloh0:
	adrp	x26, _UT64_MAX@GOTPAGE
Lloh1:
	ldr	x26, [x26, _UT64_MAX@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x0]
	str	w8, [x20, x28, lsl #2]
	ldr	w8, [x0]
	asr	w8, w8, #8
	str	w8, [x20, w27, sxtw #2]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	add	w8, w8, w28
	add	w27, w8, #1
	cmp	w27, w23
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x28, w8
	add	x2, x28, x21
	add	x3, x22, w8, sxtw #2
	sub	w4, w23, w8
	mov	x0, x24
	mov	x1, x19
	mov	x5, x25
	bl	_avr_op_analyze
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #4
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x20, x28, lsl #2
	str	xzr, [x8, #8]
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x19, #16]
	cmp	x9, x8
	b.ne	LBB0_4
	b	LBB0_5
LBB0_12:
	mov	x0, x19
	bl	_r_anal_op_free
	b	LBB0_14
LBB0_13:
	mov	x20, #0
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UT64_MAX,8,3                   ; @UT64_MAX
	.no_dead_strip	_anal_mask_avr
.subsections_via_symbols
