	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8400_codec_probe
_wm8400_codec_probe:                    ## @wm8400_codec_probe
	.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, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$112, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, 104(%rax)
	movq	%r12, %rdi
	callq	_dev_get_drvdata
	movq	%rax, 96(%r15)
	movq	%r12, %rdi
	callq	_dev_get_drvdata
	movq	%rax, 8(%r15)
	movl	(%rax), %ebx
	movq	_power@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movq	(%r13), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_regulator_bulk_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_6:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_4:
	leaq	16(%r15), %r14
	movq	%r12, 88(%r15)
	movq	_wm8400_dai@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, 16(%r15)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 80(%r15)
	movq	_wm8400_read@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%r15)
	movq	_wm8400_write@GOTPCREL(%rip), %rcx
	movq	%rcx, 72(%r15)
	movq	_SND_SOC_BIAS_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 68(%r15)
	movq	_wm8400_set_bias_level@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%r15)
	movq	%rax, 56(%r15)
	movl	$1, 32(%r15)
	movq	_WM8400_REGISTER_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	leaq	44(%r15), %rdi
	callq	_mutex_init
	leaq	40(%r15), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	addq	$36, %rdi
	callq	_INIT_LIST_HEAD
	movq	_wm8400_probe_deferred@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movq	%r14, %rdi
	callq	_wm8400_codec_reset
	movq	_WM8400_POWER_MANAGEMENT_1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_wm8400_read
	movl	(%rbx), %esi
	movq	_WM8400_CODEC_ENA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_wm8400_write
	movq	_WM8400_LEFT_LINE_INPUT_1_2_VOLUME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_wm8400_read
	movl	(%rbx), %esi
	movq	_WM8400_IPVU@GOTPCREL(%rip), %r12
	andl	(%r12), %eax
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_wm8400_write
	movq	_WM8400_RIGHT_LINE_INPUT_1_2_VOLUME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_wm8400_read
	movl	(%rbx), %esi
	andl	(%r12), %eax
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_wm8400_write
	movq	_WM8400_LEFT_OUTPUT_VOLUME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$336, %edx                      ## imm = 0x150
	callq	_wm8400_write
	movq	_WM8400_RIGHT_OUTPUT_VOLUME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$336, %edx                      ## imm = 0x150
	callq	_wm8400_write
	movq	_wm8400_codec@GOTPCREL(%rip), %r12
	movq	%r14, (%r12)
	movq	%r15, %rdi
	callq	_schedule_work
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	$0, (%r12)
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movq	(%r13), %rsi
	movl	%eax, %edi
	callq	_regulator_bulk_free
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_power,8,3                      ## @power
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get regulators: %d\n"

	.comm	_wm8400_dai,8,3                 ## @wm8400_dai
