	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sdma_map_init
LCPI0_0:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	4294967294                      ## 0xfffffffe
	.long	4294967293                      ## 0xfffffffd
LCPI0_1:
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
LCPI0_2:
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sdma_map_init
	.p2align	4, 0x90
_sdma_map_init:                         ## @sdma_map_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_OPA_MAX_VLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r10
	movq	_HFI1_HAS_SEND_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rbx)
	je	LBB0_40
## %bb.1:
	movq	%rbx, %r11
	testq	%r13, %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_14
## %bb.2:
	movl	4(%r11), %eax
	cltd
	idivl	%edi
	testl	%edi, %edi
	jle	LBB0_13
## %bb.3:
	movl	%edi, %r9d
	cmpl	$8, %edi
	jae	LBB0_5
## %bb.4:
	movq	%r9, %rsi
	jmp	LBB0_11
LBB0_5:
	movq	%rdi, %rcx
	leaq	-1(%r9), %rbx
	leal	-1(%rdi), %esi
	cmpl	%ebx, %esi
	jb	LBB0_10
## %bb.6:
	movq	%rbx, %rsi
	shrq	$32, %rsi
	jne	LBB0_10
## %bb.7:
	movl	%r9d, %r8d
	andl	$-8, %r8d
	movl	%r9d, %esi
	andl	$7, %esi
	movd	%edx, %xmm0
	subl	%r8d, %edx
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	LCPI0_0(%rip), %xmm0
	movd	%eax, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [4294967292,4294967292,4294967292,4294967292]
	pxor	%xmm3, %xmm3
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [4294967288,4294967288,4294967288,4294967288]
	movq	%r8, %rdi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm5
	paddd	%xmm2, %xmm5
	movdqa	%xmm0, %xmm6
	pcmpgtd	%xmm3, %xmm6
	pcmpgtd	%xmm3, %xmm5
	movdqa	%xmm1, %xmm7
	psubd	%xmm6, %xmm7
	movdqa	%xmm1, %xmm6
	psubd	%xmm5, %xmm6
	movl	%ebx, %ecx
	pshufd	$27, %xmm7, %xmm5               ## xmm5 = xmm7[3,2,1,0]
	movdqu	%xmm5, -12(%r10,%rcx,4)
	pshufd	$27, %xmm6, %xmm5               ## xmm5 = xmm6[3,2,1,0]
	movdqu	%xmm5, -28(%r10,%rcx,4)
	paddd	%xmm4, %xmm0
	addq	$-8, %rbx
	addq	$-8, %rdi
	jne	LBB0_8
## %bb.9:
	cmpq	%r9, %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_11
	jmp	LBB0_13
LBB0_10:
	movq	%r9, %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_11:
	incq	%rsi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rsi), %ecx
	xorl	%ebx, %ebx
	testl	%edx, %edx
	setg	%bl
	addl	%eax, %ebx
	movl	%ebx, (%r10,%rcx,4)
	decl	%edx
	decq	%rsi
	cmpq	$1, %rsi
	ja	LBB0_12
LBB0_13:
	movq	%r10, %r13
LBB0_14:
	movq	%r11, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_roundup_pow_of_two
                                        ## kill: def $eax killed $eax def $rax
	leal	40(,%rax,8), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_36
## %bb.15:
	movl	%r15d, (%rbx)
	movl	%r15d, %edi
	callq	_roundup_pow_of_two
	movl	%eax, 4(%rbx)
	movl	%eax, %edi
	callq	_ilog2
	movl	$-1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	notl	%edx
	movl	%edx, 8(%rbx)
	movq	_TXE_NUM_SDMA_ENGINES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_18
