	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function owl_dma_cfg_lli
_owl_dma_cfg_lli:                       ## @owl_dma_cfg_lli
	.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
	movl	%r9d, %r14d
	movl	%r8d, %r12d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%edi, %edi
	callq	_OWL_DMA_MODE_PW
	movl	%eax, %r13d
	cmpl	$130, %r14d
	je	LBB0_7
## %bb.1:
	cmpl	$129, %r14d
	je	LBB0_4
## %bb.2:
	cmpl	$128, %r14d
	jne	LBB0_14
## %bb.3:
	xorl	%edi, %edi
	callq	_OWL_DMA_MODE_TS
	movl	%eax, %edi
	movq	_OWL_DMA_MODE_ST_DCU@GOTPCREL(%rip), %rax
	movq	_OWL_DMA_MODE_DT_DCU@GOTPCREL(%rip), %rcx
	movq	_OWL_DMA_MODE_SAM_INC@GOTPCREL(%rip), %rdx
	movq	_OWL_DMA_MODE_DAM_INC@GOTPCREL(%rip), %rsi
	orl	%r13d, %edi
	orl	(%rax), %edi
	orl	(%rcx), %edi
	orl	(%rdx), %edi
	orl	(%rsi), %edi
	jmp	LBB0_5
LBB0_4:
	movl	(%r15), %edi
	callq	_OWL_DMA_MODE_TS
	movl	%eax, %edi
	movq	_OWL_DMA_MODE_ST_DCU@GOTPCREL(%rip), %rax
	movq	_OWL_DMA_MODE_DT_DEV@GOTPCREL(%rip), %rcx
	movq	_OWL_DMA_MODE_SAM_INC@GOTPCREL(%rip), %rdx
	movq	_OWL_DMA_MODE_DAM_CONST@GOTPCREL(%rip), %rsi
	orl	%r13d, %edi
	orl	(%rax), %edi
	orl	(%rcx), %edi
	orl	(%rdx), %edi
	orl	(%rsi), %edi
	movq	16(%rbp), %rax
	movl	4(%rax), %eax
	movq	_DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_OWL_DMA_MODE_NDDBW_8BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
LBB0_5:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_7:
	movl	(%r15), %edi
	callq	_OWL_DMA_MODE_TS
	movl	%eax, %edi
	movq	_OWL_DMA_MODE_ST_DEV@GOTPCREL(%rip), %rax
	movq	_OWL_DMA_MODE_DT_DCU@GOTPCREL(%rip), %rcx
	movq	_OWL_DMA_MODE_SAM_CONST@GOTPCREL(%rip), %rdx
	movq	_OWL_DMA_MODE_DAM_INC@GOTPCREL(%rip), %rsi
	orl	%r13d, %edi
	orl	(%rax), %edi
	orl	(%rcx), %edi
	orl	(%rdx), %edi
	orl	(%rsi), %edi
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	movq	_DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.8:
	movq	_OWL_DMA_MODE_NDDBW_8BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
