	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spitz_ext_control
_spitz_ext_control:                     ## @spitz_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_spitz_spk_func@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SPITZ_SPK_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_pin
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
LBB0_3:
	movq	_spitz_jack_func@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_13
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_pin
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
LBB0_11:
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_pin
	movl	$1, %esi
	movl	$1, %ebx
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_pin
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_disable_pin
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_pin
	movl	$1, %ebx
	xorl	%esi, %esi
LBB0_12:
	movq	_SPITZ_GPIO_MUTE_L@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpio_set_value
	movq	_SPITZ_GPIO_MUTE_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_gpio_set_value
LBB0_13:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_soc_dapm_sync              ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_spitz_spk_func,8,3             ## @spitz_spk_func
	.comm	_SPITZ_SPK_ON,8,3               ## @SPITZ_SPK_ON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ext Spk"

	.comm	_spitz_jack_func,4,2            ## @spitz_jack_func
L_.str.1:                               ## @.str.1
	.asciz	"Headset Jack"

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

L_.str.3:                               ## @.str.3
	.asciz	"Line Jack"

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

	.comm	_SPITZ_GPIO_MUTE_L,4,2          ## @SPITZ_GPIO_MUTE_L
	.comm	_SPITZ_GPIO_MUTE_R,4,2          ## @SPITZ_GPIO_MUTE_R
	.no_dead_strip	_spitz_ext_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spitz_ext_control
_spitz_ext_control:                     ; @spitz_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, _spitz_spk_func@GOTPAGE
Lloh1:
	ldr	x8, [x8, _spitz_spk_func@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SPITZ_SPK_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPITZ_SPK_ON@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_snd_soc_dapm_enable_pin
	b	LBB0_3
LBB0_2:
	bl	_snd_soc_dapm_disable_pin
LBB0_3:
Lloh8:
	adrp	x8, _spitz_jack_func@GOTPAGE
Lloh9:
	ldr	x8, [x8, _spitz_jack_func@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_14
; %bb.4:
Lloh11:
	adrp	x9, lJTI0_0@PAGE
Lloh12:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@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.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
	b	LBB0_9
LBB0_8:
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
LBB0_9:
	mov	w1, #0
	mov	w20, #0
	b	LBB0_13
LBB0_10:
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
	mov	w1, #1
	b	LBB0_12
LBB0_11:
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh47:
	adrp	x1, l_.str.2@PAGE
Lloh48:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
Lloh49:
	adrp	x1, l_.str.3@PAGE
Lloh50:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_disable_pin
Lloh51:
	adrp	x1, l_.str.1@PAGE
Lloh52:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
	mov	w1, #0
LBB0_12:
	mov	w20, #1
LBB0_13:
Lloh53:
	adrp	x8, _SPITZ_GPIO_MUTE_L@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SPITZ_GPIO_MUTE_L@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_gpio_set_value
Lloh56:
	adrp	x8, _SPITZ_GPIO_MUTE_R@GOTPAGE
Lloh57:
	ldr	x8, [x8, _SPITZ_GPIO_MUTE_R@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_gpio_set_value
LBB0_14:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
                                        ; -- End function
	.comm	_spitz_spk_func,8,3             ; @spitz_spk_func
	.comm	_SPITZ_SPK_ON,8,3               ; @SPITZ_SPK_ON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ext Spk"

	.comm	_spitz_jack_func,4,2            ; @spitz_jack_func
l_.str.1:                               ; @.str.1
	.asciz	"Headset Jack"

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

l_.str.3:                               ; @.str.3
	.asciz	"Line Jack"

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

	.comm	_SPITZ_GPIO_MUTE_L,4,2          ; @SPITZ_GPIO_MUTE_L
	.comm	_SPITZ_GPIO_MUTE_R,4,2          ; @SPITZ_GPIO_MUTE_R
	.no_dead_strip	_spitz_ext_control
.subsections_via_symbols