## %bb.16:
	movq	16(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	$-1, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_17
LBB0_18:
	cmpl	$0, 4(%rbx)
	movq	-72(%rbp), %r11                 ## 8-byte Reload
	jle	LBB0_37
## %bb.19:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	32(%rbx), %rcx
	movl	%r14d, %eax
	cltd
	idivl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rcx,%rdx,8), %rax
	movq	%rax, (%rcx,%r14,8)
	movl	(%r13,%r14,4), %ecx
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	addl	%ecx, %r12d
	incq	%r14
	movslq	4(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_37
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
                                        ##     Child Loop BB0_31 Depth 2
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r13,%r14,4), %edi
	callq	_roundup_pow_of_two
	movl	%eax, %r15d
	leal	4(,%r15,8), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	32(%rbx), %rcx
	movq	%rax, (%rcx,%r14,8)
	movq	32(%rbx), %rax
	cmpq	$0, (%rax,%r14,8)
	je	LBB0_36
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	%r15d, %edi
	callq	_ilog2
	movl	$-1, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	notl	%esi
	movq	%rbx, %r8
	movq	32(%rbx), %rax
	movq	(%rax,%r14,8), %rdx
	movl	%esi, (%rdx)
	movl	(%r13,%r14,4), %ecx
	movslq	%r12d, %rax
	testl	%r15d, %r15d
	movq	-72(%rbp), %r11                 ## 8-byte Reload
	jle	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	leaq	(,%rax,4), %rsi
	addq	16(%r11), %rsi
	movq	8(%rdx), %rdx
	movq	%rsi, (%rdx)
	cmpl	$1, %r15d
	je	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	leal	(%rcx,%r12), %r10d
	movl	%r15d, %edx
	decq	%rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %edx
	movl	%r12d, %edi
	cmpl	$2, %r15d
	jne	LBB0_32
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	incl	%edi
	cmpl	%r10d, %edi
	cmovgel	%r12d, %edi
	movq	32(%r8), %rsi
	movq	(%rsi,%r14,8), %rsi
	movslq	%edi, %rdi
	shlq	$2, %rdi
	addq	16(%r11), %rdi
	movq	8(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx,8)
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	testl	%ecx, %ecx
	movq	%r8, %rbx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_21
## %bb.30:                              ##   in Loop: Header=BB0_22 Depth=1
	shlq	$2, %rax
	addq	16(%rbx), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, (%rax,%rdx,4)
	incq	%rdx
	movslq	(%r13,%r14,4), %rcx
	cmpq	%rcx, %rdx
	jl	LBB0_31
	jmp	LBB0_21
LBB0_32:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r8, %r15
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	andq	$-2, %r9
	negq	%r9
	movl	$1, %edx
	movl	%r12d, %edi
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=2
	movq	32(%r15), %rsi
	movq	(%rsi,%r14,8), %rsi
	movslq	%edi, %rbx
	shlq	$2, %rbx
	addq	16(%r11), %rbx
	movq	8(%rsi), %rsi
	movq	%rbx, 8(%rsi,%rdx,8)
	leaq	(%r9,%rdx), %rsi
	addq	$2, %rsi
	addq	$2, %rdx
	cmpq	$1, %rsi
	je	LBB0_27
LBB0_34:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%edi
	cmpl	%r10d, %edi
	cmovgel	%r12d, %edi
	movq	32(%r15), %rbx
	movq	(%rbx,%r14,8), %rbx
	movslq	%edi, %rdi
	leaq	(,%rdi,4), %rsi
	addq	16(%r11), %rsi
	movq	8(%rbx), %rbx
	movq	%rsi, (%rbx,%rdx,8)
	incl	%edi
	cmpl	%r10d, %edi
	jl	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=2
	movl	%r12d, %edi
	jmp	LBB0_33
LBB0_36:
	movq	%rbx, %rdi
	callq	_sdma_map_free
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_40
LBB0_37:
	leaq	8(%r11), %r14
	movq	%r14, %rdi
	movq	%rbx, %r12
	movq	%r11, %r15
	callq	_spin_lock_irq
	movl	12(%r15), %ebx
	movq	%r14, %rdi
	callq	_lockdep_is_held
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %rbx
	movl	12(%r15), %edi
	movq	%r12, %rsi
	callq	_rcu_assign_pointer
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	testq	%rbx, %rbx
	je	LBB0_39
## %bb.38:
	addq	$24, %rbx
	movq	_sdma_map_rcu_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_call_rcu
LBB0_39:
	xorl	%eax, %eax