LBB0_9:
	movl	24(%rbp), %r14d
	movq	$0, 56(%rbx)
	movq	%rdx, 48(%rbx)
	movq	%rcx, 40(%rbx)
	movl	$1, (%rbx)
	movl	%r12d, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	_OWL_DMA_LLC_SAV_LOAD_NEXT@GOTPCREL(%rip), %rax
	movq	_OWL_DMA_LLC_DAV_LOAD_NEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_llc_hw_ctrla
	movl	%eax, 16(%rbx)
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:
	movq	_OWL_DMA_INTCTL_BLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_OWL_DMA_INTCTL_SUPER_BLOCK@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %edi
	callq	_llc_hw_ctrlb
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OWL_DMA_MODE_ST_DCU,4,2        ## @OWL_DMA_MODE_ST_DCU
	.comm	_OWL_DMA_MODE_DT_DCU,4,2        ## @OWL_DMA_MODE_DT_DCU
	.comm	_OWL_DMA_MODE_SAM_INC,4,2       ## @OWL_DMA_MODE_SAM_INC
	.comm	_OWL_DMA_MODE_DAM_INC,4,2       ## @OWL_DMA_MODE_DAM_INC
	.comm	_OWL_DMA_MODE_DT_DEV,4,2        ## @OWL_DMA_MODE_DT_DEV
	.comm	_OWL_DMA_MODE_DAM_CONST,4,2     ## @OWL_DMA_MODE_DAM_CONST
	.comm	_DMA_SLAVE_BUSWIDTH_1_BYTE,4,2  ## @DMA_SLAVE_BUSWIDTH_1_BYTE
	.comm	_OWL_DMA_MODE_NDDBW_8BIT,4,2    ## @OWL_DMA_MODE_NDDBW_8BIT
	.comm	_OWL_DMA_MODE_ST_DEV,4,2        ## @OWL_DMA_MODE_ST_DEV
	.comm	_OWL_DMA_MODE_SAM_CONST,4,2     ## @OWL_DMA_MODE_SAM_CONST
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OWL_DMA_LLC_SAV_LOAD_NEXT,4,2  ## @OWL_DMA_LLC_SAV_LOAD_NEXT
	.comm	_OWL_DMA_LLC_DAV_LOAD_NEXT,4,2  ## @OWL_DMA_LLC_DAV_LOAD_NEXT
	.comm	_OWL_DMA_INTCTL_BLOCK,4,2       ## @OWL_DMA_INTCTL_BLOCK
	.comm	_OWL_DMA_INTCTL_SUPER_BLOCK,4,2 ## @OWL_DMA_INTCTL_SUPER_BLOCK
	.no_dead_strip	_owl_dma_cfg_lli
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function owl_dma_cfg_lli
_owl_dma_cfg_lli:                       ; @owl_dma_cfg_lli
	.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
	mov	x20, x7
	mov	x24, x6
	mov	x26, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x27, x0
	mov	w0, #0
	bl	_OWL_DMA_MODE_PW
	mov	x25, x0
	cmp	w26, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w26, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w26, #128
	b.ne	LBB0_12
; %bb.3:
	mov	w0, #0
	bl	_OWL_DMA_MODE_TS
Lloh0:
	adrp	x8, _OWL_DMA_MODE_ST_DCU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OWL_DMA_MODE_ST_DCU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _OWL_DMA_MODE_DT_DCU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OWL_DMA_MODE_DT_DCU@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _OWL_DMA_MODE_SAM_INC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _OWL_DMA_MODE_SAM_INC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _OWL_DMA_MODE_DAM_INC@GOTPAGE
Lloh10:
	ldr	x11, [x11, _OWL_DMA_MODE_DAM_INC@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w12, w0, w25
	orr	w8, w12, w8
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w0, w8, w11
	b	LBB0_8
LBB0_4:
	ldr	w0, [x27]
	bl	_OWL_DMA_MODE_TS
Lloh12:
	adrp	x8, _OWL_DMA_MODE_ST_DEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OWL_DMA_MODE_ST_DEV@GOTPAGEOFF]
Lloh14:
	adrp	x9, _OWL_DMA_MODE_DT_DCU@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OWL_DMA_MODE_DT_DCU@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _OWL_DMA_MODE_SAM_CONST@GOTPAGE
Lloh19:
	ldr	x10, [x10, _OWL_DMA_MODE_SAM_CONST@GOTPAGEOFF]
Lloh20:
	adrp	x11, _OWL_DMA_MODE_DAM_INC@GOTPAGE
Lloh21:
	ldr	x11, [x11, _OWL_DMA_MODE_DAM_INC@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
Lloh23:
	ldr	w11, [x11]
	orr	w12, w0, w25
	orr	w8, w12, w8
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w0, w8, w11
	ldr	w8, [x24]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x27]
	bl	_OWL_DMA_MODE_TS
Lloh24:
	adrp	x8, _OWL_DMA_MODE_ST_DCU@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OWL_DMA_MODE_ST_DCU@GOTPAGEOFF]
Lloh26:
	adrp	x9, _OWL_DMA_MODE_DT_DEV@GOTPAGE
