	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxt5066_thinkpad_automic
_cxt5066_thinkpad_automic:              ## @cxt5066_thinkpad_automic
	.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, %r15
	movl	$27, %esi
	callq	_snd_hda_jack_detect
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	$26, %esi
	callq	_snd_hda_jack_detect
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	_cxt5066_thinkpad_automic.ext_mic_absent(%rip), %rax
	leaq	_cxt5066_thinkpad_automic.dock_mic_present(%rip), %rdx
	cmoveq	%rax, %rdx
	testl	%r14d, %r14d
	leaq	L_.str(%rip), %rdi
	cmoveq	%rcx, %rdi
	leaq	_cxt5066_thinkpad_automic.ext_mic_present(%rip), %rbx
	cmoveq	%rdx, %rbx
	callq	_snd_printdd
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_sequence_write         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @cxt5066_thinkpad_automic.ext_mic_present
_cxt5066_thinkpad_automic.ext_mic_present:
	.long	20                              ## 0x14
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	23                              ## 0x17
	.long	131                             ## 0x83
	.long	1                               ## 0x1
	.long	27                              ## 0x1b
	.long	130                             ## 0x82
	.long	128                             ## 0x80
	.long	35                              ## 0x23
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	26                              ## 0x1a
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.space	12

	.p2align	4                               ## @cxt5066_thinkpad_automic.dock_mic_present
_cxt5066_thinkpad_automic.dock_mic_present:
	.long	20                              ## 0x14
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	23                              ## 0x17
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	26                              ## 0x1a
	.long	130                             ## 0x82
	.long	128                             ## 0x80
	.long	35                              ## 0x23
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	27                              ## 0x1b
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.space	12

	.p2align	4                               ## @cxt5066_thinkpad_automic.ext_mic_absent
_cxt5066_thinkpad_automic.ext_mic_absent:
	.long	20                              ## 0x14
	.long	131                             ## 0x83
	.long	2                               ## 0x2
	.long	35                              ## 0x23
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	27                              ## 0x1b
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	26                              ## 0x1a
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.space	12

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CXT5066: external microphone detected\n"

L_.str.1:                               ## @.str.1
	.asciz	"CXT5066: dock microphone detected\n"

L_.str.2:                               ## @.str.2
	.asciz	"CXT5066: external microphone absent\n"

	.no_dead_strip	_cxt5066_thinkpad_automic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxt5066_thinkpad_automic
_cxt5066_thinkpad_automic:              ; @cxt5066_thinkpad_automic
	.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
	mov	w1, #27
	bl	_snd_hda_jack_detect
	mov	x20, x0
	mov	x0, x19
	mov	w1, #26
	bl	_snd_hda_jack_detect
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w0, #0
	csel	x8, x9, x8, eq
Lloh4:
	adrp	x9, _cxt5066_thinkpad_automic.dock_mic_present@PAGE
Lloh5:
	add	x9, x9, _cxt5066_thinkpad_automic.dock_mic_present@PAGEOFF
Lloh6:
	adrp	x10, _cxt5066_thinkpad_automic.ext_mic_absent@PAGE
Lloh7:
	add	x10, x10, _cxt5066_thinkpad_automic.ext_mic_absent@PAGEOFF
Lloh8:
	adrp	x11, l_.str@PAGE
Lloh9:
	add	x11, x11, l_.str@PAGEOFF
	csel	x9, x10, x9, eq
	cmp	w20, #0
	csel	x0, x8, x11, eq
Lloh10:
	adrp	x8, _cxt5066_thinkpad_automic.ext_mic_present@PAGE
Lloh11:
	add	x8, x8, _cxt5066_thinkpad_automic.ext_mic_present@PAGEOFF
	csel	x20, x9, x8, eq
	bl	_snd_printdd
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_hda_sequence_write
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @cxt5066_thinkpad_automic.ext_mic_present
_cxt5066_thinkpad_automic.ext_mic_present:
	.long	20                              ; 0x14
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	23                              ; 0x17
	.long	131                             ; 0x83
	.long	1                               ; 0x1
	.long	27                              ; 0x1b
	.long	130                             ; 0x82
	.long	128                             ; 0x80
	.long	35                              ; 0x23
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	26                              ; 0x1a
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.space	12

	.p2align	2                               ; @cxt5066_thinkpad_automic.dock_mic_present
_cxt5066_thinkpad_automic.dock_mic_present:
	.long	20                              ; 0x14
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	23                              ; 0x17
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	26                              ; 0x1a
	.long	130                             ; 0x82
	.long	128                             ; 0x80
	.long	35                              ; 0x23
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	27                              ; 0x1b
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.space	12

	.p2align	2                               ; @cxt5066_thinkpad_automic.ext_mic_absent
_cxt5066_thinkpad_automic.ext_mic_absent:
	.long	20                              ; 0x14
	.long	131                             ; 0x83
	.long	2                               ; 0x2
	.long	35                              ; 0x23
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	27                              ; 0x1b
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	26                              ; 0x1a
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.space	12

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CXT5066: external microphone detected\n"

l_.str.1:                               ; @.str.1
	.asciz	"CXT5066: dock microphone detected\n"

l_.str.2:                               ; @.str.2
	.asciz	"CXT5066: external microphone absent\n"

	.no_dead_strip	_cxt5066_thinkpad_automic
.subsections_via_symbols