LBB0_40:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_42
## %bb.41:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OPA_MAX_VLS,4,2                ## @OPA_MAX_VLS
	.comm	_HFI1_HAS_SEND_DMA,4,2          ## @HFI1_HAS_SEND_DMA
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_TXE_NUM_SDMA_ENGINES,4,2       ## @TXE_NUM_SDMA_ENGINES
	.comm	_sdma_map_rcu_callback,4,2      ## @sdma_map_rcu_callback
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function sdma_map_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	4294967294                      ; 0xfffffffe
	.long	4294967293                      ; 0xfffffffd
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sdma_map_init
	.p2align	2
_sdma_map_init:                         ; @sdma_map_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _OPA_MAX_VLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPA_MAX_VLS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x8, x9, x8
	mov	sp, x8
	ldr	w9, [x0]
Lloh8:
	adrp	x10, _HFI1_HAS_SEND_DMA@GOTPAGE
Lloh9:
	ldr	x10, [x10, _HFI1_HAS_SEND_DMA@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_28
; %bb.1:
	cbnz	x21, LBB0_8
; %bb.2:
	subs	w10, w20, #1
	b.lt	LBB0_7
; %bb.3:
	ldr	w11, [x19, #4]
	sdiv	w9, w11, w20
	msub	w15, w9, w20, w11
	mov	w11, w20
	cmp	w20, #16
	b.hs	LBB0_31
LBB0_4:
	mov	x12, x11
	mov	x10, x15
LBB0_5:
	add	x11, x12, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w11, #2
	cmp	w10, #0
	cinc	w13, w9, gt
	str	w13, [x8, w12, uxtw #2]
	sub	w10, w10, #1
	sub	x11, x11, #1
	cmp	x11, #1
	b.hi	LBB0_6
LBB0_7:
	mov	x21, x8
LBB0_8:
	mov	x0, x20
	bl	_roundup_pow_of_two
	lsl	w8, w0, #3
	add	w0, w8, #40
Lloh11:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_kzalloc
	mov	x22, x0
	cbz	x0, LBB0_25
; %bb.9:
	str	w20, [x22]
	mov	x0, x20
	bl	_roundup_pow_of_two
	str	w0, [x22, #4]
	bl	_ilog2
	mov	w8, #-1
	lsl	w9, w8, w0
	mvn	w9, w9
	str	w9, [x22, #8]
Lloh13:
	adrp	x9, _TXE_NUM_SDMA_ENGINES@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TXE_NUM_SDMA_ENGINES@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x10, #0
	ldr	x11, [x22, #16]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x11, x10, lsl #2]
	add	x10, x10, #1
	ldrsw	x12, [x9]
	cmp	x10, x12
	b.lt	LBB0_11
LBB0_12:
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.13:
	mov	x25, #0
	mov	w26, #0
	mov	w27, #-1
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x22, #32]
	sdiv	w9, w25, w20
	msub	w9, w9, w20, w25
	ldr	x9, [x8, w9, uxtw #3]
	str	x9, [x8, x25, lsl #3]
	ldr	w8, [x21, x25, lsl #2]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w26, w8, w26
	add	x25, x25, #1
	ldrsw	x8, [x22, #4]
	cmp	x25, x8
	b.ge	LBB0_26
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	ldrsw	x8, [x22]
	cmp	x25, x8
	b.ge	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x21, x25, lsl #2]
	bl	_roundup_pow_of_two
	mov	x23, x0
	mov	w0, #4
	bfi	w0, w23, #3, #29
	ldr	w1, [x24]
	bl	_kzalloc
	ldr	x8, [x22, #32]
	lsl	x9, x25, #3
	str	x0, [x8, x9]
	ldr	x8, [x22, #32]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	bl	_ilog2
	lsl	w8, w27, w0
	mvn	w8, w8
	ldr	x9, [x22, #32]
	ldr	x9, [x9, x25, lsl #3]
	str	w8, [x9]
	ldr	w8, [x21, x25, lsl #2]
	cmp	w23, #1
	b.lt	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x10, [x19, #16]
	add	x10, x10, w26, sxtw #2
	ldr	x9, [x9, #8]
	str	x10, [x9]
	cmp	w23, #1
	b.eq	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w9, w8, w26
	mov	w10, #1
	mov	x11, x26
	mov	w12, w23
LBB0_21:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w13, w11, #1
	cmp	w13, w9
	csinc	w11, w26, w11, ge
	ldr	x13, [x22, #32]
	ldr	x13, [x13, x25, lsl #3]
	ldr	x14, [x19, #16]
	add	x14, x14, w11, sxtw #2
	ldr	x13, [x13, #8]
	str	x14, [x13, x10, lsl #3]
	add	x10, x10, #1
	cmp	x12, x10
	b.ne	LBB0_21
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x9, #0
	ldr	x8, [x22, #16]
	add	x10, x8, w26, sxtw #2
LBB0_24:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w25, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x8, [x21, x25, lsl #2]
	cmp	x9, x8
	b.lt	LBB0_24
	b	LBB0_15
LBB0_25:
	mov	x0, x22
	bl	_sdma_map_free
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_29
LBB0_26:
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	w20, [x19, #12]
	mov	x0, x21
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x20
	bl	_rcu_dereference_protected
	mov	x20, x0
	ldr	w0, [x19, #12]
	mov	x1, x22
	bl	_rcu_assign_pointer
	mov	x0, x21
	bl	_spin_unlock_irq
	cbz	x20, LBB0_28
; %bb.27:
	add	x0, x20, #24
Lloh18:
	adrp	x8, _sdma_map_rcu_callback@GOTPAGE
Lloh19:
	ldr	x8, [x8, _sdma_map_rcu_callback@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_call_rcu
LBB0_28:
	mov	w0, #0
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.30:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_31:
	sub	x13, x11, #1
	cmp	w10, w13
	b.lo	LBB0_4
; %bb.32:
	lsr	x10, x13, #32
	cbnz	x10, LBB0_4
; %bb.33:
	and	x14, x11, #0xfffffff0
	and	x12, x11, #0xf
	sub	w10, w15, w14
	dup.4s	v1, w15
Lloh24:
	adrp	x15, lCPI0_0@PAGE
Lloh25:
	ldr	q2, [x15, lCPI0_0@PAGEOFF]
	dup.4s	v0, w9
	add.4s	v1, v1, v2
	mvni.4s	v2, #3
	mvni.4s	v3, #7
	mvni.4s	v4, #11
	mvni.4s	v5, #15
	mov	x15, x14
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v6, v1, v2
	add.4s	v7, v1, v3
	add.4s	v16, v1, v4
	cmgt.4s	v17, v1, #0
	cmgt.4s	v6, v6, #0
	cmgt.4s	v7, v7, #0
	cmgt.4s	v16, v16, #0
	sub.4s	v17, v0, v17
	sub.4s	v6, v0, v6
	sub.4s	v7, v0, v7
	sub.4s	v16, v0, v16
	add	x16, x8, w13, uxtw #2
	rev64.4s	v17, v17
	ext.16b	v17, v17, v17, #8
	stur	q17, [x16, #-12]
	rev64.4s	v6, v6
	ext.16b	v6, v6, v6, #8
	stur	q6, [x16, #-28]
	rev64.4s	v6, v7
	ext.16b	v6, v6, v6, #8
	stur	q6, [x16, #-44]
	rev64.4s	v6, v16
	ext.16b	v6, v6, v6, #8
	stur	q6, [x16, #-60]
	add.4s	v1, v1, v5
	sub	x13, x13, #16
	subs	x15, x15, #16
	b.ne	LBB0_34
; %bb.35:
	cmp	x14, x11
	b.ne	LBB0_5
	b	LBB0_7
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdr	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_OPA_MAX_VLS,4,2                ; @OPA_MAX_VLS
	.comm	_HFI1_HAS_SEND_DMA,4,2          ; @HFI1_HAS_SEND_DMA
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_TXE_NUM_SDMA_ENGINES,4,2       ; @TXE_NUM_SDMA_ENGINES
	.comm	_sdma_map_rcu_callback,4,2      ; @sdma_map_rcu_callback
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
