	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max2165_set_osc
_max2165_set_osc:                       ## @max2165_set_osc
	.cfi_startproc
## %bb.0:
	movl	%esi, %eax
	andl	$-2, %eax
	movl	$7, %ecx
	cmpl	$4, %eax
	je	LBB0_2
## %bb.1:
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	addl	$-8, %ecx
LBB0_2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_REG_PLL_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$7, %edx
	callq	_max2165_mask_write_reg
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_PLL_CFG,4,2                ## @REG_PLL_CFG
	.no_dead_strip	_max2165_set_osc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max2165_set_osc
_max2165_set_osc:                       ; @max2165_set_osc
	.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
	and	w8, w1, #0xfffffffe
	mov	w9, #7
	cmp	w1, #0
	cinc	w10, w1, lt
	asr	w10, w10, #1
	sub	w10, w10, #8
	cmp	w8, #4
	csel	w3, w9, w10, eq
Lloh0:
	adrp	x8, _REG_PLL_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_PLL_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #7
	bl	_max2165_mask_write_reg
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_PLL_CFG,4,2                ; @REG_PLL_CFG
	.no_dead_strip	_max2165_set_osc
.subsections_via_symbols
