	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function palm27x_ac97_init
_palm27x_ac97_init:                     ## @palm27x_ac97_init
	.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	_palm27x_dapm_widgets@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_snd_soc_dapm_new_controls
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	_audio_map@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_snd_soc_dapm_add_routes
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	callq	_machine_is_palmld
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_pin
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_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_enable_pin
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_enable_pin
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_nc_pin
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_nc_pin
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_nc_pin
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_nc_pin
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_nc_pin
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_nc_pin
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	callq	_snd_soc_dapm_nc_pin
	movq	%r14, %rdi
	callq	_snd_soc_dapm_sync
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	_SND_JACK_HEADPHONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_palm27x_asoc@GOTPCREL(%rip), %rdi
	leaq	L_.str.12(%rip), %rsi
	movq	_hs_jack@GOTPCREL(%rip), %rcx
	callq	_snd_soc_jack_new
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_hs_jack_pins@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edx
	movq	_hs_jack@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	callq	_snd_soc_jack_add_pins
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_hs_jack_gpios@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edx
	movq	_hs_jack@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_soc_jack_add_gpios         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_palm27x_dapm_widgets,4,2       ## @palm27x_dapm_widgets
	.comm	_audio_map,4,2                  ## @audio_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MIC1"

L_.str.1:                               ## @.str.1
	.asciz	"HPOUTL"

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

L_.str.3:                               ## @.str.3
	.asciz	"LOUT2"

L_.str.4:                               ## @.str.4
	.asciz	"ROUT2"

L_.str.5:                               ## @.str.5
	.asciz	"OUT3"

L_.str.6:                               ## @.str.6
	.asciz	"MONOOUT"

L_.str.7:                               ## @.str.7
	.asciz	"LINEINL"

L_.str.8:                               ## @.str.8
	.asciz	"LINEINR"

L_.str.9:                               ## @.str.9
	.asciz	"PCBEEP"

L_.str.10:                              ## @.str.10
	.asciz	"PHONE"

L_.str.11:                              ## @.str.11
	.asciz	"MIC2"

	.comm	_palm27x_asoc,4,2               ## @palm27x_asoc
L_.str.12:                              ## @.str.12
	.asciz	"Headphone Jack"

	.comm	_SND_JACK_HEADPHONE,4,2         ## @SND_JACK_HEADPHONE
	.comm	_hs_jack,4,2                    ## @hs_jack
	.comm	_hs_jack_pins,4,2               ## @hs_jack_pins
	.comm	_hs_jack_gpios,4,2              ## @hs_jack_gpios
	.no_dead_strip	_palm27x_ac97_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function palm27x_ac97_init
_palm27x_ac97_init:                     ; @palm27x_ac97_init
	.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, _palm27x_dapm_widgets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _palm27x_dapm_widgets@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_snd_soc_dapm_new_controls
	cbnz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _audio_map@GOTPAGE
Lloh4:
	ldr	x8, [x8, _audio_map@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_snd_soc_dapm_add_routes
	cbnz	w0, LBB0_7
; %bb.2:
	bl	_machine_is_palmld
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
LBB0_4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_enable_pin
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_nc_pin
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_nc_pin
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_nc_pin
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_nc_pin
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_nc_pin
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_nc_pin
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_snd_soc_dapm_nc_pin
	mov	x0, x19
	bl	_snd_soc_dapm_sync
	cbnz	w0, LBB0_7
; %bb.5:
Lloh30:
	adrp	x8, _SND_JACK_HEADPHONE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SND_JACK_HEADPHONE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x0, _palm27x_asoc@GOTPAGE
Lloh34:
	ldr	x0, [x0, _palm27x_asoc@GOTPAGEOFF]
Lloh35:
	adrp	x1, l_.str.12@PAGE
Lloh36:
	add	x1, x1, l_.str.12@PAGEOFF
Lloh37:
	adrp	x3, _hs_jack@GOTPAGE
Lloh38:
	ldr	x3, [x3, _hs_jack@GOTPAGEOFF]
	bl	_snd_soc_jack_new
	cbnz	w0, LBB0_7
; %bb.6:
Lloh39:
	adrp	x19, _hs_jack_pins@GOTPAGE
Lloh40:
	ldr	x19, [x19, _hs_jack_pins@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	w2, [x19]
Lloh41:
	adrp	x0, _hs_jack@GOTPAGE
Lloh42:
	ldr	x0, [x0, _hs_jack@GOTPAGEOFF]
	bl	_snd_soc_jack_add_pins
	cbz	w0, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh43:
	adrp	x19, _hs_jack_gpios@GOTPAGE
Lloh44:
	ldr	x19, [x19, _hs_jack_gpios@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	w2, [x19]
Lloh45:
	adrp	x0, _hs_jack@GOTPAGE
Lloh46:
	ldr	x0, [x0, _hs_jack@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_soc_jack_add_gpios
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_palm27x_dapm_widgets,4,2       ; @palm27x_dapm_widgets
	.comm	_audio_map,4,2                  ; @audio_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MIC1"

l_.str.1:                               ; @.str.1
	.asciz	"HPOUTL"

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

l_.str.3:                               ; @.str.3
	.asciz	"LOUT2"

l_.str.4:                               ; @.str.4
	.asciz	"ROUT2"

l_.str.5:                               ; @.str.5
	.asciz	"OUT3"

l_.str.6:                               ; @.str.6
	.asciz	"MONOOUT"

l_.str.7:                               ; @.str.7
	.asciz	"LINEINL"

l_.str.8:                               ; @.str.8
	.asciz	"LINEINR"

l_.str.9:                               ; @.str.9
	.asciz	"PCBEEP"

l_.str.10:                              ; @.str.10
	.asciz	"PHONE"

l_.str.11:                              ; @.str.11
	.asciz	"MIC2"

	.comm	_palm27x_asoc,4,2               ; @palm27x_asoc
l_.str.12:                              ; @.str.12
	.asciz	"Headphone Jack"

	.comm	_SND_JACK_HEADPHONE,4,2         ; @SND_JACK_HEADPHONE
	.comm	_hs_jack,4,2                    ; @hs_jack
	.comm	_hs_jack_pins,4,2               ; @hs_jack_pins
	.comm	_hs_jack_gpios,4,2              ; @hs_jack_gpios
	.no_dead_strip	_palm27x_ac97_init
.subsections_via_symbols
