	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_atom_parse_data_header  ## -- Begin function amdgpu_atom_parse_data_header
	.p2align	4, 0x90
_amdgpu_atom_parse_data_header:         ## @amdgpu_atom_parse_data_header
	.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
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %eax
	leal	(%rax,%r14,2), %edi
	addl	$4, %edi
	callq	_CU16
	movq	%rax, %rbx
	movl	(%r15), %eax
	movl	4(%r15), %ecx
	addl	%ecx, %eax
	addl	$4, %eax
	cltq
	movslq	%r14d, %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_1
## %bb.2:
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_CU16
	movl	%eax, (%r13)
LBB0_4:
	testq	%r12, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	leal	2(%rbx), %edi
	callq	_CU8
	movl	%eax, (%r12)
LBB0_6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	leal	3(%rbx), %edi
	callq	_CU8
	movl	%eax, (%r14)
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	movl	$1, %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_atom_parse_data_header  ; -- Begin function amdgpu_atom_parse_data_header
	.p2align	2
_amdgpu_atom_parse_data_header:         ; @amdgpu_atom_parse_data_header
	.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	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	ldr	w8, [x0]
	add	w8, w8, w1, lsl #1
	add	w0, w8, #4
	bl	_CU16
	ldp	w9, w8, [x25]
	add	w8, w8, w9
	add	w8, w8, #4
	sxtw	x8, w8
	ldr	w8, [x8, w24, sxtw #2]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x21, x0
	cbz	x23, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_CU16
	str	w0, [x23]
LBB0_3:
	cbz	x22, LBB0_5
; %bb.4:
	add	w0, w21, #2
	bl	_CU8
	str	w0, [x22]
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	add	w0, w21, #3
	bl	_CU8
	str	w0, [x20]
LBB0_7:
	str	w21, [x19]
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
