	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_i2c_clk_notifier_cb
_cdns_i2c_clk_notifier_cb:              ## @cdns_i2c_clk_notifier_cb
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_to_cdns_i2c
	movq	%rax, %r15
	movl	20(%rax), %edi
	callq	_pm_runtime_suspended
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_NOTIFY_OK@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpq	$130, %rbx
	je	LBB0_9
## %bb.5:
	cmpq	$129, %rbx
	je	LBB0_10
## %bb.6:
	cmpq	$128, %rbx
	jne	LBB0_12
## %bb.7:
	movq	(%r14), %rsi
	movq	(%r15), %rax
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	callq	_cdns_i2c_calc_divs
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	movl	16(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	_NOTIFY_STOP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	jmp	LBB0_3
LBB0_9:
	movq	8(%r14), %rdi
	cmpq	%rdi, (%r14)
	jbe	LBB0_1
	jmp	LBB0_11
LBB0_10:
	movq	(%r14), %rdi
	movq	%rdi, 8(%r15)
	cmpq	8(%r14), %rdi
	jae	LBB0_1
LBB0_11:
	movq	%r15, %rsi
	callq	_cdns_i2c_setclk
	jmp	LBB0_1
LBB0_12:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movq	(%r14), %rdi
	movq	_NOTIFY_OK@GOTPCREL(%rip), %rbx
	cmpq	8(%r14), %rdi
	jbe	LBB0_15
## %bb.14:
	movq	%r15, %rsi
	callq	_cdns_i2c_setclk
LBB0_15:
	movl	(%rbx), %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock rate change rejected\n"

	.comm	_NOTIFY_STOP,4,2                ## @NOTIFY_STOP
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.no_dead_strip	_cdns_i2c_clk_notifier_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdns_i2c_clk_notifier_cb
_cdns_i2c_clk_notifier_cb:              ; @cdns_i2c_clk_notifier_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	bl	_to_cdns_i2c
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_pm_runtime_suspended
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _NOTIFY_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOTIFY_OK@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	cmp	x21, #130
	b.eq	LBB0_8
; %bb.4:
	cmp	x21, #129
	b.eq	LBB0_9
; %bb.5:
	cmp	x21, #128
	b.ne	LBB0_10
; %bb.6:
	ldr	x1, [x20]
	ldr	x8, [x19]
	str	x8, [sp, #8]
	add	x0, sp, #8
	add	x2, sp, #4
	mov	x3, sp
	bl	_cdns_i2c_calc_divs
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w0, [x19, #16]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh4:
	adrp	x8, _NOTIFY_STOP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NOTIFY_STOP@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	ldp	x8, x0, [x20]
	cmp	x8, x0
	b.ls	LBB0_1
	b	LBB0_12
LBB0_9:
	ldr	x0, [x20]
	str	x0, [x19, #8]
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.hs	LBB0_1
	b	LBB0_12
LBB0_10:
Lloh6:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
	ldp	x0, x8, [x20]
	cmp	x0, x8
	b.ls	LBB0_1
LBB0_12:
	mov	x1, x19
	bl	_cdns_i2c_setclk
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock rate change rejected\n"

	.comm	_NOTIFY_STOP,4,2                ; @NOTIFY_STOP
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.no_dead_strip	_cdns_i2c_clk_notifier_cb
.subsections_via_symbols
