	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fastrpc_cb_probe
_fastrpc_cb_probe:                      ## @fastrpc_cb_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, %r14
	movl	$0, -44(%rbp)
	movl	4(%rdi), %edi
	callq	_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_of_property_read_u32
	movq	%r13, %rdi
	addq	$8, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	(%r13), %rax
	movq	16(%r13), %r15
	leaq	(%rax,%rax,2), %rbx
	leaq	(%r15,%rbx,8), %r12
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, (%r15,%rbx,8)
	movq	%r14, 16(%r15,%rbx,8)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dev_set_drvdata
	movl	(%r14), %edi
	leaq	(%r15,%rbx,8), %rdx
	addq	$8, %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
LBB0_4:
	cmpl	$2, -44(%rbp)
	jl	LBB0_8
## %bb.5:
	movl	$1, %ebx
	movq	_FASTRPC_MAX_SESSIONS@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	leaq	1(%rcx), %rax
	movq	%rax, (%r13)
	movslq	(%r15), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rax,%rax,2), %rdi
	shlq	$3, %rdi
	addq	16(%r13), %rdi
	movq	%r12, %rsi
	movl	$24, %edx
	callq	_memcpy
	incl	%ebx
	cmpl	-44(%rbp), %ebx
	jl	LBB0_6
LBB0_8:
	incq	(%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_11
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qcom,nsessions"

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

L_.str.2:                               ## @.str.2
	.asciz	"FastRPC Session ID not specified in DT\n"

	.comm	_FASTRPC_MAX_SESSIONS,4,2       ## @FASTRPC_MAX_SESSIONS
L_.str.3:                               ## @.str.3
	.asciz	"32-bit DMA enable failed\n"

	.no_dead_strip	_fastrpc_cb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function fastrpc_cb_probe
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_fastrpc_cb_probe:                      ; @fastrpc_cb_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
	str	wzr, [sp, #12]
	ldr	w0, [x0, #4]
	bl	_dev_get_drvdata
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_of_property_read_u32
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	mov	w10, #24
	madd	x22, x9, x10, x8
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x22]
	str	x19, [x22, #16]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_set_drvdata
	ldr	w0, [x19]
	add	x2, x22, #8
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_property_read_u32
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_3:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.4:
	mov	w23, #1
Lloh8:
	adrp	x24, _FASTRPC_MAX_SESSIONS@GOTPAGE
Lloh9:
	ldr	x24, [x24, _FASTRPC_MAX_SESSIONS@GOTPAGEOFF]
	mov	w25, #24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	add	x8, x9, #1
	str	x8, [x20]
	ldrsw	x10, [x24]
	cmp	x9, x10
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x20, #16]
	madd	x0, x8, x25, x9
	mov	x1, x22
	mov	w2, #24
	bl	_memcpy
	add	w23, w23, #1
	ldr	w8, [sp, #12]
	cmp	w23, w8
	b.lt	LBB0_5
LBB0_7:
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_dma_set_mask
	mov	x20, x0
	cbz	w0, LBB0_10
; %bb.8:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qcom,nsessions"

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

l_.str.2:                               ; @.str.2
	.asciz	"FastRPC Session ID not specified in DT\n"

	.comm	_FASTRPC_MAX_SESSIONS,4,2       ; @FASTRPC_MAX_SESSIONS
l_.str.3:                               ; @.str.3
	.asciz	"32-bit DMA enable failed\n"

	.no_dead_strip	_fastrpc_cb_probe
.subsections_via_symbols
