	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_dma_ib_parse         ## -- Begin function evergreen_dma_ib_parse
	.p2align	4, 0x90
_evergreen_dma_ib_parse:                ## @evergreen_dma_ib_parse
	.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	%rsi, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r14), %r15
	jae	LBB0_23
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %rbx
	movq	%rbx, %rdi
	callq	_GET_DMA_CMD
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_GET_DMA_COUNT
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_GET_DMA_SUB_CMD
	leaq	-128(%r13), %rcx
	cmpq	$3, %rcx
	ja	LBB0_24
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$8, %rax
	jne	LBB0_25
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r12, %r15
	addq	$7, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$79, %rax
	ja	LBB0_29
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$9, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %r15
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%r12, %r15
	addq	$3, %r15
	jmp	LBB0_2
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$10, %r15
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$5, %r15
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$7, %r15
	jmp	LBB0_2
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$12, %r15
	jmp	LBB0_2
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$13, %r15
	jmp	LBB0_2
LBB0_23:
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_24:
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	jmp	LBB0_27
LBB0_25:
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %rdx
	leaq	L_.str(%rip), %rdi
LBB0_26:
	movq	%r15, %rsi
LBB0_27:
	callq	_DRM_ERROR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %rdx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_26
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_1
	.long	L0_0_set_8
	.long	L0_0_set_11
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
LJTI0_1:
	.long	L0_1_set_10
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_13
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_10
	.long	L0_1_set_13
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_16
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_29
	.long	L0_1_set_17
	.long	L0_1_set_18
	.long	L0_1_set_29
	.long	L0_1_set_17
	.long	L0_1_set_13
	.long	L0_1_set_21
	.long	L0_1_set_29
	.long	L0_1_set_17
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad DMA_PACKET_WRITE [%6d] 0x%08x sub cmd is not 0 or 8\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"bad DMA_PACKET_COPY [%6d] 0x%08x invalid sub cmd\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown packet type %d at %d !\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_dma_ib_parse         ; -- Begin function evergreen_dma_ib_parse
	.p2align	2
_evergreen_dma_ib_parse:                ; @evergreen_dma_ib_parse
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, #0
Lloh0:
	adrp	x24, lJTI0_0@PAGE
Lloh1:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x25, lJTI0_1@PAGE
Lloh3:
	add	x25, x25, lJTI0_1@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	cmp	x19, x8
	b.hs	LBB0_18
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x23, [x8, x19, lsl #3]
	mov	x0, x23
	bl	_GET_DMA_CMD
	mov	x22, x0
	mov	x0, x23
	bl	_GET_DMA_COUNT
	mov	x21, x0
	mov	x0, x23
	bl	_GET_DMA_SUB_CMD
	sub	x8, x22, #128
	cmp	x8, #3
	b.hi	LBB0_19
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, #8
	b.ne	LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x19, x21
	add	x19, x8, #7
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, #79
	b.hi	LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x8, LBB0_10
	ldrb	w9, [x25, x0]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #9
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #4
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x21, x19
	add	x19, x8, #3
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #10
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #5
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #7
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #12
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #13
	b	LBB0_2
LBB0_18:
	mov	w0, #0
	b	LBB0_23
LBB0_19:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	mov	x2, x19
	b	LBB0_22
LBB0_20:
	ldr	x8, [x20, #8]
	ldr	x2, [x8, x19, lsl #3]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_21:
	mov	x1, x19
LBB0_22:
	bl	_DRM_ERROR
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_23:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_24:
	ldr	x8, [x20, #8]
	ldr	x2, [x8, x19, lsl #3]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_21
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
lJTI0_1:
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_16-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_17-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad DMA_PACKET_WRITE [%6d] 0x%08x sub cmd is not 0 or 8\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"bad DMA_PACKET_COPY [%6d] 0x%08x invalid sub cmd\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown packet type %d at %d !\n"

.subsections_via_symbols
