	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tosa_ext_control
_tosa_ext_control:                      ## @tosa_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_tosa_jack_func@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_enable_pin
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_enable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_enable_pin
LBB0_7:
	movq	_tosa_spk_func@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TOSA_SPK_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_enable_pin
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_soc_dapm_disable_pin
LBB0_10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_snd_soc_dapm_sync              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tosa_jack_func,4,2             ## @tosa_jack_func
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mic (Internal)"

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

L_.str.2:                               ## @.str.2
	.asciz	"Headset Jack"

	.comm	_tosa_spk_func,8,3              ## @tosa_spk_func
	.comm	_TOSA_SPK_ON,8,3                ## @TOSA_SPK_ON
L_.str.3:                               ## @.str.3
	.asciz	"Speaker"

	.no_dead_strip	_tosa_ext_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tosa_ext_control
_tosa_ext_control:                      ; @tosa_ext_control
	.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	x8, _tosa_jack_func@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tosa_jack_func@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
LBB0_5:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
LBB0_7:
Lloh19:
	adrp	x8, _tosa_spk_func@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tosa_spk_func@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _TOSA_SPK_ON@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TOSA_SPK_ON@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	bl	_snd_soc_dapm_enable_pin
	b	LBB0_10
LBB0_9:
	bl	_snd_soc_dapm_disable_pin
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_soc_dapm_sync
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_tosa_jack_func,4,2             ; @tosa_jack_func
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mic (Internal)"

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

l_.str.2:                               ; @.str.2
	.asciz	"Headset Jack"

	.comm	_tosa_spk_func,8,3              ; @tosa_spk_func
	.comm	_TOSA_SPK_ON,8,3                ; @TOSA_SPK_ON
l_.str.3:                               ; @.str.3
	.asciz	"Speaker"

	.no_dead_strip	_tosa_ext_control
.subsections_via_symbols
