	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function n810_ext_control
_n810_ext_control:                      ## @n810_ext_control
	.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, %rbx
	movq	_n810_jack_func@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movb	$1, %r15b
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	cmpl	$130, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.3:
	movl	$1, %r14d
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_5:
	movl	$1, %r14d
LBB0_6:
	movq	_n810_spk_func@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_enable_pin
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	testb	%r15b, %r15b
	je	LBB0_10
## %bb.11:
	callq	_snd_soc_dapm_disable_pin
	jmp	LBB0_12
LBB0_10:
	callq	_snd_soc_dapm_enable_pin
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.13:
	callq	_snd_soc_dapm_enable_pin
	jmp	LBB0_15
LBB0_14:
	callq	_snd_soc_dapm_disable_pin
LBB0_15:
	movq	_n810_dmic_func@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.16:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_enable_pin
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
LBB0_18:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_soc_dapm_sync              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_n810_jack_func,4,2             ## @n810_jack_func
	.comm	_n810_spk_func,8,3              ## @n810_spk_func
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ext Spk"

L_.str.1:                               ## @.str.1
	.asciz	"Headphone Jack"

L_.str.2:                               ## @.str.2
	.asciz	"LINE1L"

	.comm	_n810_dmic_func,8,3             ## @n810_dmic_func
L_.str.3:                               ## @.str.3
	.asciz	"DMic"

	.no_dead_strip	_n810_ext_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function n810_ext_control
_n810_ext_control:                      ; @n810_ext_control
	.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
Lloh0:
	adrp	x8, _n810_jack_func@GOTPAGE
Lloh1:
	ldr	x8, [x8, _n810_jack_func@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	mov	w20, #0
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.3:
	mov	w20, #1
LBB0_4:
	mov	w21, #0
	b	LBB0_7
LBB0_5:
	mov	w21, #1
	mov	w20, #1
	b	LBB0_7
LBB0_6:
	mov	w21, #1
LBB0_7:
Lloh3:
	adrp	x8, _n810_spk_func@GOTPAGE
Lloh4:
	ldr	x8, [x8, _n810_spk_func@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
LBB0_10:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	tbz	w21, #0, LBB0_12
; %bb.11:
	bl	_snd_soc_dapm_disable_pin
	b	LBB0_13
LBB0_12:
	bl	_snd_soc_dapm_enable_pin
LBB0_13:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	cbz	w20, LBB0_15
; %bb.14:
	bl	_snd_soc_dapm_enable_pin
	b	LBB0_16
LBB0_15:
	bl	_snd_soc_dapm_disable_pin
LBB0_16:
Lloh14:
	adrp	x8, _n810_dmic_func@GOTPAGE
Lloh15:
	ldr	x8, [x8, _n810_dmic_func@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.17:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
	b	LBB0_19
LBB0_18:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
LBB0_19:
	mov	x0, x19
	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
	b	_snd_soc_dapm_sync
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_n810_jack_func,4,2             ; @n810_jack_func
	.comm	_n810_spk_func,8,3              ; @n810_spk_func
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ext Spk"

l_.str.1:                               ; @.str.1
	.asciz	"Headphone Jack"

l_.str.2:                               ; @.str.2
	.asciz	"LINE1L"

	.comm	_n810_dmic_func,8,3             ; @n810_dmic_func
l_.str.3:                               ; @.str.3
	.asciz	"DMic"

	.no_dead_strip	_n810_ext_control
.subsections_via_symbols
