	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_populate_sde_map
_sdma_populate_sde_map:                 ## @sdma_populate_sde_map
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %edi
	testl	%edi, %edi
	movl	$1, %r14d
	cmovel	%r14d, %edi
	callq	_roundup_pow_of_two
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	movl	%edx, (%rax,%rcx,4)
	incq	%rbx
	movl	(%r15), %edi
	testl	%edi, %edi
	cmovel	%r14d, %edi
	callq	_roundup_pow_of_two
	movl	(%r15), %ecx
	subl	%ecx, %eax
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sdma_populate_sde_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_populate_sde_map
_sdma_populate_sde_map:                 ; @sdma_populate_sde_map
	.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
	ldr	w8, [x0]
	cmp	w8, #0
	csinc	w0, w8, wzr, ne
	bl	_roundup_pow_of_two
	ldr	w8, [x19]
	cmp	w0, w8
	b.le	LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	w10, [x9, x20, lsl #2]
	add	w8, w20, w8
	str	w10, [x9, w8, sxtw #2]
	add	x20, x20, #1
	ldr	w8, [x19]
	cmp	w8, #0
	csinc	w0, w8, wzr, ne
	bl	_roundup_pow_of_two
	ldr	w8, [x19]
	sub	w9, w0, w8
	cmp	x20, w9, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sdma_populate_sde_map
.subsections_via_symbols
