	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8400_probe
_wm8400_probe:                          ## @wm8400_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, %r14
	callq	_platform_get_drvdata
	movq	%rax, %r15
	movq	_wm8400_codec@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	%rbx, (%rax)
	movq	_SNDRV_DEFAULT_IDX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SNDRV_DEFAULT_STR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_snd_soc_new_pcms
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_wm8400_add_controls
	movq	%rbx, %rdi
	callq	_wm8400_add_widgets
	movq	%r15, %rdi
	callq	_snd_soc_init_card
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%r15, %rdi
	callq	_snd_soc_free_pcms
	movq	%r15, %rdi
	callq	_snd_soc_dapm_free
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_6:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wm8400_codec,8,3               ## @wm8400_codec
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wm8400 not yet discovered\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\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to register card\n"

	.no_dead_strip	_wm8400_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8400_probe
_wm8400_probe:                          ; @wm8400_probe
	.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	x19, x0
	bl	_platform_get_drvdata
Lloh0:
	adrp	x8, _wm8400_codec@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wm8400_codec@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	cbz	x22, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	str	x22, [x8]
Lloh3:
	adrp	x8, _SNDRV_DEFAULT_IDX1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_DEFAULT_IDX1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SNDRV_DEFAULT_STR1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_DEFAULT_STR1@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_snd_soc_new_pcms
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x0, x22
	bl	_wm8400_add_controls
	mov	x0, x22
	bl	_wm8400_add_widgets
	mov	x0, x20
	bl	_snd_soc_init_card
	mov	x21, x0
	tbz	w0, #31, LBB0_6
; %bb.3:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	bl	_snd_soc_free_pcms
	mov	x0, x20
	bl	_snd_soc_dapm_free
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_5:
	mov	x21, x0
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_wm8400_codec,8,3               ; @wm8400_codec
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wm8400 not yet discovered\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\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to register card\n"

	.no_dead_strip	_wm8400_probe
.subsections_via_symbols
