	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function palm27x_asoc_probe
_palm27x_asoc_probe:                    ## @palm27x_asoc_probe
	.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
	xorl	%eax, %eax
	callq	_machine_is_palmtx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_machine_is_palmt5
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_machine_is_palmld
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_machine_is_palmte2
	testq	%rax, %rax
	je	LBB0_14
LBB0_4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	(%rax), %eax
	movq	_hs_jack_gpios@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.1(%rip), %rdi
	movl	$-1, %esi
	callq	_platform_device_alloc
	movq	_palm27x_snd_device@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	_palm27x_snd_devdata@GOTPCREL(%rip), %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	(%r14), %rdi
	movq	%rdi, (%rbx)
	callq	_platform_device_add
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	callq	_platform_device_put
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_14:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"please supply platform_data\n"

	.comm	_hs_jack_gpios,8,3              ## @hs_jack_gpios
L_.str.1:                               ## @.str.1
	.asciz	"soc-audio"

	.comm	_palm27x_snd_device,8,3         ## @palm27x_snd_device
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_palm27x_snd_devdata,8,3        ## @palm27x_snd_devdata
	.no_dead_strip	_palm27x_asoc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function palm27x_asoc_probe
_palm27x_asoc_probe:                    ; @palm27x_asoc_probe
	.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
	bl	_machine_is_palmtx
	cbnz	x0, LBB0_4
; %bb.1:
	bl	_machine_is_palmt5
	cbnz	x0, LBB0_4
; %bb.2:
	bl	_machine_is_palmld
	cbnz	x0, LBB0_4
; %bb.3:
	bl	_machine_is_palmte2
	cbz	x0, LBB0_9
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _hs_jack_gpios@GOTPAGE
Lloh1:
	ldr	x9, [x9, _hs_jack_gpios@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	w8, [x9]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #-1
	bl	_platform_device_alloc
Lloh5:
	adrp	x20, _palm27x_snd_device@GOTPAGE
Lloh6:
	ldr	x20, [x20, _palm27x_snd_device@GOTPAGEOFF]
	str	x0, [x20]
	cbz	x0, LBB0_10
; %bb.6:
Lloh7:
	adrp	x19, _palm27x_snd_devdata@GOTPAGE
Lloh8:
	ldr	x19, [x19, _palm27x_snd_devdata@GOTPAGEOFF]
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	x0, [x20]
	str	x0, [x19]
	bl	_platform_device_add
	mov	x19, x0
	cbz	w0, LBB0_12
; %bb.7:
	ldr	x0, [x20]
	bl	_platform_device_put
	b	LBB0_12
LBB0_8:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_9:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"please supply platform_data\n"

	.comm	_hs_jack_gpios,8,3              ; @hs_jack_gpios
l_.str.1:                               ; @.str.1
	.asciz	"soc-audio"

	.comm	_palm27x_snd_device,8,3         ; @palm27x_snd_device
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_palm27x_snd_devdata,8,3        ; @palm27x_snd_devdata
	.no_dead_strip	_palm27x_asoc_probe
.subsections_via_symbols
