	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lio_cn68xx_set_dpi_regs
_lio_cn68xx_set_dpi_regs:               ## @lio_cn68xx_set_dpi_regs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_CN6XXX_DPI_DMA_CTL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CN6XXX_DPI_DMA_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_lio_pci_writeq
	movq	(%r15), %rbx
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_lio_pci_readq
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	leaq	l___const.lio_cn68xx_set_dpi_regs.fifo_sizes(%rip), %r13
	leaq	L_.str.1(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_CN6XXX_DPI_DMA_ENG_ENB
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_lio_pci_writeq
	movl	(%r13), %r12d
	movl	%ebx, %edi
	callq	_CN6XXX_DPI_DMA_ENG_BUF
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_lio_pci_writeq
	movq	(%r15), %r12
	movl	%ebx, %edi
	callq	_CN6XXX_DPI_DMA_ENG_BUF
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_lio_pci_readq
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	incq	%rbx
	addq	$4, %r13
	cmpq	$6, %rbx
	jne	LBB0_1
## %bb.2:
	movq	_CN6XXX_DPI_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_lio_pci_writeq
	movq	(%r15), %rbx
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_lio_pci_readq
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.lio_cn68xx_set_dpi_regs.fifo_sizes
l___const.lio_cn68xx_set_dpi_regs.fifo_sizes:
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	8                               ## 0x8

	.comm	_CN6XXX_DPI_DMA_CTL_MASK,4,2    ## @CN6XXX_DPI_DMA_CTL_MASK
	.comm	_CN6XXX_DPI_DMA_CONTROL,4,2     ## @CN6XXX_DPI_DMA_CONTROL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPI_DMA_CONTROL: 0x%016llx\n"

L_.str.1:                               ## @.str.1
	.asciz	"DPI_ENG_BUF%d: 0x%016llx\n"

	.comm	_CN6XXX_DPI_CTL,4,2             ## @CN6XXX_DPI_CTL
L_.str.2:                               ## @.str.2
	.asciz	"DPI_CTL: 0x%016llx\n"

	.no_dead_strip	_lio_cn68xx_set_dpi_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lio_cn68xx_set_dpi_regs
_lio_cn68xx_set_dpi_regs:               ; @lio_cn68xx_set_dpi_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _CN6XXX_DPI_DMA_CTL_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CN6XXX_DPI_DMA_CTL_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _CN6XXX_DPI_DMA_CONTROL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CN6XXX_DPI_DMA_CONTROL@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_lio_pci_writeq
	ldr	x20, [x19]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lio_pci_readq
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	x20, #0
Lloh7:
	adrp	x23, l___const.lio_cn68xx_set_dpi_regs.fifo_sizes@PAGE
Lloh8:
	add	x23, x23, l___const.lio_cn68xx_set_dpi_regs.fifo_sizes@PAGEOFF
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_CN6XXX_DPI_DMA_ENG_ENB
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_lio_pci_writeq
	ldr	w22, [x23, x20, lsl #2]
	mov	x0, x20
	bl	_CN6XXX_DPI_DMA_ENG_BUF
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_lio_pci_writeq
	ldr	x22, [x19]
	mov	x0, x20
	bl	_CN6XXX_DPI_DMA_ENG_BUF
	mov	x1, x0
	mov	x0, x19
	bl	_lio_pci_readq
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_dev_dbg
	add	x20, x20, #1
	cmp	x20, #6
	b.ne	LBB0_1
; %bb.2:
Lloh11:
	adrp	x21, _CN6XXX_DPI_CTL@GOTPAGE
Lloh12:
	ldr	x21, [x21, _CN6XXX_DPI_CTL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #1
	bl	_lio_pci_writeq
	ldr	x20, [x19]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_lio_pci_readq
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dev_dbg
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.lio_cn68xx_set_dpi_regs.fifo_sizes
l___const.lio_cn68xx_set_dpi_regs.fifo_sizes:
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	8                               ; 0x8

	.comm	_CN6XXX_DPI_DMA_CTL_MASK,4,2    ; @CN6XXX_DPI_DMA_CTL_MASK
	.comm	_CN6XXX_DPI_DMA_CONTROL,4,2     ; @CN6XXX_DPI_DMA_CONTROL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPI_DMA_CONTROL: 0x%016llx\n"

l_.str.1:                               ; @.str.1
	.asciz	"DPI_ENG_BUF%d: 0x%016llx\n"

	.comm	_CN6XXX_DPI_CTL,4,2             ; @CN6XXX_DPI_CTL
l_.str.2:                               ; @.str.2
	.asciz	"DPI_CTL: 0x%016llx\n"

	.no_dead_strip	_lio_cn68xx_set_dpi_regs
.subsections_via_symbols
