	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_clk_get                   ## -- Begin function v4l2_clk_get
	.p2align	4, 0x90
_v4l2_clk_get:                          ## @v4l2_clk_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_clk_get
	movq	%rax, %rbx
	movq	_V4L2_CLK_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_3
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.2:
	movl	%eax, %edi
LBB0_6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:
	movq	_clk_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	%r13, %rdi
	callq	_dev_name
	movq	%rax, %rdi
	callq	_v4l2_clk_find
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_11
## %bb.9:
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_v4l2_clk_name_of
	movq	%r15, %rdi
	callq	_v4l2_clk_find
	movq	%rax, %r12
LBB0_11:
	movq	%r12, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	callq	_atomic_inc
LBB0_13:
	movq	_clk_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	jmp	LBB0_14
LBB0_4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r12
	movq	%rbx, 8(%rax)
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_clk_put
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	je	LBB0_6
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CLK_NAME_SIZE,4,2         ## @V4L2_CLK_NAME_SIZE
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_clk_lock,4,2                   ## @clk_lock
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_clk_get                   ; -- Begin function v4l2_clk_get
	.p2align	2
_v4l2_clk_get:                          ; @v4l2_clk_get
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_clk_get
	mov	x23, x0
Lloh3:
	adrp	x8, _V4L2_CLK_NAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_CLK_NAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	bl	_PTR_ERR
Lloh8:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
LBB0_2:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_3:
	mov	x0, x23
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_10
; %bb.4:
Lloh14:
	adrp	x0, _clk_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _clk_lock@GOTPAGEOFF]
	bl	_mutex_lock
	mov	x0, x19
	bl	_dev_name
	bl	_v4l2_clk_find
	mov	x22, x0
	bl	_PTR_ERR
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_7
; %bb.5:
	ldr	x2, [x19]
	cbz	x2, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	bl	_v4l2_clk_name_of
	mov	x0, x21
	bl	_v4l2_clk_find
	mov	x22, x0
LBB0_7:
	mov	x0, x22
	bl	_IS_ERR
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x22
	bl	_atomic_inc
LBB0_9:
Lloh19:
	adrp	x0, _clk_lock@GOTPAGE
Lloh20:
	ldr	x0, [x0, _clk_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	b	LBB0_12
LBB0_10:
Lloh21:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_14
; %bb.11:
	mov	x22, x0
	str	x23, [x0, #8]
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.13:
	mov	x0, x22
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x23
	bl	_clk_put
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldur	x9, [x29, #-56]
Lloh30:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_16
; %bb.15:
	neg	w0, w8
	b	LBB0_2
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CLK_NAME_SIZE,4,2         ; @V4L2_CLK_NAME_SIZE
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_clk_lock,4,2                   ; @clk_lock
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
