	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_dma_cb
_aw_dma_cb:                             ## @aw_dma_cb
	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, (%rdi)
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.1:
	movq	24(%rdi), %r15
	testl	%edx, %edx
	jle	LBB0_4
## %bb.2:
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rdi
	movq	(%rdi), %r8
	movl	%edx, %r9d
	shlq	$4, %r9
	addq	$32, %rcx
	xorl	%edi, %edi
	movq	_AW_MMC_DMA_CONFIG_CH@GOTPCREL(%rip), %r10
	movq	_AW_MMC_DMA_CONFIG_OWN@GOTPCREL(%rip), %r11
	movq	_AW_MMC_DMA_CONFIG_DIC@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi), %rbx
	cmpq	%r8, %rbx
	movl	$0, %eax
	cmovneq	%rbx, %rax
	movq	%rax, (%r15,%rdi,2)
	movl	8(%rsi,%rdi), %eax
	movl	%eax, 24(%r15,%rdi,2)
	movl	(%r11), %eax
	orl	(%r10), %eax
	orl	(%r14), %eax
	movl	%eax, 8(%r15,%rdi,2)
	movq	%rcx, 16(%r15,%rdi,2)
	addq	$16, %rdi
	addq	$32, %rcx
	cmpq	%rdi, %r9
	jne	LBB0_3
LBB0_4:
	movq	_AW_MMC_DMA_CONFIG_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r15)
	movq	_AW_MMC_DMA_CONFIG_LD@GOTPCREL(%rip), %rax
	movq	_AW_MMC_DMA_CONFIG_ER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movslq	%edx, %rax
	shlq	$5, %rax
	orl	-24(%rax,%r15), %ecx
	movl	%ecx, -24(%rax,%r15)
	movq	_AW_MMC_DMA_CONFIG_DIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%ecx, %edx
	movl	%edx, -24(%rax,%r15)
	movq	$0, -16(%rax,%r15)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AW_MMC_DMA_CONFIG_CH,4,2       ## @AW_MMC_DMA_CONFIG_CH
	.comm	_AW_MMC_DMA_CONFIG_OWN,4,2      ## @AW_MMC_DMA_CONFIG_OWN
	.comm	_AW_MMC_DMA_CONFIG_DIC,4,2      ## @AW_MMC_DMA_CONFIG_DIC
	.comm	_AW_MMC_DMA_CONFIG_FD,4,2       ## @AW_MMC_DMA_CONFIG_FD
	.comm	_AW_MMC_DMA_CONFIG_LD,4,2       ## @AW_MMC_DMA_CONFIG_LD
	.comm	_AW_MMC_DMA_CONFIG_ER,4,2       ## @AW_MMC_DMA_CONFIG_ER
	.no_dead_strip	_aw_dma_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_dma_cb
_aw_dma_cb:                             ; @aw_dma_cb
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	str	w3, [x0]
	cbz	w3, LBB0_2
; %bb.1:
	ret
LBB0_2:
	ldr	x9, [x0, #24]
Lloh0:
	adrp	x8, _AW_MMC_DMA_CONFIG_DIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AW_MMC_DMA_CONFIG_DIC@GOTPAGEOFF]
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.3:
	ldp	x12, x10, [x0, #8]
	ldr	x10, [x10]
	mov	w11, w2
	add	x12, x12, #32
	add	x13, x1, #8
	add	x14, x9, #16
Lloh2:
	adrp	x15, _AW_MMC_DMA_CONFIG_CH@GOTPAGE
Lloh3:
	ldr	x15, [x15, _AW_MMC_DMA_CONFIG_CH@GOTPAGEOFF]
Lloh4:
	adrp	x16, _AW_MMC_DMA_CONFIG_OWN@GOTPAGE
Lloh5:
	ldr	x16, [x16, _AW_MMC_DMA_CONFIG_OWN@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x17, [x13, #-8]
	cmp	x17, x10
	csel	x17, xzr, x17, eq
	stur	x17, [x14, #-16]
	ldr	w17, [x13], #16
	str	w17, [x14, #8]
	ldr	w17, [x15]
	ldr	w0, [x16]
	orr	w17, w0, w17
	ldr	w0, [x8]
	orr	w17, w17, w0
	stur	w17, [x14, #-8]
	str	x12, [x14], #32
	add	x12, x12, #32
	subs	x11, x11, #1
	b.ne	LBB0_4
LBB0_5:
Lloh6:
	adrp	x10, _AW_MMC_DMA_CONFIG_FD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AW_MMC_DMA_CONFIG_FD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	ldr	w11, [x9, #8]
	orr	w10, w11, w10
	str	w10, [x9, #8]
Lloh9:
	adrp	x10, _AW_MMC_DMA_CONFIG_LD@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AW_MMC_DMA_CONFIG_LD@GOTPAGEOFF]
Lloh11:
	adrp	x11, _AW_MMC_DMA_CONFIG_ER@GOTPAGE
Lloh12:
	ldr	x11, [x11, _AW_MMC_DMA_CONFIG_ER@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
	sxtw	x11, w2
	add	x9, x9, x11, lsl #5
	ldur	w11, [x9, #-24]
	orr	w10, w10, w11
	stur	w10, [x9, #-24]
	ldr	w8, [x8]
	bic	w8, w10, w8
	stur	w8, [x9, #-24]
	stur	xzr, [x9, #-16]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AW_MMC_DMA_CONFIG_CH,4,2       ; @AW_MMC_DMA_CONFIG_CH
	.comm	_AW_MMC_DMA_CONFIG_OWN,4,2      ; @AW_MMC_DMA_CONFIG_OWN
	.comm	_AW_MMC_DMA_CONFIG_DIC,4,2      ; @AW_MMC_DMA_CONFIG_DIC
	.comm	_AW_MMC_DMA_CONFIG_FD,4,2       ; @AW_MMC_DMA_CONFIG_FD
	.comm	_AW_MMC_DMA_CONFIG_LD,4,2       ; @AW_MMC_DMA_CONFIG_LD
	.comm	_AW_MMC_DMA_CONFIG_ER,4,2       ; @AW_MMC_DMA_CONFIG_ER
	.no_dead_strip	_aw_dma_cb
.subsections_via_symbols
