	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function incr_cntdec
_incr_cntdec:                           ## @incr_cntdec
	.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	%rdi, %r12
	movb	(%rdi), %cl
	movl	$25, %eax
	shll	%cl, %eax
	movslq	4(%rdi), %r15
	movslq	%eax, %r14
	movq	8(%rdi), %rcx
	movslq	%esi, %rbx
	addq	%r14, (%rcx,%rbx,8)
	movq	(%rcx,%r15,8), %rax
	addq	%r14, %rax
	movq	%rax, (%rcx,%r15,8)
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movq	(%rcx,%rbx,8), %rsi
	leal	-1(%rbx), %r13d
	movq	(%rcx,%r13,8), %rdx
	cmpq	%rdx, %rsi
	jle	LBB0_3
## %bb.2:
	movq	_uint16_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FFSWAP
	movq	16(%r12), %rax
	leal	(%rbx,%rbx), %ecx
	movslq	%ecx, %r11
	movl	(%rax,%r11,4), %r8d
	leal	1(%rbx,%rbx), %esi
	movslq	%esi, %rsi
	movl	(%rax,%rsi,4), %r9d
	leal	(%r13,%r13), %edx
	leal	1(%r13,%r13), %edi
	movslq	%edi, %rdi
	movl	(%rax,%rdi,4), %r10d
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movl	%ecx, (%rax,%r11,4)
	movl	%r10d, (%rax,%rsi,4)
	movl	%r8d, (%rax,%rdx,4)
	movl	%r9d, (%rax,%rdi,4)
	movq	_uint8_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	(%rax,%r13,8), %rdx
	callq	_FFSWAP
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rax
LBB0_3:
	addq	%r14, %rax
	cmpq	$4097, %rax                     ## imm = 0x1001
	jl	LBB0_4
## %bb.5:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rescale_dec                    ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uint16_t,4,2                   ## @uint16_t
	.comm	_uint8_t,4,2                    ## @uint8_t
	.no_dead_strip	_incr_cntdec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function incr_cntdec
_incr_cntdec:                           ; @incr_cntdec
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	mov	w8, #25
	ldp	w9, w21, [x0]
                                        ; kill: def $w21 killed $w21 def $x21
	sxtw	x21, w21
	lsl	w8, w8, w9
	sxtw	x20, w8
	ldr	x9, [x0, #8]
	sbfiz	x8, x1, #3, #32
	ldr	x10, [x9, x8]
	add	x10, x10, x20
	str	x10, [x9, x8]
	lsl	x10, x21, #3
	ldr	x8, [x9, x10]
	add	x8, x8, x20
	str	x8, [x9, x10]
	subs	w22, w1, #1
	b.lt	LBB0_3
; %bb.1:
	sxtw	x23, w1
	ldr	x1, [x9, x23, lsl #3]
	ldr	x2, [x9, w22, uxtw #3]
	cmp	x1, x2
	b.le	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _uint16_t@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uint16_t@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FFSWAP
	lsl	w8, w22, #1
	sbfiz	x8, x8, #2, #32
	lsl	x9, x23, #3
	ldp	x10, x11, [x19, #16]
	ldr	d0, [x10, x9]
	ldr	d1, [x10, x8]
	str	d1, [x10, x9]
	str	d0, [x10, x8]
Lloh3:
	adrp	x8, _uint8_t@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uint8_t@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x11, x9]
	ldr	x2, [x11, x22, lsl #3]
	bl	_FFSWAP
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x21, lsl #3]
LBB0_3:
	add	x8, x8, x20
	cmp	x8, #1, lsl #12                 ; =4096
	b.le	LBB0_5
; %bb.4:
	mov	x0, x19
	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
	b	_rescale_dec
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_uint16_t,4,2                   ; @uint16_t
	.comm	_uint8_t,4,2                    ; @uint8_t
	.no_dead_strip	_incr_cntdec
.subsections_via_symbols
