	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_timers_recalc             ## -- Begin function p32x_timers_recalc
	.p2align	4, 0x90
_p32x_timers_recalc:                    ## @p32x_timers_recalc
	.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	_sh2s@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	$128, %esi
	callq	_PREG8
	andl	$7, %eax
	movl	$32, %r15d
	movl	$32, %ebx
	movl	%eax, %ecx
	shll	%cl, %ebx
	testl	%eax, %eax
	movl	$2, %eax
	cmovel	%eax, %ebx
	movq	_timer_tick_cycles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, (%rax)
	movq	_timer_cycles@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	$0, (%rax)
	movq	_EL_32XP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %r14
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_elprintf
	movq	_sh2s@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	movl	$128, %esi
	callq	_PREG8
	andl	$7, %eax
	movl	%eax, %ecx
	shll	%cl, %r15d
	testl	%eax, %eax
	movl	$2, %eax
	cmovel	%eax, %r15d
	movq	_timer_tick_cycles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, 4(%rax)
	movq	(%r13), %rax
	movq	$0, 8(%rax)
	movl	(%r12), %edi
	movq	%r14, %rsi
	movl	$1, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sh2s,8,3                       ## @sh2s
	.comm	_timer_tick_cycles,8,3          ## @timer_tick_cycles
	.comm	_timer_cycles,8,3               ## @timer_cycles
	.comm	_EL_32XP,4,2                    ## @EL_32XP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WDT cycles[%d] = %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_timers_recalc             ; -- Begin function p32x_timers_recalc
	.p2align	2
_p32x_timers_recalc:                    ; @p32x_timers_recalc
	.cfi_startproc
; %bb.0:
	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
Lloh0:
	adrp	x20, _sh2s@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sh2s@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	w1, #128
	bl	_PREG8
	ands	w8, w0, #0x7
	mov	w21, #32
	lsl	w8, w21, w8
	mov	w22, #2
	csel	w3, w22, w8, eq
Lloh2:
	adrp	x23, _timer_tick_cycles@GOTPAGE
Lloh3:
	ldr	x23, [x23, _timer_tick_cycles@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh4:
	adrp	x24, _timer_cycles@GOTPAGE
Lloh5:
	ldr	x24, [x24, _timer_cycles@GOTPAGEOFF]
	str	w3, [x8]
	ldr	x8, [x24]
	str	xzr, [x8]
Lloh6:
	adrp	x25, _EL_32XP@GOTPAGE
Lloh7:
	ldr	x25, [x25, _EL_32XP@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh8:
	adrp	x19, l_.str@PAGE
Lloh9:
	add	x19, x19, l_.str@PAGEOFF
	mov	x1, x19
	mov	w2, #0
	bl	_elprintf
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	mov	w1, #128
	bl	_PREG8
	ands	w8, w0, #0x7
	lsl	w8, w21, w8
	csel	w3, w22, w8, eq
	ldr	x8, [x23]
	str	w3, [x8, #4]
	ldr	x8, [x24]
	str	xzr, [x8, #8]
	ldr	w0, [x25]
	mov	x1, x19
	mov	w2, #1
	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
	b	_elprintf
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sh2s,8,3                       ; @sh2s
	.comm	_timer_tick_cycles,8,3          ; @timer_tick_cycles
	.comm	_timer_cycles,8,3               ; @timer_cycles
	.comm	_EL_32XP,4,2                    ; @EL_32XP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WDT cycles[%d] = %d"

.subsections_via_symbols
