	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_dma_test_offset
_rocker_dma_test_offset:                ## @rocker_dma_test_offset
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movq	_ROCKER_TEST_DMA_BUF_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	leal	(%rbx,%rax,2), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	_GFP_DMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rbx
	addq	%rax, %rbx
	movslq	(%r12), %r14
	movq	_PCI_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_pci_map_single
	movq	%r15, %rdi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_12
LBB0_4:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r14
	movq	_TEST_DMA_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_rocker_write64
	movq	_TEST_DMA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_rocker_write32
	movq	_ROCKER_TEST_DMA_FILL_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_memset
	movq	_ROCKER_TEST_DMA_CTRL_FILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_rocker_dma_test_one
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_ROCKER_TEST_DMA_CTRL_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_rocker_dma_test_one
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_prandom_bytes
	movl	(%r12), %eax
	testl	%eax, %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jle	LBB0_9
## %bb.7:
	xorl	%esi, %esi
	movq	_ROCKER_TEST_DMA_BUF_SIZE@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rsi), %eax
	notb	%al
	movb	%al, (%r14,%rsi)
	incq	%rsi
	movslq	(%rdx), %rax
	cmpq	%rax, %rsi
	jl	LBB0_8
LBB0_9:
	movq	_ROCKER_TEST_DMA_CTRL_INVERT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, (%rsp)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_rocker_dma_test_one
	movl	%eax, %r15d
	movq	_ROCKER_TEST_DMA_BUF_SIZE@GOTPCREL(%rip), %r12
LBB0_10:
	movl	(%r12), %edx
	movq	_PCI_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_pci_unmap_single
LBB0_11:
	movq	%r13, %rdi
	callq	_kfree
LBB0_12:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCKER_TEST_DMA_BUF_SIZE,4,2   ## @ROCKER_TEST_DMA_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ## @PCI_DMA_BIDIRECTIONAL
	.comm	_EIO,4,2                        ## @EIO
	.comm	_TEST_DMA_ADDR,4,2              ## @TEST_DMA_ADDR
	.comm	_TEST_DMA_SIZE,4,2              ## @TEST_DMA_SIZE
	.comm	_ROCKER_TEST_DMA_FILL_PATTERN,4,2 ## @ROCKER_TEST_DMA_FILL_PATTERN
	.comm	_ROCKER_TEST_DMA_CTRL_FILL,4,2  ## @ROCKER_TEST_DMA_CTRL_FILL
	.comm	_ROCKER_TEST_DMA_CTRL_CLEAR,4,2 ## @ROCKER_TEST_DMA_CTRL_CLEAR
	.comm	_ROCKER_TEST_DMA_CTRL_INVERT,4,2 ## @ROCKER_TEST_DMA_CTRL_INVERT
	.no_dead_strip	_rocker_dma_test_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_dma_test_offset
_rocker_dma_test_offset:                ; @rocker_dma_test_offset
	.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	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x27, _ROCKER_TEST_DMA_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ROCKER_TEST_DMA_BUF_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
Lloh2:
	adrp	x9, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GFP_KERNEL@GOTPAGEOFF]
	add	w0, w2, w8, lsl #1
Lloh4:
	ldr	w8, [x9]
Lloh5:
	adrp	x9, _GFP_DMA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GFP_DMA@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x24, x0, w23, sxtw
	ldrsw	x25, [x27]
Lloh8:
	adrp	x28, _PCI_DMA_BIDIRECTIONAL@GOTPAGE
Lloh9:
	ldr	x28, [x28, _PCI_DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	x0, x20
	mov	x1, x24
	mov	x2, x25
	bl	_pci_map_single
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_pci_dma_mapping_error
	cbz	x0, LBB0_4
; %bb.2:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_11
LBB0_3:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_12
LBB0_4:
	add	x25, x24, x25
Lloh16:
	adrp	x8, _TEST_DMA_ADDR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TEST_DMA_ADDR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x23
	bl	_rocker_write64
Lloh19:
	adrp	x8, _TEST_DMA_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TEST_DMA_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x27]
	mov	x0, x22
	bl	_rocker_write32
Lloh22:
	adrp	x8, _ROCKER_TEST_DMA_FILL_PATTERN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ROCKER_TEST_DMA_FILL_PATTERN@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x27]
	mov	x0, x25
	bl	_memset
Lloh25:
	adrp	x8, _ROCKER_TEST_DMA_CTRL_FILL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ROCKER_TEST_DMA_CTRL_FILL@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	ldr	w6, [x27]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	bl	_rocker_dma_test_one
	mov	x26, x0
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	w2, [x27]
	mov	x0, x25
	mov	w1, #0
	bl	_memset
Lloh28:
	adrp	x8, _ROCKER_TEST_DMA_CTRL_CLEAR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ROCKER_TEST_DMA_CTRL_CLEAR@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	ldr	w6, [x27]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	bl	_rocker_dma_test_one
	mov	x26, x0
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	w1, [x27]
	mov	x0, x24
	bl	_prandom_bytes
	ldr	w6, [x27]
	cmp	w6, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x8, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x24, x8]
	mvn	w9, w9
	strb	w9, [x25, x8]
	add	x8, x8, #1
	ldrsw	x6, [x27]
	cmp	x8, x6
	b.lt	LBB0_8
LBB0_9:
Lloh31:
	adrp	x8, _ROCKER_TEST_DMA_CTRL_INVERT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ROCKER_TEST_DMA_CTRL_INVERT@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
                                        ; kill: def $w6 killed $w6 killed $x6
	bl	_rocker_dma_test_one
	mov	x26, x0
LBB0_10:
	ldr	w2, [x27]
	ldr	w3, [x28]
	mov	x0, x20
	mov	x1, x23
	bl	_pci_unmap_single
LBB0_11:
	mov	x0, x19
	bl	_kfree
LBB0_12:
	mov	x0, x26
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCKER_TEST_DMA_BUF_SIZE,4,2   ; @ROCKER_TEST_DMA_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ; @PCI_DMA_BIDIRECTIONAL
	.comm	_EIO,4,2                        ; @EIO
	.comm	_TEST_DMA_ADDR,4,2              ; @TEST_DMA_ADDR
	.comm	_TEST_DMA_SIZE,4,2              ; @TEST_DMA_SIZE
	.comm	_ROCKER_TEST_DMA_FILL_PATTERN,4,2 ; @ROCKER_TEST_DMA_FILL_PATTERN
	.comm	_ROCKER_TEST_DMA_CTRL_FILL,4,2  ; @ROCKER_TEST_DMA_CTRL_FILL
	.comm	_ROCKER_TEST_DMA_CTRL_CLEAR,4,2 ; @ROCKER_TEST_DMA_CTRL_CLEAR
	.comm	_ROCKER_TEST_DMA_CTRL_INVERT,4,2 ; @ROCKER_TEST_DMA_CTRL_INVERT
	.no_dead_strip	_rocker_dma_test_offset
.subsections_via_symbols