Lloh27:
	ldr	x9, [x9, _OWL_DMA_MODE_DT_DEV@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _OWL_DMA_MODE_SAM_INC@GOTPAGE
Lloh31:
	ldr	x10, [x10, _OWL_DMA_MODE_SAM_INC@GOTPAGEOFF]
Lloh32:
	adrp	x11, _OWL_DMA_MODE_DAM_CONST@GOTPAGE
Lloh33:
	ldr	x11, [x11, _OWL_DMA_MODE_DAM_CONST@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
Lloh35:
	ldr	w11, [x11]
	orr	w12, w0, w25
	orr	w8, w12, w8
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w0, w8, w11
	ldr	w8, [x24, #4]
LBB0_6:
Lloh36:
	adrp	x9, _DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
Lloh39:
	adrp	x8, _OWL_DMA_MODE_NDDBW_8BIT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _OWL_DMA_MODE_NDDBW_8BIT@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_8:
	stp	x23, xzr, [x19, #48]
	str	x22, [x19, #40]
	mov	w8, #1
	stp	w8, w21, [x19]
Lloh42:
	adrp	x8, _OWL_DMA_LLC_SAV_LOAD_NEXT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _OWL_DMA_LLC_SAV_LOAD_NEXT@GOTPAGEOFF]
	stp	xzr, xzr, [x19, #24]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _OWL_DMA_LLC_DAV_LOAD_NEXT@GOTPAGE
Lloh46:
	ldr	x9, [x9, _OWL_DMA_LLC_DAV_LOAD_NEXT@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_llc_hw_ctrla
	str	w0, [x19, #16]
	cbz	w20, LBB0_10
; %bb.9:
Lloh48:
	adrp	x8, _OWL_DMA_INTCTL_BLOCK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _OWL_DMA_INTCTL_BLOCK@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh50:
	adrp	x8, _OWL_DMA_INTCTL_SUPER_BLOCK@GOTPAGE
Lloh51:
	ldr	x8, [x8, _OWL_DMA_INTCTL_SUPER_BLOCK@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	bl	_llc_hw_ctrlb
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #8]
	b	LBB0_13
LBB0_12:
Lloh52:
	adrp	x8, _EINVAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_OWL_DMA_MODE_ST_DCU,4,2        ; @OWL_DMA_MODE_ST_DCU
	.comm	_OWL_DMA_MODE_DT_DCU,4,2        ; @OWL_DMA_MODE_DT_DCU
	.comm	_OWL_DMA_MODE_SAM_INC,4,2       ; @OWL_DMA_MODE_SAM_INC
	.comm	_OWL_DMA_MODE_DAM_INC,4,2       ; @OWL_DMA_MODE_DAM_INC
	.comm	_OWL_DMA_MODE_DT_DEV,4,2        ; @OWL_DMA_MODE_DT_DEV
	.comm	_OWL_DMA_MODE_DAM_CONST,4,2     ; @OWL_DMA_MODE_DAM_CONST
	.comm	_DMA_SLAVE_BUSWIDTH_1_BYTE,4,2  ; @DMA_SLAVE_BUSWIDTH_1_BYTE
	.comm	_OWL_DMA_MODE_NDDBW_8BIT,4,2    ; @OWL_DMA_MODE_NDDBW_8BIT
	.comm	_OWL_DMA_MODE_ST_DEV,4,2        ; @OWL_DMA_MODE_ST_DEV
	.comm	_OWL_DMA_MODE_SAM_CONST,4,2     ; @OWL_DMA_MODE_SAM_CONST
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OWL_DMA_LLC_SAV_LOAD_NEXT,4,2  ; @OWL_DMA_LLC_SAV_LOAD_NEXT
	.comm	_OWL_DMA_LLC_DAV_LOAD_NEXT,4,2  ; @OWL_DMA_LLC_DAV_LOAD_NEXT
	.comm	_OWL_DMA_INTCTL_BLOCK,4,2       ; @OWL_DMA_INTCTL_BLOCK
	.comm	_OWL_DMA_INTCTL_SUPER_BLOCK,4,2 ; @OWL_DMA_INTCTL_SUPER_BLOCK
	.no_dead_strip	_owl_dma_cfg_lli
.subsections_via_symbols