L_.str.1:                               ## @.str.1
	.asciz	"WM8400"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_SND_SOC_BIAS_OFF,4,2           ## @SND_SOC_BIAS_OFF
	.comm	_wm8400_set_bias_level,4,2      ## @wm8400_set_bias_level
	.comm	_WM8400_REGISTER_COUNT,4,2      ## @WM8400_REGISTER_COUNT
	.comm	_wm8400_probe_deferred,4,2      ## @wm8400_probe_deferred
	.comm	_WM8400_POWER_MANAGEMENT_1,4,2  ## @WM8400_POWER_MANAGEMENT_1
	.comm	_WM8400_CODEC_ENA,4,2           ## @WM8400_CODEC_ENA
	.comm	_WM8400_LEFT_LINE_INPUT_1_2_VOLUME,4,2 ## @WM8400_LEFT_LINE_INPUT_1_2_VOLUME
	.comm	_WM8400_IPVU,4,2                ## @WM8400_IPVU
	.comm	_WM8400_RIGHT_LINE_INPUT_1_2_VOLUME,4,2 ## @WM8400_RIGHT_LINE_INPUT_1_2_VOLUME
	.comm	_WM8400_LEFT_OUTPUT_VOLUME,4,2  ## @WM8400_LEFT_OUTPUT_VOLUME
	.comm	_WM8400_RIGHT_OUTPUT_VOLUME,4,2 ## @WM8400_RIGHT_OUTPUT_VOLUME
	.comm	_wm8400_codec,8,3               ## @wm8400_codec
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_wm8400_codec_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8400_codec_probe
_wm8400_codec_probe:                    ; @wm8400_codec_probe
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #112
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	str	x0, [x0, #104]
	mov	x0, x20
	bl	_dev_get_drvdata
	str	x0, [x19, #96]
	mov	x0, x20
	bl	_dev_get_drvdata
	str	x0, [x19, #8]
	ldr	w21, [x0]
Lloh3:
	adrp	x22, _power@GOTPAGE
Lloh4:
	ldr	x22, [x22, _power@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	x2, [x22]
	mov	x0, x21
	bl	_regulator_bulk_get
	cbz	w0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_err
LBB0_3:
	mov	x0, x19
	bl	_kfree
	b	LBB0_7
LBB0_4:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_5:
	str	x20, [x19, #88]
Lloh10:
	adrp	x8, _wm8400_dai@GOTPAGE
Lloh11:
	ldr	x8, [x8, _wm8400_dai@GOTPAGEOFF]
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
	str	x20, [x8]
	mov	x20, x19
	str	x9, [x20, #16]!
Lloh14:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	str	w9, [x19, #80]
Lloh17:
	adrp	x9, _wm8400_read@GOTPAGE
Lloh18:
	ldr	x9, [x9, _wm8400_read@GOTPAGEOFF]
Lloh19:
	adrp	x10, _wm8400_write@GOTPAGE
Lloh20:
	ldr	x10, [x10, _wm8400_write@GOTPAGEOFF]
	str	x9, [x19, #24]
	str	x10, [x19, #72]
Lloh21:
	adrp	x9, _SND_SOC_BIAS_OFF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SND_SOC_BIAS_OFF@GOTPAGEOFF]
Lloh23:
	adrp	x10, _wm8400_set_bias_level@GOTPAGE
Lloh24:
	ldr	x10, [x10, _wm8400_set_bias_level@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #64]
	str	x8, [x19, #56]
	mov	w8, #1
	str	w8, [x19, #32]
Lloh27:
	adrp	x8, _WM8400_REGISTER_COUNT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WM8400_REGISTER_COUNT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	x0, x19, #44
	str	w8, [x19, #48]
	bl	_mutex_init
	add	x0, x19, #40
	bl	_INIT_LIST_HEAD
	add	x0, x19, #36
	bl	_INIT_LIST_HEAD
Lloh30:
	adrp	x8, _wm8400_probe_deferred@GOTPAGE
Lloh31:
	ldr	x8, [x8, _wm8400_probe_deferred@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_WORK
	mov	x0, x20
	bl	_wm8400_codec_reset
Lloh33:
	adrp	x21, _WM8400_POWER_MANAGEMENT_1@GOTPAGE
Lloh34:
	ldr	x21, [x21, _WM8400_POWER_MANAGEMENT_1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_wm8400_read
	ldr	w1, [x21]
Lloh35:
	adrp	x8, _WM8400_CODEC_ENA@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WM8400_CODEC_ENA@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x20
	bl	_wm8400_write
Lloh38:
	adrp	x21, _WM8400_LEFT_LINE_INPUT_1_2_VOLUME@GOTPAGE
Lloh39:
	ldr	x21, [x21, _WM8400_LEFT_LINE_INPUT_1_2_VOLUME@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_wm8400_read
	ldr	w1, [x21]
Lloh40:
	adrp	x21, _WM8400_IPVU@GOTPAGE
Lloh41:
	ldr	x21, [x21, _WM8400_IPVU@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w2, w8, w0
	mov	x0, x20
	bl	_wm8400_write
Lloh42:
	adrp	x23, _WM8400_RIGHT_LINE_INPUT_1_2_VOLUME@GOTPAGE
Lloh43:
	ldr	x23, [x23, _WM8400_RIGHT_LINE_INPUT_1_2_VOLUME@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_wm8400_read
	ldr	w1, [x23]
	ldr	w8, [x21]
	and	w2, w8, w0
	mov	x0, x20
	bl	_wm8400_write
Lloh44:
	adrp	x8, _WM8400_LEFT_OUTPUT_VOLUME@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WM8400_LEFT_OUTPUT_VOLUME@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #336
	bl	_wm8400_write
Lloh47:
	adrp	x8, _WM8400_RIGHT_OUTPUT_VOLUME@GOTPAGE
Lloh48:
	ldr	x8, [x8, _WM8400_RIGHT_OUTPUT_VOLUME@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #336
	bl	_wm8400_write
Lloh50:
	adrp	x23, _wm8400_codec@GOTPAGE
Lloh51:
	ldr	x23, [x23, _wm8400_codec@GOTPAGEOFF]
	str	x20, [x23]
	mov	x0, x19
	bl	_schedule_work
	cbz	w0, LBB0_8
; %bb.6:
	mov	w21, #0
LBB0_7:
	mov	x0, x21
	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_8:
Lloh52:
	adrp	x8, _EINVAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	neg	w21, w8
	str	xzr, [x23]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	ldr	x1, [x22]
	bl	_regulator_bulk_free
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_power,8,3                      ; @power
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get regulators: %d\n"

	.comm	_wm8400_dai,8,3                 ; @wm8400_dai
l_.str.1:                               ; @.str.1
	.asciz	"WM8400"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_SND_SOC_BIAS_OFF,4,2           ; @SND_SOC_BIAS_OFF
	.comm	_wm8400_set_bias_level,4,2      ; @wm8400_set_bias_level
	.comm	_WM8400_REGISTER_COUNT,4,2      ; @WM8400_REGISTER_COUNT
	.comm	_wm8400_probe_deferred,4,2      ; @wm8400_probe_deferred
	.comm	_WM8400_POWER_MANAGEMENT_1,4,2  ; @WM8400_POWER_MANAGEMENT_1
	.comm	_WM8400_CODEC_ENA,4,2           ; @WM8400_CODEC_ENA
	.comm	_WM8400_LEFT_LINE_INPUT_1_2_VOLUME,4,2 ; @WM8400_LEFT_LINE_INPUT_1_2_VOLUME
	.comm	_WM8400_IPVU,4,2                ; @WM8400_IPVU
	.comm	_WM8400_RIGHT_LINE_INPUT_1_2_VOLUME,4,2 ; @WM8400_RIGHT_LINE_INPUT_1_2_VOLUME
	.comm	_WM8400_LEFT_OUTPUT_VOLUME,4,2  ; @WM8400_LEFT_OUTPUT_VOLUME
	.comm	_WM8400_RIGHT_OUTPUT_VOLUME,4,2 ; @WM8400_RIGHT_OUTPUT_VOLUME
	.comm	_wm8400_codec,8,3               ; @wm8400_codec
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_wm8400_codec_probe
.subsections_via_symbols
