	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function main_raw
_main_raw:                              ## @main_raw
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_IOAT_TEST_RAW_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rdi)
	movl	$4096, 8(%rdi)                  ## imm = 0x1000
	movq	8(%rdx), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoull
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	leaq	L_str.5(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	cmpl	$3, %r15d
	jl	LBB0_6
## %bb.4:
	movq	16(%r14), %rdi
	callq	_atoi
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_str.4(%rip), %rdi
LBB0_2:
	callq	_puts
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_6:
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_open
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_8:
	movl	%eax, %r14d
	movq	_IOAT_DMATEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_ioctl
	movl	%r14d, %edi
	callq	_close
	movq	%rbx, %rdi
	callq	_prettyprint
	movl	%eax, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_IOAT_TEST_RAW_DMA,4,2          ## @IOAT_TEST_RAW_DMA
	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"/dev/ioat_test"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_EX_UNAVAILABLE,4,2             ## @EX_UNAVAILABLE
	.comm	_IOAT_DMATEST,4,2               ## @IOAT_DMATEST
L_str:                                  ## @str
	.asciz	"Cannot open /dev/ioat_test"

L_str.4:                                ## @str.4
	.asciz	"Buffer size must be greater than zero"

L_str.5:                                ## @str.5
	.asciz	"Target shoudln't be NULL"

	.no_dead_strip	_main_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function main_raw
_main_raw:                              ; @main_raw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IOAT_TEST_RAW_DMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IOAT_TEST_RAW_DMA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	movi.2s	v0, #1
	str	d0, [x0]
	mov	w8, #4096
	str	w8, [x0, #8]
	ldr	x0, [x2, #8]
	mov	x1, #0
	mov	w2, #0
	bl	_strtoull
	str	x0, [x19, #16]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_str.5@PAGE
Lloh4:
	add	x0, x0, l_str.5@PAGEOFF
	b	LBB0_5
LBB0_2:
	cmp	w21, #3
	b.lt	LBB0_6
; %bb.3:
	ldr	x0, [x20, #16]
	bl	_atoi
	str	w0, [x19, #8]
	cbnz	w0, LBB0_6
; %bb.4:
Lloh5:
	adrp	x0, l_str.4@PAGE
Lloh6:
	add	x0, x0, l_str.4@PAGEOFF
LBB0_5:
	bl	_puts
Lloh7:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_exit
LBB0_6:
Lloh10:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_open
	tbz	w0, #31, LBB0_8
; %bb.7:
Lloh15:
	adrp	x0, l_str@PAGE
Lloh16:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh17:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_exit
LBB0_8:
	mov	x20, x0
Lloh20:
	adrp	x8, _IOAT_DMATEST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IOAT_DMATEST@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ioctl
	mov	x0, x20
	bl	_close
	mov	x0, x19
	bl	_prettyprint
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IOAT_TEST_RAW_DMA,4,2          ; @IOAT_TEST_RAW_DMA
	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"/dev/ioat_test"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_EX_UNAVAILABLE,4,2             ; @EX_UNAVAILABLE
	.comm	_IOAT_DMATEST,4,2               ; @IOAT_DMATEST
l_str:                                  ; @str
	.asciz	"Cannot open /dev/ioat_test"

l_str.4:                                ; @str.4
	.asciz	"Buffer size must be greater than zero"

l_str.5:                                ; @str.5
	.asciz	"Target shoudln't be NULL"

	.no_dead_strip	_main_raw
.subsections_via_symbols
