	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avr_op
_avr_op:                                ## @avr_op
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %edi
	callq	_get_cpu_model
	movq	%rax, %r14
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_r_anal_esil_reg_write
	movb	(%r14), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r15
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	callq	_r_anal_esil_reg_write
	movq	_CPU_CONST_PARAM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_const_by_name
	movl	%eax, %edi
	callq	_const_get_value
	addq	%rax, %r15
	movq	(%r12), %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_r_anal_esil_reg_write
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	callq	_const_by_name
	movl	%eax, %edi
	callq	_const_get_value
	addq	%rax, %r15
	movq	(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdx
	callq	_r_anal_esil_reg_write
	movl	(%rbx), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	callq	_const_by_name
	movl	%eax, %edi
	callq	_const_get_value
	addq	%rax, %r15
	movq	(%r12), %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	callq	_r_anal_esil_reg_write
LBB0_4:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movq	%r14, %r9
	callq	_avr_op_analyze
	movl	(%r13), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$2, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_prog"

L_.str.1:                               ## @.str.1
	.asciz	"_io"

	.comm	_CPU_CONST_PARAM,4,2            ## @CPU_CONST_PARAM
L_.str.2:                               ## @.str.2
	.asciz	"sram_start"

L_.str.3:                               ## @.str.3
	.asciz	"_sram"

L_.str.4:                               ## @.str.4
	.asciz	"sram_size"

L_.str.5:                               ## @.str.5
	.asciz	"_eeprom"

L_.str.6:                               ## @.str.6
	.asciz	"eeprom_size"

L_.str.7:                               ## @.str.7
	.asciz	"_page"

	.no_dead_strip	_avr_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avr_op
_avr_op:                                ; @avr_op
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	ldr	w0, [x0, #8]
	bl	_get_cpu_model
	mov	x24, x0
	ldr	x0, [x23]
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_r_anal_esil_reg_write
	ldr	w8, [x24]
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x25, w8
	ldr	x0, [x23]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x25
	bl	_r_anal_esil_reg_write
Lloh4:
	adrp	x26, _CPU_CONST_PARAM@GOTPAGE
Lloh5:
	ldr	x26, [x26, _CPU_CONST_PARAM@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_const_by_name
	bl	_const_get_value
	add	x25, x0, x25
	ldr	x0, [x23]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x25
	bl	_r_anal_esil_reg_write
	ldr	w1, [x26]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_const_by_name
	bl	_const_get_value
	add	x25, x0, x25
	ldr	x0, [x23]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x25
	bl	_r_anal_esil_reg_write
	ldr	w1, [x26]
Lloh14:
	adrp	x2, l_.str.6@PAGE
Lloh15:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x24
	bl	_const_by_name
	bl	_const_get_value
	add	x2, x0, x25
	ldr	x0, [x23]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_r_anal_esil_reg_write
LBB0_3:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x24
	bl	_avr_op_analyze
	ldr	w0, [x19]
	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_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	mov	w0, #2
	ret
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_prog"

l_.str.1:                               ; @.str.1
	.asciz	"_io"

	.comm	_CPU_CONST_PARAM,4,2            ; @CPU_CONST_PARAM
l_.str.2:                               ; @.str.2
	.asciz	"sram_start"

l_.str.3:                               ; @.str.3
	.asciz	"_sram"

l_.str.4:                               ; @.str.4
	.asciz	"sram_size"

l_.str.5:                               ; @.str.5
	.asciz	"_eeprom"

l_.str.6:                               ; @.str.6
	.asciz	"eeprom_size"

l_.str.7:                               ; @.str.7
	.asciz	"_page"

	.no_dead_strip	_avr_op
.subsections_via_symbols
