	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printEdgePower
_printEdgePower:                        ## @printEdgePower
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_curctl@GOTPCREL(%rip), %rdx
	movq	_NUM_EDGES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imulq	(%rdx), %rcx
	movq	_eeprom@GOTPCREL(%rip), %rdx
	shlq	$4, %rcx
	addq	(%rdx), %rcx
	movslq	%esi, %rdx
	shlq	$4, %rdx
	cmpq	$0, (%rdx,%rcx)
	je	LBB0_1
## %bb.2:
	addq	%rdx, %rcx
	movl	8(%rcx), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	movl	%esi, %edx
	sarl	%edx
	andl	$-2, %esi
	subl	%esi, %ecx
	leal	(%rcx,%rcx,4), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%rax, %rcx
	popq	%rbp
	jmp	_fwrite                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_eeprom,8,3                     ## @eeprom
	.comm	_curctl,8,3                     ## @curctl
	.comm	_NUM_EDGES,8,3                  ## @NUM_EDGES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" -- "

L_.str.1:                               ## @.str.1
	.asciz	"%2d.%d"

	.no_dead_strip	_printEdgePower
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printEdgePower
_printEdgePower:                        ; @printEdgePower
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x3, x0
Lloh0:
	adrp	x8, _eeprom@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eeprom@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _curctl@GOTPAGE
Lloh4:
	ldr	x9, [x9, _curctl@GOTPAGEOFF]
Lloh5:
	adrp	x10, _NUM_EDGES@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NUM_EDGES@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	ldr	x10, [x10]
	mul	x9, x10, x9
	add	x8, x8, x9, lsl #4
	add	x8, x8, w1, sxtw #4
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w8, [x8, #8]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w10, w9, #1
	and	w9, w9, #0xfffffffe
	sub	w8, w8, w9
	add	w8, w8, w8, lsl #2
	stp	x10, x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x3
	bl	_fprintf
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #4
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_fwrite
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_eeprom,8,3                     ; @eeprom
	.comm	_curctl,8,3                     ; @curctl
	.comm	_NUM_EDGES,8,3                  ; @NUM_EDGES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" -- "

l_.str.1:                               ; @.str.1
	.asciz	"%2d.%d"

	.no_dead_strip	_printEdgePower
.subsections_via_symbols
