	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pulse_clocks_to_clock_divider
_pulse_clocks_to_clock_divider:         ## @pulse_clocks_to_clock_divider
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_FIFO_RXTX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(,%rax,4), %esi
	callq	_do_div
	movq	_RXCLK_RCD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	-1(%rbx), %edx
	cmpl	$2, %ebx
	movl	$1, %eax
	cmovgel	%edx, %eax
	leal	1(%rcx), %edx
	cmpl	%ebx, %edx
	cmovll	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIFO_RXTX,4,2                  ## @FIFO_RXTX
	.comm	_RXCLK_RCD,4,2                  ## @RXCLK_RCD
	.no_dead_strip	_pulse_clocks_to_clock_divider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pulse_clocks_to_clock_divider
_pulse_clocks_to_clock_divider:         ; @pulse_clocks_to_clock_divider
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _FIFO_RXTX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIFO_RXTX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w1, #3
	bfi	w1, w8, #2, #30
	bl	_do_div
Lloh3:
	adrp	x8, _RXCLK_RCD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXCLK_RCD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w9, w8, #1
	subs	w10, w19, #1
	csinc	w10, w10, wzr, gt
	cmp	w9, w19
	csel	w0, w8, w10, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIFO_RXTX,4,2                  ; @FIFO_RXTX
	.comm	_RXCLK_RCD,4,2                  ; @RXCLK_RCD
	.no_dead_strip	_pulse_clocks_to_clock_divider
.subsections_via_symbols
