	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mipid02_configure_clk_lane
_mipid02_configure_clk_lane:            ## @mipid02_configure_clk_lane
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	24(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	movq	_CLK_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clk lane must be map to lane 0\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CLK_ENABLE,4,2                 ## @CLK_ENABLE
	.no_dead_strip	_mipid02_configure_clk_lane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mipid02_configure_clk_lane
_mipid02_configure_clk_lane:            ; @mipid02_configure_clk_lane
	.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
	mov	x8, x0
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x0, [x8, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	ldr	x9, [x8, #8]
Lloh5:
	adrp	x10, _CLK_ENABLE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CLK_ENABLE@GOTPAGEOFF]
	ldr	w9, [x9]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9, lsl #1
	ldr	w10, [x8]
	orr	w9, w9, w10
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clk lane must be map to lane 0\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CLK_ENABLE,4,2                 ; @CLK_ENABLE
	.no_dead_strip	_mipid02_configure_clk_lane
.subsections_via_symbols
