	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8988_probe
_wm8988_probe:                          ## @wm8988_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_platform_get_drvdata
	movq	%rax, %r14
	movq	_wm8988_codec@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rdx
	movq	%rcx, (%rdx)
	movq	(%rax), %r15
	movq	_SNDRV_DEFAULT_IDX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SNDRV_DEFAULT_STR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_snd_soc_new_pcms
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_wm8988_snd_controls@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_snd_soc_add_controls
	movq	_wm8988_dapm_widgets@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_snd_soc_dapm_new_controls
	movq	_audio_map@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_snd_soc_dapm_add_routes
	movq	%r15, %rdi
	callq	_snd_soc_dapm_new_widgets
	movq	%r14, %rdi
	callq	_snd_soc_init_card
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r14, %rdi
	callq	_snd_soc_free_pcms
	movq	%r14, %rdi
	callq	_snd_soc_dapm_free
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %r12d
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_6:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wm8988_codec,8,3               ## @wm8988_codec
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Codec device not registered\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_SNDRV_DEFAULT_IDX1,4,2         ## @SNDRV_DEFAULT_IDX1
	.comm	_SNDRV_DEFAULT_STR1,4,2         ## @SNDRV_DEFAULT_STR1
L_.str.1:                               ## @.str.1
	.asciz	"failed to create pcms: %d\n"

	.comm	_wm8988_snd_controls,4,2        ## @wm8988_snd_controls
	.comm	_wm8988_dapm_widgets,4,2        ## @wm8988_dapm_widgets
	.comm	_audio_map,4,2                  ## @audio_map
L_.str.2:                               ## @.str.2
	.asciz	"failed to register card: %d\n"

	.no_dead_strip	_wm8988_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8988_probe
_wm8988_probe:                          ; @wm8988_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_platform_get_drvdata
Lloh0:
	adrp	x8, _wm8988_codec@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wm8988_codec@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x10, [x0]
	str	x9, [x10]
	ldr	x20, [x8]
Lloh2:
	adrp	x8, _SNDRV_DEFAULT_IDX1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNDRV_DEFAULT_IDX1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _SNDRV_DEFAULT_STR1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_DEFAULT_STR1@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_snd_soc_new_pcms
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _wm8988_snd_controls@GOTPAGE
Lloh9:
	ldr	x8, [x8, _wm8988_snd_controls@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_snd_soc_add_controls
Lloh11:
	adrp	x8, _wm8988_dapm_widgets@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wm8988_dapm_widgets@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_snd_soc_dapm_new_controls
Lloh14:
	adrp	x8, _audio_map@GOTPAGE
Lloh15:
	ldr	x8, [x8, _audio_map@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_snd_soc_dapm_add_routes
	mov	x0, x20
	bl	_snd_soc_dapm_new_widgets
	mov	x0, x19
	bl	_snd_soc_init_card
	mov	x21, x0
	tbz	w0, #31, LBB0_6
; %bb.3:
	ldr	w0, [x20]
	mov	x8, x21
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	mov	x0, x19
	bl	_snd_soc_free_pcms
	mov	x0, x19
	bl	_snd_soc_dapm_free
	b	LBB0_6
LBB0_4:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh21:
	adrp	x8, _ENODEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_5:
	mov	x21, x0
	ldr	w0, [x20]
	str	x21, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_wm8988_codec,8,3               ; @wm8988_codec
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Codec device not registered\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_SNDRV_DEFAULT_IDX1,4,2         ; @SNDRV_DEFAULT_IDX1
	.comm	_SNDRV_DEFAULT_STR1,4,2         ; @SNDRV_DEFAULT_STR1
l_.str.1:                               ; @.str.1
	.asciz	"failed to create pcms: %d\n"

	.comm	_wm8988_snd_controls,4,2        ; @wm8988_snd_controls
	.comm	_wm8988_dapm_widgets,4,2        ; @wm8988_dapm_widgets
	.comm	_audio_map,4,2                  ; @audio_map
l_.str.2:                               ; @.str.2
	.asciz	"failed to register card: %d\n"

	.no_dead_strip	_wm8988_probe
.subsections_via_symbols
