	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_lpss_register_clock_divider
_intel_lpss_register_clock_divider:     ## @intel_lpss_register_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdx), %rbx
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$32, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movq	%rbx, %rdi
	callq	___clk_get_name
	movl	(%r15), %r8d
	xorl	%edi, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_clk_register_gate
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$32, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movq	%rbx, %rdi
	callq	___clk_get_name
	movl	(%r15), %r8d
	subq	$8, %rsp
	xorl	%edi, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movl	$1, %r9d
	pushq	$0
	pushq	$0
	pushq	$15
	pushq	$16
	pushq	$15
	callq	_clk_register_fractional_divider
	addq	$48, %rsp
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	%rbx, %rdi
LBB0_2:
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, (%r14)
	leaq	L_.str.2(%rip), %rdx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$32, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movq	%rbx, %rdi
	callq	___clk_get_name
	movq	_CLK_SET_RATE_PARENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%r15), %r8d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	movl	$31, %r9d
	pushq	$0
	pushq	$0
	callq	_clk_register_gate
	addq	$16, %rsp
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	jmp	LBB0_2
LBB0_6:
	movq	%r15, (%r14)
	jmp	LBB0_7
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-enable"

L_.str.1:                               ## @.str.1
	.asciz	"%s-div"

L_.str.2:                               ## @.str.2
	.asciz	"%s-update"

	.comm	_CLK_SET_RATE_PARENT,4,2        ## @CLK_SET_RATE_PARENT
	.no_dead_strip	_intel_lpss_register_clock_divider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_lpss_register_clock_divider
_intel_lpss_register_clock_divider:     ; @intel_lpss_register_clock_divider
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x22, [x2]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w1, #32
	mov	x3, x21
	bl	_snprintf
	mov	x0, x22
	bl	___clk_get_name
	mov	x2, x0
	ldr	w4, [x20]
	add	x1, sp, #24
	mov	x0, #0
	mov	w3, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_clk_register_gate
	mov	x22, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #24
	mov	w1, #32
	mov	x3, x21
	bl	_snprintf
	mov	x0, x22
	bl	___clk_get_name
	mov	x2, x0
	ldr	w4, [x20]
	mov	w8, #15
	stp	x8, xzr, [sp]
	add	x1, sp, #24
	mov	x0, #0
	mov	w3, #0
	mov	w5, #1
	mov	w6, #15
	mov	w7, #16
	bl	_clk_register_fractional_divider
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
LBB0_2:
	mov	x0, x22
LBB0_3:
	bl	_PTR_ERR
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	str	x22, [x19]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #24
	mov	w1, #32
	mov	x3, x21
	bl	_snprintf
	mov	x0, x22
	bl	___clk_get_name
	mov	x2, x0
Lloh12:
	adrp	x8, _CLK_SET_RATE_PARENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CLK_SET_RATE_PARENT@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	ldr	w4, [x20]
	add	x1, sp, #24
	mov	x0, #0
	mov	w5, #31
	mov	w6, #0
	mov	x7, #0
	bl	_clk_register_gate
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	b	LBB0_3
LBB0_8:
	str	x20, [x19]
	b	LBB0_4
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-enable"

l_.str.1:                               ; @.str.1
	.asciz	"%s-div"

l_.str.2:                               ; @.str.2
	.asciz	"%s-update"

	.comm	_CLK_SET_RATE_PARENT,4,2        ; @CLK_SET_RATE_PARENT
	.no_dead_strip	_intel_lpss_register_clock_divider
.subsections_via_symbols
