	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2s_sf_sclkdiv
_i2s_sf_sclkdiv:                        ## @i2s_sf_sclkdiv
	.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
	movq	%rsi, %rbx
	cmpl	$3, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$1, %edi
	jne	LBB0_4
## %bb.2:
	movq	_I2S_SF_SCLKDIV_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_3:
	movq	_I2S_SF_SCLKDIV_3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_4:
	movl	$-1, %eax
	testb	$1, %dil
	jne	LBB0_8
## %bb.5:
	movl	%edi, %ecx
	shrl	$31, %ecx
	addl	%edi, %ecx
	sarl	%ecx
	decl	%ecx
	andl	$-2, %ecx
	cmpl	$8, %ecx
	je	LBB0_8
## %bb.6:
	callq	_I2S_SF_SCLKDIV_OTHER
LBB0_7:
	orl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2S_SF_SCLKDIV_1,4,2           ## @I2S_SF_SCLKDIV_1
	.comm	_I2S_SF_SCLKDIV_3,4,2           ## @I2S_SF_SCLKDIV_3
	.no_dead_strip	_i2s_sf_sclkdiv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2s_sf_sclkdiv
_i2s_sf_sclkdiv:                        ; @i2s_sf_sclkdiv
	.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, x1
	cmp	w0, #3
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _I2S_SF_SCLKDIV_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2S_SF_SCLKDIV_1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_3:
Lloh3:
	adrp	x8, _I2S_SF_SCLKDIV_3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2S_SF_SCLKDIV_3@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_8
LBB0_4:
	tbnz	w0, #0, LBB0_6
; %bb.5:
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	sub	w8, w8, #1
	and	w8, w8, #0xfffffffe
	cmp	w8, #8
	b.ne	LBB0_7
LBB0_6:
	mov	w0, #-1
	b	LBB0_9
LBB0_7:
	bl	_I2S_SF_SCLKDIV_OTHER
	mov	x8, x0
LBB0_8:
	mov	w0, #0
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I2S_SF_SCLKDIV_1,4,2           ; @I2S_SF_SCLKDIV_1
	.comm	_I2S_SF_SCLKDIV_3,4,2           ; @I2S_SF_SCLKDIV_3
	.no_dead_strip	_i2s_sf_sclkdiv
.subsections_via_symbols
