	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp_resources_init
_vp_resources_init:                     ## @vp_resources_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	_ENODEV@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
LBB0_14:
	movq	%r14, %rdi
	callq	_dev_err
	xorl	%eax, %eax
	subl	(%r12), %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_MXR_BIT_HAS_SCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_14
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_14
LBB0_7:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.8:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_clk_set_parent
LBB0_10:
	movq	8(%rbx), %rdi
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_platform_get_resource
	movq	_ENXIO@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movl	(%rax), %r15d
	movq	%rax, %rdi
	callq	_resource_size
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_devm_ioremap
	movq	%rax, %rcx
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_15
## %bb.13:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vp"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get clock 'vp'\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MXR_BIT_HAS_SCLK,4,2           ## @MXR_BIT_HAS_SCLK
L_.str.2:                               ## @.str.2
	.asciz	"sclk_mixer"

L_.str.3:                               ## @.str.3
	.asciz	"failed to get clock 'sclk_mixer'\n"

L_.str.4:                               ## @.str.4
	.asciz	"mout_mixer"

L_.str.5:                               ## @.str.5
	.asciz	"failed to get clock 'mout_mixer'\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.6:                               ## @.str.6
	.asciz	"get memory resource failed.\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.7:                               ## @.str.7
	.asciz	"register mapping failed.\n"

	.no_dead_strip	_vp_resources_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp_resources_init
_vp_resources_init:                     ; @vp_resources_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x20, _ENODEV@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ENODEV@GOTPAGEOFF]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	_dev_err
	ldr	w8, [x20]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x8, _MXR_BIT_HAS_SCLK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MXR_BIT_HAS_SCLK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x20, #40
	bl	_test_bit
	cbz	x0, LBB0_12
; %bb.5:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
Lloh11:
	adrp	x20, _ENODEV@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ENODEV@GOTPAGEOFF]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_7:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.8:
Lloh17:
	adrp	x20, _ENODEV@GOTPAGE
Lloh18:
	ldr	x20, [x20, _ENODEV@GOTPAGEOFF]
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_2
LBB0_9:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_12
; %bb.10:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_clk_set_parent
LBB0_12:
	ldr	x0, [x20, #8]
Lloh21:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_platform_get_resource
	cbz	x0, LBB0_15
; %bb.13:
	ldr	w21, [x0]
	bl	_resource_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_devm_ioremap
	str	x0, [x20]
	cbz	x0, LBB0_16
; %bb.14:
	mov	w0, #0
	b	LBB0_3
LBB0_15:
Lloh24:
	adrp	x20, _ENXIO@GOTPAGE
Lloh25:
	ldr	x20, [x20, _ENXIO@GOTPAGEOFF]
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_2
LBB0_16:
Lloh28:
	adrp	x20, _ENXIO@GOTPAGE
Lloh29:
	ldr	x20, [x20, _ENXIO@GOTPAGEOFF]
Lloh30:
	adrp	x1, l_.str.7@PAGE
Lloh31:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vp"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get clock 'vp'\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MXR_BIT_HAS_SCLK,4,2           ; @MXR_BIT_HAS_SCLK
l_.str.2:                               ; @.str.2
	.asciz	"sclk_mixer"

l_.str.3:                               ; @.str.3
	.asciz	"failed to get clock 'sclk_mixer'\n"

l_.str.4:                               ; @.str.4
	.asciz	"mout_mixer"

l_.str.5:                               ; @.str.5
	.asciz	"failed to get clock 'mout_mixer'\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.6:                               ; @.str.6
	.asciz	"get memory resource failed.\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.7:                               ; @.str.7
	.asciz	"register mapping failed.\n"

	.no_dead_strip	_vp_resources_init
.subsections_via_symbols
