	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpmc_calc_waitmonitoring_divider
_gpmc_calc_waitmonitoring_divider:      ## @gpmc_calc_waitmonitoring_divider
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_gpmc_ns_to_ticks
                                        ## kill: def $eax killed $eax def $rax
	movq	_GPMC_CONFIG1_WAITMONITORINGTIME_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	cmpl	$5, %eax
	movl	$-1, %eax
	cmovll	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPMC_CONFIG1_WAITMONITORINGTIME_MAX,4,2 ## @GPMC_CONFIG1_WAITMONITORINGTIME_MAX
	.no_dead_strip	_gpmc_calc_waitmonitoring_divider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpmc_calc_waitmonitoring_divider
_gpmc_calc_waitmonitoring_divider:      ; @gpmc_calc_waitmonitoring_divider
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_gpmc_ns_to_ticks
Lloh0:
	adrp	x8, _GPMC_CONFIG1_WAITMONITORINGTIME_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPMC_CONFIG1_WAITMONITORINGTIME_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w0, w8
	sub	w9, w9, #1
	sdiv	w8, w9, w8
	cmp	w8, #1
	csinc	w9, w8, wzr, gt
	cmp	w8, #4
	csinv	w0, w9, wzr, le
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPMC_CONFIG1_WAITMONITORINGTIME_MAX,4,2 ; @GPMC_CONFIG1_WAITMONITORINGTIME_MAX
	.no_dead_strip	_gpmc_calc_waitmonitoring_divider
.subsections_via_symbols
