	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm97xx_ac97_probe
_wm97xx_ac97_probe:                     ## @wm97xx_ac97_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, %rbx
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	callq	_snd_ac97_codec_get_platdata
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ac97_codec_dev2dev
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ac97_codec_dev2dev
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	callq	_snd_ac97_compat_alloc
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.19:
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_18
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ac97_set_drvdata
	movl	4(%r14), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movl	(%r14), %eax
	movl	%eax, 24(%r14)
	testq	%r12, %r12
	je	LBB0_4
## %bb.5:
	movq	(%r12), %rax
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movq	%rax, 16(%r14)
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_17
## %bb.7:
	movq	%r14, %rbx
	addq	$8, %rbx
	cltq
	leaq	l_switch.table.wm97xx_ac97_probe(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.wm97xx_ac97_probe.1(%rip), %rdx
	movq	(%rdx,%rax,8), %r13
	movq	(%rcx), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	LBB0_14
## %bb.8:
	movl	%r12d, %eax
	cmpl	$1, %r12d
	jne	LBB0_10
## %bb.9:
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_10:
	movl	%eax, %edx
	andl	$-2, %edx
	leaq	24(%r15), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -16(%rsi)
	movl	$24, -24(%rsi)
	movq	%rbx, (%rsi)
	movl	$24, -8(%rsi)
	addq	$2, %rcx
	addq	$32, %rsi
	cmpq	%rcx, %rdx
	jne	LBB0_11
LBB0_12:
	testb	$1, %al
	je	LBB0_14
## %bb.13:
	shlq	$4, %rcx
	movq	%rbx, 8(%r15,%rcx)
	movl	$24, (%r15,%rcx)
LBB0_14:
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_devm_regmap_init_ac97
	movl	%eax, 8(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r15d
	jmp	LBB0_17
LBB0_16:
	movl	4(%r14), %edi
	movq	_PLATFORM_DEVID_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	$0, (%rsp)
	xorl	%r13d, %r13d
	movq	%r15, %rdx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_devm_mfd_add_devices
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_18
LBB0_17:
	movl	(%r14), %edi
	callq	_snd_ac97_compat_release
	movl	%r15d, %r13d
LBB0_18:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wm97xx core found, id=0x%x\n"

	.comm	_wm9705_regmap_config,4,2       ## @wm9705_regmap_config
	.comm	_wm9705_cells,8,3               ## @wm9705_cells
	.comm	_wm9712_regmap_config,4,2       ## @wm9712_regmap_config
	.comm	_wm9712_cells,8,3               ## @wm9712_cells
	.comm	_wm9713_regmap_config,4,2       ## @wm9713_regmap_config
	.comm	_wm9713_cells,8,3               ## @wm9713_cells
	.comm	_PLATFORM_DEVID_NONE,4,2        ## @PLATFORM_DEVID_NONE
	.no_dead_strip	_wm97xx_ac97_probe
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.wm97xx_ac97_probe
l_switch.table.wm97xx_ac97_probe:
	.quad	_wm9713_cells
	.quad	_wm9712_cells
	.quad	_wm9705_cells

	.p2align	3                               ## @switch.table.wm97xx_ac97_probe.1
l_switch.table.wm97xx_ac97_probe.1:
	.quad	_wm9713_regmap_config
	.quad	_wm9712_regmap_config
	.quad	_wm9705_regmap_config

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm97xx_ac97_probe
_wm97xx_ac97_probe:                     ; @wm97xx_ac97_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, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_snd_ac97_codec_get_platdata
	mov	x22, x0
	mov	x0, x20
	bl	_ac97_codec_dev2dev
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_ac97_codec_dev2dev
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_snd_ac97_compat_alloc
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	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	_PTR_ERR
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_20
LBB0_4:
	neg	w21, w21
	mov	x0, x20
	mov	x1, x19
	bl	_ac97_set_drvdata
	ldr	w0, [x19, #4]
	ldr	w2, [x20]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w8, [x19]
	str	w8, [x19, #24]
	cbz	x22, LBB0_6
; %bb.5:
	ldr	x8, [x22]
	b	LBB0_7
LBB0_6:
	mov	x8, #0
LBB0_7:
	str	x8, [x19, #16]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_19
; %bb.8:
	sbfiz	x8, x8, #3, #32
Lloh11:
	adrp	x9, l_switch.table.wm97xx_ac97_probe@PAGE
Lloh12:
	add	x9, x9, l_switch.table.wm97xx_ac97_probe@PAGEOFF
	ldr	x9, [x9, x8]
	add	x23, x19, #8
Lloh13:
	adrp	x10, l_switch.table.wm97xx_ac97_probe.1@PAGE
Lloh14:
	add	x10, x10, l_switch.table.wm97xx_ac97_probe.1@PAGEOFF
	ldr	x22, [x10, x8]
	ldr	x20, [x9]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x21, x0
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.9:
	mov	w8, w21
	cmp	w21, #4
	b.hs	LBB0_11
; %bb.10:
	mov	x9, #0
	b	LBB0_14
LBB0_11:
	and	x9, x8, #0xfffffffc
	add	x10, x20, #32
	mov	w11, #24
	mov	x12, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	stur	x23, [x10, #-24]
	stur	x23, [x10, #-8]
	str	x23, [x10, #8]
	str	x23, [x10, #24]
	stur	w11, [x10, #-32]
	stur	w11, [x10, #-16]
	str	w11, [x10]
	str	w11, [x10, #16]
	add	x10, x10, #64
	subs	x12, x12, #4
	b.ne	LBB0_12
; %bb.13:
	cmp	x9, x8
	b.eq	LBB0_16
LBB0_14:
	add	x10, x20, x9, lsl #4
	add	x10, x10, #8
	sub	x8, x8, x9
	mov	w9, #24
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	str	x23, [x10]
	stur	w9, [x10, #-8]
	add	x10, x10, #16
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
	ldr	w0, [x19]
	mov	x1, x22
	bl	_devm_regmap_init_ac97
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.17:
	ldr	w0, [x23]
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_19
LBB0_18:
	ldr	w0, [x19, #4]
Lloh15:
	adrp	x8, _PLATFORM_DEVID_NONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PLATFORM_DEVID_NONE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x20
	mov	x3, x21
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_devm_mfd_add_devices
	mov	x21, x0
	cbz	w0, LBB0_20
LBB0_19:
	ldr	w0, [x19]
	bl	_snd_ac97_compat_release
LBB0_20:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wm97xx core found, id=0x%x\n"

	.comm	_wm9705_regmap_config,4,2       ; @wm9705_regmap_config
	.comm	_wm9705_cells,8,3               ; @wm9705_cells
	.comm	_wm9712_regmap_config,4,2       ; @wm9712_regmap_config
	.comm	_wm9712_cells,8,3               ; @wm9712_cells
	.comm	_wm9713_regmap_config,4,2       ; @wm9713_regmap_config
	.comm	_wm9713_cells,8,3               ; @wm9713_cells
	.comm	_PLATFORM_DEVID_NONE,4,2        ; @PLATFORM_DEVID_NONE
	.no_dead_strip	_wm97xx_ac97_probe
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.wm97xx_ac97_probe
l_switch.table.wm97xx_ac97_probe:
	.quad	_wm9713_cells
	.quad	_wm9712_cells
	.quad	_wm9705_cells

	.p2align	3                               ; @switch.table.wm97xx_ac97_probe.1
l_switch.table.wm97xx_ac97_probe.1:
	.quad	_wm9713_regmap_config
	.quad	_wm9712_regmap_config
	.quad	_wm9705_regmap_config

.subsections_via_symbols
