	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cs4270_i2c_probe
_cs4270_i2c_probe:                      ## @cs4270_i2c_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, %r15
	movq	_cs4270_codec@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_5
## %bb.1:
	movl	(%r15), %edx
	addq	$4, %r15
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_3:
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_CS4270_CHIPID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_13
## %bb.6:
	movl	%ebx, %eax
	andl	$240, %eax
	leaq	4(%r15), %r14
	movl	(%r15), %edx
	cmpl	$192, %eax
	jne	LBB0_14
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	andl	$15, %ebx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_info
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	%rax, %r12
	leaq	8(%rax), %rbx
	leaq	96(%rax), %rdi
	callq	_mutex_init
	leaq	92(%r12), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r12, %rdi
	addq	$88, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, 80(%r12)
	leaq	L_.str.7(%rip), %rax
	movq	%rax, 8(%r12)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_cs4270_dai@GOTPCREL(%rip), %rax
	movq	%rax, 64(%r12)
	movl	$1, 16(%r12)
	movq	%r12, 56(%r12)
	movq	%r15, 48(%r12)
	movq	_cs4270_read_reg_cache@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r12)
	movq	_cs4270_i2c_write@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r12)
	movl	(%r12), %eax
	movl	%eax, 44(%r12)
	movq	_CS4270_NUMREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_cs4270_fill_cache
	testl	%eax, %eax
	js	LBB0_17
## %bb.9:
	movq	_CS4270_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_cs4270_read_reg_cache
	movq	_CS4270_MUTE_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_CS4270_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cs4270_i2c_write
	testl	%eax, %eax
	js	LBB0_16
## %bb.10:
	movq	_CS4270_TRANS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_cs4270_read_reg_cache
	movq	_CS4270_TRANS_SOFT@GOTPCREL(%rip), %rcx
	movq	_CS4270_TRANS_ZERO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_CS4270_TRANS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cs4270_i2c_write
	testl	%eax, %eax
	js	LBB0_16
## %bb.11:
	movq	_cs4270_dai@GOTPCREL(%rip), %rdi
	movq	%r14, (%rdi)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	callq	_snd_soc_register_dai
	testl	%eax, %eax
	js	LBB0_18
## %bb.12:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_13:
	movl	(%r15), %edx
	addq	$4, %r15
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_4
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_2
LBB0_15:
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_16:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_4
LBB0_17:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_19
LBB0_18:
	movl	%eax, %ebx
	leaq	L_.str.10(%rip), %rsi
LBB0_19:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	callq	_kfree
	movq	$0, (%r13)
	movq	_cs4270_dai@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_cs4270_codec,8,3               ## @cs4270_codec
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring CS4270 at addr %X\n"

L_.str.1:                               ## @.str.1
	.asciz	"only one per board allowed\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CS4270_CHIPID,4,2              ## @CS4270_CHIPID
L_.str.2:                               ## @.str.2
	.asciz	"failed to read i2c at addr %X\n"

L_.str.3:                               ## @.str.3
	.asciz	"device at addr %X is not a CS4270\n"

L_.str.4:                               ## @.str.4
	.asciz	"found device at i2c address %X\n"

L_.str.5:                               ## @.str.5
	.asciz	"hardware revision %X\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.6:                               ## @.str.6
	.asciz	"could not allocate codec\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.7:                               ## @.str.7
	.asciz	"CS4270"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_cs4270_dai,8,3                 ## @cs4270_dai
	.comm	_CS4270_NUMREGS,4,2             ## @CS4270_NUMREGS
L_.str.8:                               ## @.str.8
	.asciz	"failed to fill register cache\n"

	.comm	_CS4270_MUTE,4,2                ## @CS4270_MUTE
	.comm	_CS4270_MUTE_AUTO,4,2           ## @CS4270_MUTE_AUTO
L_.str.9:                               ## @.str.9
	.asciz	"i2c write failed\n"

	.comm	_CS4270_TRANS,4,2               ## @CS4270_TRANS
	.comm	_CS4270_TRANS_SOFT,4,2          ## @CS4270_TRANS_SOFT
	.comm	_CS4270_TRANS_ZERO,4,2          ## @CS4270_TRANS_ZERO
L_.str.10:                              ## @.str.10
	.asciz	"failed to register DAIe\n"

	.no_dead_strip	_cs4270_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cs4270_i2c_probe
_cs4270_i2c_probe:                      ; @cs4270_i2c_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x25, _cs4270_codec@GOTPAGE
Lloh1:
	ldr	x25, [x25, _cs4270_codec@GOTPAGEOFF]
	ldr	x8, [x25]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x19], #4
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_2:
	bl	_dev_err
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
Lloh8:
	adrp	x8, _CS4270_CHIPID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CS4270_CHIPID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
	tbnz	w0, #31, LBB0_13
; %bb.6:
	and	w8, w22, #0xf0
	mov	x20, x19
	ldr	w2, [x20], #4
	cmp	w8, #192
	b.ne	LBB0_14
; %bb.7:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_info
	and	w2, w22, #0xf
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #104
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.8:
	mov	x21, x0
	add	x0, x0, #96
	bl	_mutex_init
	add	x0, x21, #92
	bl	_INIT_LIST_HEAD
	add	x0, x21, #88
	bl	_INIT_LIST_HEAD
