	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx20442_register
_cx20442_register:                      ## @cx20442_register
	.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
	leaq	8(%rdi), %r14
	addq	$76, %rdi
	callq	_mutex_init
	leaq	72(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	68(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	%rbx, 56(%rbx)
	movq	_cx20442_dai@GOTPCREL(%rip), %r15
	movq	%r15, 48(%rbx)
	movl	$1, 16(%rbx)
	movq	%rbx, 40(%rbx)
	movl	(%rbx), %edi
	callq	_ARRAY_SIZE
	movl	%eax, 36(%rbx)
	movq	_cx20442_read_reg_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_cx20442_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_SND_SOC_BIAS_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	20(%rbx), %eax
	movl	%eax, (%r15)
	movq	_cx20442_codec@GOTPCREL(%rip), %r12
	movq	%r14, (%r12)
	movq	%r14, %rdi
	callq	_snd_soc_register_codec
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	movl	20(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_5
LBB0_2:
	movq	_cx20442_dai@GOTPCREL(%rip), %rdi
	callq	_snd_soc_register_dai
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r15d
	movl	20(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	%r14, %rdi
	callq	_snd_soc_unregister_codec
LBB0_5:
	movq	$0, (%r12)
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CX20442"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_cx20442_dai,4,2                ## @cx20442_dai
	.comm	_cx20442_read_reg_cache,4,2     ## @cx20442_read_reg_cache
	.comm	_cx20442_write,4,2              ## @cx20442_write
	.comm	_SND_SOC_BIAS_OFF,4,2           ## @SND_SOC_BIAS_OFF
	.comm	_cx20442_codec,8,3              ## @cx20442_codec
L_.str.1:                               ## @.str.1
	.asciz	"Failed to register codec: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to register DAI: %d\n"

	.no_dead_strip	_cx20442_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx20442_register
_cx20442_register:                      ; @cx20442_register
	.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
	add	x0, x0, #76
	bl	_mutex_init
	add	x0, x19, #72
	bl	_INIT_LIST_HEAD
	add	x0, x19, #68
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	mov	x20, x19
	str	x8, [x20, #8]!
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #64]
Lloh5:
	adrp	x21, _cx20442_dai@GOTPAGE
Lloh6:
	ldr	x21, [x21, _cx20442_dai@GOTPAGEOFF]
	stp	x21, x19, [x19, #48]
	mov	w8, #1
	str	w8, [x19, #16]
	str	x19, [x19, #40]
	ldr	w0, [x19]
	bl	_ARRAY_SIZE
Lloh7:
	adrp	x8, _cx20442_read_reg_cache@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cx20442_read_reg_cache@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _cx20442_write@GOTPAGE
Lloh11:
	ldr	x9, [x9, _cx20442_write@GOTPAGEOFF]
	stp	w8, w0, [x19, #32]
Lloh12:
	ldr	w8, [x9]
Lloh13:
	adrp	x9, _SND_SOC_BIAS_OFF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SND_SOC_BIAS_OFF@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	ldr	w8, [x19, #20]
	str	w8, [x21]
Lloh16:
	adrp	x22, _cx20442_codec@GOTPAGE
Lloh17:
	ldr	x22, [x22, _cx20442_codec@GOTPAGEOFF]
	str	x20, [x22]
	mov	x0, x20
	bl	_snd_soc_register_codec
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w0, [x19, #20]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_dev_err
	b	LBB0_4
LBB0_2:
Lloh20:
	adrp	x0, _cx20442_dai@GOTPAGE
Lloh21:
	ldr	x0, [x0, _cx20442_dai@GOTPAGEOFF]
	bl	_snd_soc_register_dai
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w0, [x19, #20]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_dev_err
	mov	x0, x20
	bl	_snd_soc_unregister_codec
LBB0_4:
	str	xzr, [x22]
	mov	x0, x19
	bl	_kfree
LBB0_5:
	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 AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CX20442"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_cx20442_dai,4,2                ; @cx20442_dai
	.comm	_cx20442_read_reg_cache,4,2     ; @cx20442_read_reg_cache
	.comm	_cx20442_write,4,2              ; @cx20442_write
	.comm	_SND_SOC_BIAS_OFF,4,2           ; @SND_SOC_BIAS_OFF
	.comm	_cx20442_codec,8,3              ; @cx20442_codec
l_.str.1:                               ; @.str.1
	.asciz	"Failed to register codec: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to register DAI: %d\n"

	.no_dead_strip	_cx20442_register
.subsections_via_symbols
