	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_ca0132
_patch_ca0132:                          ## @patch_ca0132
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_snd_printdd
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, 8(%r14)
	movq	%r14, 40(%rax)
	movl	$1, (%rax)
	movq	_ca0132_mixer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_ca0132_base_init_verbs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_ca0132_base_exit_verbs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ca0132_init_verbs0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_ca0132_init_verbs1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movl	$2, 4(%rbx)
	leaq	12(%rbx), %rdi
	movq	_ca0132_unsol_hp_delayed@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r14, %rdi
	callq	_ca0132_init_chip
	movq	%r14, %rdi
	callq	_ca0132_config
	addq	$8, %rbx
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_snd_hda_parse_pin_def_config
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_ca0132_patch_ops@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"patch_ca0132\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ca0132_mixer,4,2               ## @ca0132_mixer
	.comm	_ca0132_base_init_verbs,4,2     ## @ca0132_base_init_verbs
	.comm	_ca0132_base_exit_verbs,4,2     ## @ca0132_base_exit_verbs
	.comm	_ca0132_init_verbs0,4,2         ## @ca0132_init_verbs0
	.comm	_ca0132_init_verbs1,4,2         ## @ca0132_init_verbs1
	.comm	_ca0132_unsol_hp_delayed,4,2    ## @ca0132_unsol_hp_delayed
	.comm	_ca0132_patch_ops,4,2           ## @ca0132_patch_ops
	.no_dead_strip	_patch_ca0132
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_ca0132
_patch_ca0132:                          ; @patch_ca0132
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snd_printdd
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x0, [x19, #8]
	str	x19, [x0, #40]
	mov	w8, #1
	str	w8, [x0]
Lloh5:
	adrp	x8, _ca0132_mixer@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ca0132_mixer@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x0, #32]
	str	w8, [x9]
Lloh8:
	adrp	x8, _ca0132_base_init_verbs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ca0132_base_init_verbs@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _ca0132_base_exit_verbs@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ca0132_base_exit_verbs@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh14:
	adrp	x8, _ca0132_init_verbs0@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ca0132_init_verbs0@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	x9, [x0, #16]
	str	w8, [x9]
Lloh17:
	adrp	x8, _ca0132_init_verbs1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ca0132_init_verbs1@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x9, #4]
	mov	w8, #2
	str	w8, [x0, #4]
	add	x0, x0, #12
Lloh20:
	adrp	x8, _ca0132_unsol_hp_delayed@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ca0132_unsol_hp_delayed@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	mov	x0, x19
	bl	_ca0132_init_chip
	mov	x0, x19
	bl	_ca0132_config
	add	x1, x20, #8
	mov	x0, x19
	mov	x2, #0
	bl	_snd_hda_parse_pin_def_config
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	w0, #0
Lloh23:
	adrp	x8, _ca0132_patch_ops@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ca0132_patch_ops@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"patch_ca0132\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ca0132_mixer,4,2               ; @ca0132_mixer
	.comm	_ca0132_base_init_verbs,4,2     ; @ca0132_base_init_verbs
	.comm	_ca0132_base_exit_verbs,4,2     ; @ca0132_base_exit_verbs
	.comm	_ca0132_init_verbs0,4,2         ; @ca0132_init_verbs0
	.comm	_ca0132_init_verbs1,4,2         ; @ca0132_init_verbs1
	.comm	_ca0132_unsol_hp_delayed,4,2    ; @ca0132_unsol_hp_delayed
	.comm	_ca0132_patch_ops,4,2           ; @ca0132_patch_ops
	.no_dead_strip	_patch_ca0132
.subsections_via_symbols
