	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssi_port_probe
_ssi_port_probe:                        ## @ssi_port_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_hsi_controller_drvdata
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	8(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.2:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %rdx
	jne	LBB0_4
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_9:
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	testq	%r14, %r14
	je	LBB0_14
## %bb.12:
	movq	(%rax,%rbx,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_gpiod_get
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_15:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.16:
	movq	%r13, 56(%rax)
	movq	%r15, 8(%rax)
	movq	%rbx, (%rax)
	leaq	52(%rax), %rdi
	movq	%rax, %r13
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ssi_process_errqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DEFERRABLE_WORK
	leaq	48(%r13), %rdi
	movq	_start_tx_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_ssi_async@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 24(%r13)
	movq	_ssi_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	movq	_ssi_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	_ssi_start_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	movq	_ssi_stop_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_ssi_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_hsi_port_set_drvdata
	movq	8(%r12), %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, (%rax,%rbx,8)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_platform_set_drvdata
	leaq	44(%r12), %rdx
	leaq	40(%r12), %rcx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_ssi_port_get_iomem
	testl	%eax, %eax
	js	LBB0_22
## %bb.17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	36(%rax), %rdx
	leaq	32(%rax), %rcx
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_ssi_port_get_iomem
	testl	%eax, %eax
	js	LBB0_22
## %bb.18:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ssi_port_irq
	testl	%eax, %eax
	js	LBB0_22
## %bb.19:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ssi_wake_irq
	testl	%eax, %eax
	js	LBB0_22
## %bb.20:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_ssi_queues_init
	leaq	28(%r12), %rdi
	callq	_spin_lock_init
	movq	%r12, %rdi
	addq	$24, %rdi
	callq	_spin_lock_init
	movq	%r13, 16(%r12)
	movq	8(%r12), %rdi
	callq	_pm_runtime_use_autosuspend
	movq	8(%r12), %rdi
	movl	$250, %esi
	callq	_pm_runtime_set_autosuspend_delay
	movq	8(%r12), %rdi
	callq	_pm_runtime_enable
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_hsi_add_clients_from_dt
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_dev_info
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_22:
	movl	%eax, %r12d
	jmp	LBB0_10
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"init ssi port...\n"

L_.str.1:                               ## @.str.1
	.asciz	"ssi controller not initialized!\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"port id out of range!\n"

L_.str.3:                               ## @.str.3
	.asciz	"missing device tree data\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"ti,ssi-cawake"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.5:                               ## @.str.5
	.asciz	"couldn't get cawake gpio (err=%d)!\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ssi_process_errqueue,4,2       ## @ssi_process_errqueue
	.comm	_start_tx_work,4,2              ## @start_tx_work
	.comm	_ssi_async,4,2                  ## @ssi_async
	.comm	_ssi_setup,4,2                  ## @ssi_setup
	.comm	_ssi_flush,4,2                  ## @ssi_flush
	.comm	_ssi_start_tx,4,2               ## @ssi_start_tx
	.comm	_ssi_stop_tx,4,2                ## @ssi_stop_tx
	.comm	_ssi_release,4,2                ## @ssi_release
L_.str.6:                               ## @.str.6
	.asciz	"tx"

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

L_.str.8:                               ## @.str.8
	.asciz	"ssi port %u successfully initialized\n"

	.no_dead_strip	_ssi_port_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssi_port_probe
_ssi_port_probe:                        ; @ssi_port_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x21, x0
	bl	_hsi_controller_drvdata
	mov	x24, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x9, [x24, #8]
	cbz	x9, LBB0_7
; %bb.2:
	ldr	x10, [x21]
	cbz	x10, LBB0_6
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x21, lsl #3]
	cbz	x11, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x10, x21
	b.ne	LBB0_4
LBB0_6:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_10:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	cbz	x20, LBB0_14
; %bb.12:
	ldr	x22, [x8, x21, lsl #3]
Lloh8:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get
	mov	x25, x0
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, x25
	bl	_PTR_ERR
	mov	x24, x0
	str	x24, [sp]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_14:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_15:
Lloh19:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_22
; %bb.16:
	mov	x23, x0
	str	x25, [x0, #56]
	stp	x21, x19, [x0]
	add	x0, x0, #52
Lloh22:
	adrp	x8, _ssi_process_errqueue@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ssi_process_errqueue@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_INIT_DEFERRABLE_WORK
	add	x0, x23, #48
Lloh25:
	adrp	x8, _start_tx_work@GOTPAGE
Lloh26:
	ldr	x8, [x8, _start_tx_work@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh28:
	adrp	x8, _ssi_async@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ssi_async@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _ssi_setup@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ssi_setup@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #20]
Lloh34:
	adrp	x8, _ssi_flush@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ssi_flush@GOTPAGEOFF]
Lloh36:
	adrp	x9, _ssi_start_tx@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ssi_start_tx@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #12]
Lloh40:
	adrp	x8, _ssi_stop_tx@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ssi_stop_tx@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _ssi_release@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ssi_release@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #4]
	mov	x0, x22
	mov	x1, x23
	bl	_hsi_port_set_drvdata
	ldr	x8, [x24, #8]
	str	x23, [x8, x21, lsl #3]
	mov	x0, x19
	mov	x1, x22
	bl	_platform_set_drvdata
	add	x2, x23, #44
	add	x3, x23, #40
Lloh46:
	adrp	x1, l_.str.6@PAGE
Lloh47:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_ssi_port_get_iomem
	tbnz	w0, #31, LBB0_21
; %bb.17:
	add	x2, x23, #36
	add	x3, x23, #32
Lloh48:
	adrp	x1, l_.str.7@PAGE
Lloh49:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_ssi_port_get_iomem
	tbnz	w0, #31, LBB0_21
; %bb.18:
	mov	x0, x22
	mov	x1, x19
	bl	_ssi_port_irq
	tbnz	w0, #31, LBB0_21
; %bb.19:
	mov	x0, x22
	mov	x1, x19
	bl	_ssi_wake_irq
	tbnz	w0, #31, LBB0_21
; %bb.20:
	mov	x0, x23
	bl	_ssi_queues_init
	add	x0, x23, #28
	bl	_spin_lock_init
	add	x0, x23, #24
	bl	_spin_lock_init
	str	x22, [x23, #16]
	ldr	x0, [x23, #8]
	bl	_pm_runtime_use_autosuspend
	ldr	x0, [x23, #8]
	mov	w1, #250
	bl	_pm_runtime_set_autosuspend_delay
	ldr	x0, [x23, #8]
	bl	_pm_runtime_enable
	mov	x0, x22
	mov	x1, x20
	bl	_hsi_add_clients_from_dt
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_info
	mov	w24, #0
	b	LBB0_10
LBB0_21:
	mov	x24, x0
	b	LBB0_10
LBB0_22:
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"init ssi port...\n"

l_.str.1:                               ; @.str.1
	.asciz	"ssi controller not initialized!\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"port id out of range!\n"

l_.str.3:                               ; @.str.3
	.asciz	"missing device tree data\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"ti,ssi-cawake"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.5:                               ; @.str.5
	.asciz	"couldn't get cawake gpio (err=%d)!\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ssi_process_errqueue,4,2       ; @ssi_process_errqueue
	.comm	_start_tx_work,4,2              ; @start_tx_work
	.comm	_ssi_async,4,2                  ; @ssi_async
	.comm	_ssi_setup,4,2                  ; @ssi_setup
	.comm	_ssi_flush,4,2                  ; @ssi_flush
	.comm	_ssi_start_tx,4,2               ; @ssi_start_tx
	.comm	_ssi_stop_tx,4,2                ; @ssi_stop_tx
	.comm	_ssi_release,4,2                ; @ssi_release
l_.str.6:                               ; @.str.6
	.asciz	"tx"

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

l_.str.8:                               ; @.str.8
	.asciz	"ssi port %u successfully initialized\n"

	.no_dead_strip	_ssi_port_probe
.subsections_via_symbols