Lloh18:
	adrp	x8, l_.str.7@PAGE
Lloh19:
	add	x8, x8, l_.str.7@PAGEOFF
	mov	x24, x21
	str	x8, [x24, #8]!
	str	x20, [x21, #80]
Lloh20:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x23, _cs4270_dai@GOTPAGE
Lloh24:
	ldr	x23, [x23, _cs4270_dai@GOTPAGEOFF]
	str	w8, [x21, #72]
	stp	x21, x23, [x21, #56]
	mov	w8, #1
	str	w8, [x21, #16]
	str	x19, [x21, #48]
Lloh25:
	adrp	x8, _cs4270_read_reg_cache@GOTPAGE
Lloh26:
	ldr	x8, [x8, _cs4270_read_reg_cache@GOTPAGEOFF]
Lloh27:
	adrp	x9, _cs4270_i2c_write@GOTPAGE
Lloh28:
	ldr	x9, [x9, _cs4270_i2c_write@GOTPAGEOFF]
	stp	x8, x9, [x21, #24]
	ldr	w8, [x21]
Lloh29:
	adrp	x9, _CS4270_NUMREGS@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CS4270_NUMREGS@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #40]
	mov	x0, x24
	bl	_cs4270_fill_cache
	tbnz	w0, #31, LBB0_17
; %bb.9:
Lloh32:
	adrp	x22, _CS4270_MUTE@GOTPAGE
Lloh33:
	ldr	x22, [x22, _CS4270_MUTE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x24
	bl	_cs4270_read_reg_cache
Lloh34:
	adrp	x8, _CS4270_MUTE_AUTO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CS4270_MUTE_AUTO@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x24
	bl	_cs4270_i2c_write
	tbnz	w0, #31, LBB0_16
; %bb.10:
Lloh37:
	adrp	x22, _CS4270_TRANS@GOTPAGE
Lloh38:
	ldr	x22, [x22, _CS4270_TRANS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x24
	bl	_cs4270_read_reg_cache
Lloh39:
	adrp	x8, _CS4270_TRANS_SOFT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CS4270_TRANS_SOFT@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _CS4270_TRANS_ZERO@GOTPAGE
Lloh43:
	ldr	x9, [x9, _CS4270_TRANS_ZERO@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x24
	bl	_cs4270_i2c_write
	tbnz	w0, #31, LBB0_16
; %bb.11:
	str	x20, [x23]
	str	x24, [x25]
	mov	x0, x23
	bl	_snd_soc_register_dai
	tbnz	w0, #31, LBB0_18
; %bb.12:
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	mov	w22, #0
	b	LBB0_4
LBB0_13:
	ldr	w8, [x19], #4
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_4
LBB0_14:
	str	x2, [sp]
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	b	LBB0_2
LBB0_15:
Lloh49:
	adrp	x1, l_.str.6@PAGE
Lloh50:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh51:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
LBB0_16:
	mov	x22, x0
Lloh53:
	adrp	x1, l_.str.9@PAGE
Lloh54:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_4
LBB0_17:
	mov	x22, x0
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_19
LBB0_18:
	mov	x22, x0
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_19:
	mov	x0, x20
	bl	_dev_err
	mov	x0, x21
	bl	_kfree
	str	xzr, [x25]
	str	xzr, [x23]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_cs4270_codec,8,3               ; @cs4270_codec
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring CS4270 at addr %X\n"

l_.str.1:                               ; @.str.1
	.asciz	"only one per board allowed\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CS4270_CHIPID,4,2              ; @CS4270_CHIPID
l_.str.2:                               ; @.str.2
	.asciz	"failed to read i2c at addr %X\n"

l_.str.3:                               ; @.str.3
	.asciz	"device at addr %X is not a CS4270\n"

l_.str.4:                               ; @.str.4
	.asciz	"found device at i2c address %X\n"

l_.str.5:                               ; @.str.5
	.asciz	"hardware revision %X\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.6:                               ; @.str.6
	.asciz	"could not allocate codec\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.7:                               ; @.str.7
	.asciz	"CS4270"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_cs4270_dai,8,3                 ; @cs4270_dai
	.comm	_CS4270_NUMREGS,4,2             ; @CS4270_NUMREGS
l_.str.8:                               ; @.str.8
	.asciz	"failed to fill register cache\n"

	.comm	_CS4270_MUTE,4,2                ; @CS4270_MUTE
	.comm	_CS4270_MUTE_AUTO,4,2           ; @CS4270_MUTE_AUTO
l_.str.9:                               ; @.str.9
	.asciz	"i2c write failed\n"

	.comm	_CS4270_TRANS,4,2               ; @CS4270_TRANS
	.comm	_CS4270_TRANS_SOFT,4,2          ; @CS4270_TRANS_SOFT
	.comm	_CS4270_TRANS_ZERO,4,2          ; @CS4270_TRANS_ZERO
l_.str.10:                              ; @.str.10
	.asciz	"failed to register DAIe\n"

	.no_dead_strip	_cs4270_i2c_probe
.subsections_via_symbols
