	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btc_apply_voltage_delta_rules  ## -- Begin function btc_apply_voltage_delta_rules
	.p2align	4, 0x90
_btc_apply_voltage_delta_rules:         ## @btc_apply_voltage_delta_rules
	.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	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_evergreen_get_pi
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.2:
	movq	%rsi, %rdx
	subq	%rcx, %rdx
	jle	LBB0_5
## %bb.3:
	movq	(%rbx), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_7
## %bb.4:
	addq	$4, %rax
	subq	%rcx, %rsi
	movq	%rax, %rdi
	callq	_btc_find_voltage
	cmpq	%r12, %rax
	cmovlq	%rax, %r12
	movq	%r12, (%r14)
	jmp	LBB0_7
LBB0_5:
	movq	%rcx, %rdi
	subq	%rsi, %rdi
	movq	(%rbx), %rdx
	cmpq	%rdx, %rdi
	jle	LBB0_7
## %bb.6:
	subq	%rdx, %rcx
	movq	%rax, %rdi
	movq	%rcx, %rsi
	callq	_btc_find_voltage
	cmpq	%r15, %rax
	cmovlq	%rax, %r15
	movq	%r15, (%r13)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btc_apply_voltage_delta_rules  ; -- Begin function btc_apply_voltage_delta_rules
	.p2align	2
_btc_apply_voltage_delta_rules:         ; @btc_apply_voltage_delta_rules
	.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	x20, x4
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	bl	_evergreen_get_pi
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x9, [x20]
	cbz	x9, LBB0_7
; %bb.2:
	subs	x10, x8, x9
	b.le	LBB0_5
; %bb.3:
	ldr	x9, [x23]
	cmp	x10, x9
	b.le	LBB0_7
; %bb.4:
	add	x0, x0, #4
	sub	x1, x8, x9
	bl	_btc_find_voltage
	cmp	x0, x22
	csel	x8, x0, x22, lt
	str	x8, [x20]
	b	LBB0_7
LBB0_5:
	ldr	x10, [x23]
	sub	x8, x9, x8
	cmp	x8, x10
	b.le	LBB0_7
; %bb.6:
	sub	x1, x9, x10
	bl	_btc_find_voltage
	cmp	x0, x21
	csel	x8, x0, x21, lt
	str	x8, [x19]
LBB0_7:
	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
.subsections_via_symbols
