	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clock_and_divisors
_clock_and_divisors:                    ## @clock_and_divisors
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%edi, %eax
	cltd
	idivl	%esi
	movl	$-1, %r12d
	testl	%edx, %edx
	jne	LBB0_12
## %bb.1:
	movq	%rcx, %r14
	movl	%edi, %ebx
	movl	%eax, %edi
	movq	%rcx, %rsi
	callq	_i2s_sf_sclkdiv
	testq	%rax, %rax
	jne	LBB0_12
## %bb.2:
	movq	_I2S_CLOCK_SPEED_18MHz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%ebx, %r15d
	cltd
	idivl	%r15d
	testl	%edx, %edx
	jne	LBB0_5
## %bb.3:
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_i2s_sf_mclkdiv
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	_I2S_CLOCK_SPEED_45MHz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%r15d
	testl	%edx, %edx
	jne	LBB0_8
## %bb.6:
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_i2s_sf_mclkdiv
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movq	_I2S_CLOCK_SPEED_49MHz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%r15d
	testl	%edx, %edx
	jne	LBB0_12
## %bb.9:
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_i2s_sf_mclkdiv
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	_I2S_SF_CLOCK_SOURCE_49MHz@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_I2S_SF_CLOCK_SOURCE_18MHz@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	movq	_I2S_SF_CLOCK_SOURCE_45MHz@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	orl	%eax, (%r14)
	xorl	%r12d, %r12d
LBB0_12:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2S_CLOCK_SPEED_18MHz,4,2      ## @I2S_CLOCK_SPEED_18MHz
	.comm	_I2S_SF_CLOCK_SOURCE_18MHz,4,2  ## @I2S_SF_CLOCK_SOURCE_18MHz
	.comm	_I2S_CLOCK_SPEED_45MHz,4,2      ## @I2S_CLOCK_SPEED_45MHz
	.comm	_I2S_SF_CLOCK_SOURCE_45MHz,4,2  ## @I2S_SF_CLOCK_SOURCE_45MHz
	.comm	_I2S_CLOCK_SPEED_49MHz,4,2      ## @I2S_CLOCK_SPEED_49MHz
	.comm	_I2S_SF_CLOCK_SOURCE_49MHz,4,2  ## @I2S_SF_CLOCK_SOURCE_49MHz
	.no_dead_strip	_clock_and_divisors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clock_and_divisors
_clock_and_divisors:                    ; @clock_and_divisors
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x0
	sdiv	w0, w0, w1
	msub	w8, w0, w1, w21
	cbnz	w8, LBB0_8
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x1, x3
	bl	_i2s_sf_sclkdiv
	cbnz	x0, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _I2S_CLOCK_SPEED_18MHz@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2S_CLOCK_SPEED_18MHz@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w20, w20, w21
	sdiv	w0, w8, w20
	msub	w8, w0, w20, w8
	cbnz	w8, LBB0_4
; %bb.3:
	mov	x1, x19
	bl	_i2s_sf_mclkdiv
	cbz	w0, LBB0_10
LBB0_4:
Lloh3:
	adrp	x8, _I2S_CLOCK_SPEED_45MHz@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2S_CLOCK_SPEED_45MHz@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sdiv	w0, w8, w20
	msub	w8, w0, w20, w8
	cbnz	w8, LBB0_6
; %bb.5:
	mov	x1, x19
	bl	_i2s_sf_mclkdiv
	cbz	w0, LBB0_11
LBB0_6:
Lloh6:
	adrp	x8, _I2S_CLOCK_SPEED_49MHz@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I2S_CLOCK_SPEED_49MHz@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sdiv	w0, w8, w20
	msub	w8, w0, w20, w8
	cbnz	w8, LBB0_8
; %bb.7:
	mov	x1, x19
	bl	_i2s_sf_mclkdiv
	cbz	w0, LBB0_12
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh9:
	adrp	x8, _I2S_SF_CLOCK_SOURCE_18MHz@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2S_SF_CLOCK_SOURCE_18MHz@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh11:
	adrp	x8, _I2S_SF_CLOCK_SOURCE_45MHz@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I2S_SF_CLOCK_SOURCE_45MHz@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh13:
	adrp	x8, _I2S_SF_CLOCK_SOURCE_49MHz@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I2S_SF_CLOCK_SOURCE_49MHz@GOTPAGEOFF]
LBB0_13:
	mov	w0, #0
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I2S_CLOCK_SPEED_18MHz,4,2      ; @I2S_CLOCK_SPEED_18MHz
	.comm	_I2S_SF_CLOCK_SOURCE_18MHz,4,2  ; @I2S_SF_CLOCK_SOURCE_18MHz
	.comm	_I2S_CLOCK_SPEED_45MHz,4,2      ; @I2S_CLOCK_SPEED_45MHz
	.comm	_I2S_SF_CLOCK_SOURCE_45MHz,4,2  ; @I2S_SF_CLOCK_SOURCE_45MHz
	.comm	_I2S_CLOCK_SPEED_49MHz,4,2      ; @I2S_CLOCK_SPEED_49MHz
	.comm	_I2S_SF_CLOCK_SOURCE_49MHz,4,2  ; @I2S_SF_CLOCK_SOURCE_49MHz
	.no_dead_strip	_clock_and_divisors
.subsections_via_symbols
