	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_parse_reg_fifo_dump
_qed_parse_reg_fifo_dump:               ## @qed_parse_reg_fifo_dump
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)
	leaq	-72(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	callq	_qed_read_section_hdr
	movl	%eax, %r15d
	movq	-72(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movq	_DBG_STATUS_REG_FIFO_BAD_DATA@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	jne	LBB0_20
## %bb.1:
	movslq	%r15d, %rax
	leaq	(%rbx,%rax,4), %rbx
	movl	-60(%rbp), %esi
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_qed_print_section_params
	cltq
	leaq	(%rbx,%rax,4), %rbx
	leaq	-72(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_qed_read_section_hdr
	movl	%eax, %r15d
	movq	-72(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.2:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rax
	leaq	(%rbx,%rax,4), %rbx
	leaq	-168(%rbp), %rsi
	leaq	-176(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_qed_read_param
	movl	%eax, %r15d
	movq	-168(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.3:
	movl	-88(%rbp), %eax
	movq	_REG_FIFO_ELEMENT_DWORDS@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	jne	LBB0_20
## %bb.4:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	jle	LBB0_5
## %bb.6:
	movslq	%r15d, %rcx
	leaq	(%rbx,%rcx,4), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	-48(%rbp), %rbx
	movq	_s_reg_fifo_error_strs@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %esi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_qed_get_buf_ptr
	movw	$10, (%rax)
	movl	-44(%rbp), %esi
	incl	%esi
	movl	%esi, -44(%rbp)
	incq	%r12
	cmpq	-112(%rbp), %r12                ## 8-byte Folded Reload
	leaq	-48(%rbp), %rbx
	je	LBB0_19
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movq	_REG_FIFO_ELEMENT_IS_PF_VF_VAL@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$4271950, -48(%rbp)             ## imm = 0x412F4E
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_sprintf
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	_qed_get_buf_ptr
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15,%r12,4), %edi
	movl	%edi, -84(%rbp)                 ## 4-byte Spill
	movq	_REG_FIFO_ELEMENT_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movq	%rax, %rcx
	movq	_REG_FIFO_ELEMENT_ADDR_FACTOR@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	_s_access_strs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%r15,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r15,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	(%r15,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	_s_privilege_strs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%r15,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_PRIVILEGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movl	(%rbx,%rax,4), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_s_protection_strs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%r15,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_PROTECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movl	(%rbx,%rax,4), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_s_master_strs@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	(%r15,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movl	(%r14,%rax,4), %ebx
	subq	$8, %rsp
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.6(%rip), %rsi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movq	-152(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-80(%rbp), %r8d                 ## 4-byte Reload
	movq	-144(%rbp), %r9                 ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	pushq	%rbx
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	leaq	-48(%rbp), %rbx
	pushq	%rbx
	callq	_sprintf
	addq	$48, %rsp
	addl	%eax, -44(%rbp)
	movl	(%r15,%r12,4), %edi
	movq	_REG_FIFO_ELEMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FIELD
	movq	%rax, %r15
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%rbx, %rdi
	callq	_qed_get_buf_ptr
	movq	%rax, %rbx
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %rsi
	movq	%rbx, %rdi
	callq	_stpcpy
	subl	%ebx, %eax
	addl	%eax, -44(%rbp)
	movl	$1, %ebx
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=2
	incq	%r14
	sarl	%r15d
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r14
	jge	LBB0_18
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	$1, %r15b
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	-44(%rbp), %esi
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_qed_get_buf_ptr
	movw	$8236, (%rax)                   ## imm = 0x202C
	movb	$0, 2(%rax)
	movl	-44(%rbp), %esi
	addl	$2, %esi
	movl	%esi, -44(%rbp)
	jmp	LBB0_16
LBB0_5:
	movl	-44(%rbp), %esi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_19:
	movq	%r14, %rdi
	callq	_qed_get_buf_ptr
	leaq	L_.str.9(%rip), %rsi
	movq	%rax, %rdi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_sprintf
                                        ## kill: def $eax killed $eax def $rax
	movl	-44(%rbp), %ecx
	addl	%ecx, %eax
	incl	%eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_DBG_STATUS_OK@GOTPCREL(%rip), %r12
LBB0_20:
	movl	(%r12), %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"global_params"

	.comm	_DBG_STATUS_REG_FIFO_BAD_DATA,4,2 ## @DBG_STATUS_REG_FIFO_BAD_DATA
L_.str.1:                               ## @.str.1
	.asciz	"reg_fifo_data"

L_.str.2:                               ## @.str.2
	.asciz	"size"

	.comm	_REG_FIFO_ELEMENT_DWORDS,4,2    ## @REG_FIFO_ELEMENT_DWORDS
	.comm	_REG_FIFO_ELEMENT_VF,4,2        ## @REG_FIFO_ELEMENT_VF
	.comm	_REG_FIFO_ELEMENT_IS_PF_VF_VAL,4,2 ## @REG_FIFO_ELEMENT_IS_PF_VF_VAL
L_.str.5:                               ## @.str.5
	.asciz	"%d"

L_.str.6:                               ## @.str.6
	.asciz	"raw: 0x%016llx, address: 0x%07x, access: %-5s, pf: %2d, vf: %s, port: %d, privilege: %-3s, protection: %-12s, master: %-4s, errors: "

	.comm	_REG_FIFO_ELEMENT_ADDRESS,4,2   ## @REG_FIFO_ELEMENT_ADDRESS
	.comm	_REG_FIFO_ELEMENT_ADDR_FACTOR,4,2 ## @REG_FIFO_ELEMENT_ADDR_FACTOR
	.comm	_s_access_strs,8,3              ## @s_access_strs
	.comm	_REG_FIFO_ELEMENT_ACCESS,4,2    ## @REG_FIFO_ELEMENT_ACCESS
	.comm	_REG_FIFO_ELEMENT_PF,4,2        ## @REG_FIFO_ELEMENT_PF
	.comm	_REG_FIFO_ELEMENT_PORT,4,2      ## @REG_FIFO_ELEMENT_PORT
	.comm	_s_privilege_strs,8,3           ## @s_privilege_strs
	.comm	_REG_FIFO_ELEMENT_PRIVILEGE,4,2 ## @REG_FIFO_ELEMENT_PRIVILEGE
	.comm	_s_protection_strs,8,3          ## @s_protection_strs
	.comm	_REG_FIFO_ELEMENT_PROTECTION,4,2 ## @REG_FIFO_ELEMENT_PROTECTION
	.comm	_s_master_strs,8,3              ## @s_master_strs
	.comm	_REG_FIFO_ELEMENT_MASTER,4,2    ## @REG_FIFO_ELEMENT_MASTER
	.comm	_REG_FIFO_ELEMENT_ERROR,4,2     ## @REG_FIFO_ELEMENT_ERROR
	.comm	_s_reg_fifo_error_strs,8,3      ## @s_reg_fifo_error_strs
L_.str.7:                               ## @.str.7
	.asciz	", "

L_.str.9:                               ## @.str.9
	.asciz	"fifo contained %d elements"

	.comm	_DBG_STATUS_OK,4,2              ## @DBG_STATUS_OK
	.no_dead_strip	_qed_parse_reg_fifo_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_parse_reg_fifo_dump
_qed_parse_reg_fifo_dump:               ; @qed_parse_reg_fifo_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	stur	wzr, [x29, #-124]
	sub	x1, x29, #96
	sub	x2, x29, #120
	bl	_qed_read_section_hdr
	mov	x22, x0
	ldur	x0, [x29, #-96]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.1:
	add	x21, x21, w22, sxtw #2
	ldur	w1, [x29, #-120]
	sub	x3, x29, #124
	mov	x0, x21
	mov	x2, x20
	bl	_qed_print_section_params
	add	x21, x21, w0, sxtw #2
	sub	x1, x29, #96
	sub	x2, x29, #120
	mov	x0, x21
	bl	_qed_read_section_hdr
	mov	x22, x0
	ldur	x0, [x29, #-96]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.2:
	add	x21, x21, w22, sxtw #2
	sub	x1, x29, #104
	sub	x2, x29, #112
	sub	x3, x29, #116
	mov	x0, x21
	bl	_qed_read_param
	mov	x22, x0
	ldur	x0, [x29, #-104]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.3:
	ldur	w8, [x29, #-116]
Lloh6:
	adrp	x9, _REG_FIFO_ELEMENT_DWORDS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_FIFO_ELEMENT_DWORDS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w23, w8, w9
	msub	w8, w23, w9, w8
	cbz	w8, LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _DBG_STATUS_REG_FIFO_BAD_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DBG_STATUS_REG_FIFO_BAD_DATA@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_6:
	cmp	w23, #0
	b.le	LBB0_20
; %bb.7:
	str	x19, [sp, #80]                  ; 8-byte Folded Spill
	mov	x28, #0
	add	x22, x21, w22, sxtw #2
Lloh11:
	adrp	x27, _s_reg_fifo_error_strs@GOTPAGE
Lloh12:
	ldr	x27, [x27, _s_reg_fifo_error_strs@GOTPAGEOFF]
	str	x23, [sp, #88]                  ; 8-byte Folded Spill
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldur	w1, [x29, #-124]
	mov	x0, x20
	bl	_qed_get_buf_ptr
	mov	w8, #10
	strh	w8, [x0]
	ldur	w8, [x29, #-124]
	add	w1, w8, #1
	stur	w1, [x29, #-124]
	add	x28, x28, #1
	ldr	x23, [sp, #88]                  ; 8-byte Folded Reload
	cmp	x28, x23
	b.eq	LBB0_19
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	w0, [x22, x28, lsl #2]
Lloh13:
	adrp	x8, _REG_FIFO_ELEMENT_VF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_VF@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_GET_FIELD
Lloh16:
	adrp	x8, _REG_FIFO_ELEMENT_IS_PF_VF_VAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_IS_PF_VF_VAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w8, #12110
	movk	w8, #65, lsl #16
	str	w8, [sp, #128]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	str	x0, [sp]
	add	x0, sp, #128
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_sprintf
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldur	w1, [x29, #-124]
	mov	x0, x20
	bl	_qed_get_buf_ptr
	str	x0, [sp, #120]                  ; 8-byte Folded Spill
	lsl	x19, x28, #2
	ldr	w24, [x22, x19]
Lloh21:
	adrp	x8, _REG_FIFO_ELEMENT_ADDRESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_ADDRESS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_GET_FIELD
Lloh24:
	adrp	x8, _REG_FIFO_ELEMENT_ADDR_FACTOR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_ADDR_FACTOR@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	mul	w8, w8, w0
	str	x8, [sp, #112]                  ; 8-byte Folded Spill
Lloh27:
	adrp	x8, _s_access_strs@GOTPAGE
Lloh28:
	ldr	x8, [x8, _s_access_strs@GOTPAGEOFF]
Lloh29:
	ldr	x25, [x8]
	ldr	w0, [x22, x19]
Lloh30:
	adrp	x8, _REG_FIFO_ELEMENT_ACCESS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_ACCESS@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_GET_FIELD
	ldr	w8, [x22, x19]
Lloh33:
	adrp	x9, _REG_FIFO_ELEMENT_PF@GOTPAGE
Lloh34:
	ldr	x9, [x9, _REG_FIFO_ELEMENT_PF@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x9]
	ldr	w9, [x25, x0, lsl #2]
	str	x9, [sp, #104]                  ; 8-byte Folded Spill
	mov	x0, x8
	bl	_GET_FIELD
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	ldr	w0, [x22, x19]
Lloh36:
	adrp	x8, _REG_FIFO_ELEMENT_PORT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_PORT@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_GET_FIELD
	mov	x26, x0
Lloh39:
	adrp	x8, _s_privilege_strs@GOTPAGE
Lloh40:
	ldr	x8, [x8, _s_privilege_strs@GOTPAGEOFF]
Lloh41:
	ldr	x21, [x8]
	ldr	w0, [x22, x19]
Lloh42:
	adrp	x8, _REG_FIFO_ELEMENT_PRIVILEGE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_PRIVILEGE@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_GET_FIELD
Lloh45:
	adrp	x8, _s_protection_strs@GOTPAGE
Lloh46:
	ldr	x8, [x8, _s_protection_strs@GOTPAGEOFF]
Lloh47:
	ldr	x23, [x8]
	ldr	w8, [x22, x19]
Lloh48:
	adrp	x9, _REG_FIFO_ELEMENT_PROTECTION@GOTPAGE
Lloh49:
	ldr	x9, [x9, _REG_FIFO_ELEMENT_PROTECTION@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x9]
	ldr	w21, [x21, x0, lsl #2]
	mov	x0, x8
	bl	_GET_FIELD
Lloh51:
	adrp	x8, _s_master_strs@GOTPAGE
Lloh52:
	ldr	x8, [x8, _s_master_strs@GOTPAGEOFF]
Lloh53:
	ldr	x25, [x8]
	ldr	w8, [x22, x19]
Lloh54:
	adrp	x9, _REG_FIFO_ELEMENT_MASTER@GOTPAGE
Lloh55:
	ldr	x9, [x9, _REG_FIFO_ELEMENT_MASTER@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x9]
	ldr	w23, [x23, x0, lsl #2]
	mov	x0, x8
	bl	_GET_FIELD
	ldr	w8, [x25, x0, lsl #2]
	stp	x23, x8, [sp, #56]
	stp	x26, x21, [sp, #40]
	add	x8, sp, #128
	str	x8, [sp, #32]
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	stp	x8, x9, [sp, #16]
	ldp	x8, x0, [sp, #112]              ; 16-byte Folded Reload
	stp	x24, x8, [sp]
Lloh57:
	adrp	x1, l_.str.6@PAGE
Lloh58:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_sprintf
	ldur	w8, [x29, #-124]
	add	w8, w8, w0
	stur	w8, [x29, #-124]
	ldr	w0, [x22, x19]
Lloh59:
	adrp	x8, _REG_FIFO_ELEMENT_ERROR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _REG_FIFO_ELEMENT_ERROR@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	bl	_GET_FIELD
	mov	x23, x0
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	mov	w25, #8236
	b.lt	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x19, #0
	mov	w21, #0
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x20
	bl	_qed_get_buf_ptr
	mov	x24, x0
	ldr	x8, [x27]
	ldr	x1, [x8, x19, lsl #3]
	bl	_stpcpy
	ldur	w8, [x29, #-124]
	sub	w9, w0, w24
	add	w8, w8, w9
	stur	w8, [x29, #-124]
	mov	w21, #1
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x19, x19, #1
	asr	w23, w23, #1
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	cmp	x19, w0, sxtw
	b.ge	LBB0_8
LBB0_16:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbz	w23, #0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldur	w1, [x29, #-124]
	cbz	w21, LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x20
	bl	_qed_get_buf_ptr
	strh	w25, [x0]
	strb	wzr, [x0, #2]
	ldur	w8, [x29, #-124]
	add	w1, w8, #2
	stur	w1, [x29, #-124]
	b	LBB0_14
LBB0_19:
	ldr	x19, [sp, #80]                  ; 8-byte Folded Reload
	b	LBB0_21
LBB0_20:
	ldur	w1, [x29, #-124]
LBB0_21:
	mov	x0, x20
	bl	_qed_get_buf_ptr
	mov	x8, x23
	str	x8, [sp]
Lloh62:
	adrp	x1, l_.str.9@PAGE
Lloh63:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_sprintf
	ldur	w8, [x29, #-124]
	add	w8, w8, w0
	add	w8, w8, #1
	str	w8, [x19]
Lloh64:
	adrp	x8, _DBG_STATUS_OK@GOTPAGE
Lloh65:
	ldr	x8, [x8, _DBG_STATUS_OK@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"global_params"

	.comm	_DBG_STATUS_REG_FIFO_BAD_DATA,4,2 ; @DBG_STATUS_REG_FIFO_BAD_DATA
l_.str.1:                               ; @.str.1
	.asciz	"reg_fifo_data"

l_.str.2:                               ; @.str.2
	.asciz	"size"

	.comm	_REG_FIFO_ELEMENT_DWORDS,4,2    ; @REG_FIFO_ELEMENT_DWORDS
	.comm	_REG_FIFO_ELEMENT_VF,4,2        ; @REG_FIFO_ELEMENT_VF
	.comm	_REG_FIFO_ELEMENT_IS_PF_VF_VAL,4,2 ; @REG_FIFO_ELEMENT_IS_PF_VF_VAL
l_.str.5:                               ; @.str.5
	.asciz	"%d"

l_.str.6:                               ; @.str.6
	.asciz	"raw: 0x%016llx, address: 0x%07x, access: %-5s, pf: %2d, vf: %s, port: %d, privilege: %-3s, protection: %-12s, master: %-4s, errors: "

	.comm	_REG_FIFO_ELEMENT_ADDRESS,4,2   ; @REG_FIFO_ELEMENT_ADDRESS
	.comm	_REG_FIFO_ELEMENT_ADDR_FACTOR,4,2 ; @REG_FIFO_ELEMENT_ADDR_FACTOR
	.comm	_s_access_strs,8,3              ; @s_access_strs
	.comm	_REG_FIFO_ELEMENT_ACCESS,4,2    ; @REG_FIFO_ELEMENT_ACCESS
	.comm	_REG_FIFO_ELEMENT_PF,4,2        ; @REG_FIFO_ELEMENT_PF
	.comm	_REG_FIFO_ELEMENT_PORT,4,2      ; @REG_FIFO_ELEMENT_PORT
	.comm	_s_privilege_strs,8,3           ; @s_privilege_strs
	.comm	_REG_FIFO_ELEMENT_PRIVILEGE,4,2 ; @REG_FIFO_ELEMENT_PRIVILEGE
	.comm	_s_protection_strs,8,3          ; @s_protection_strs
	.comm	_REG_FIFO_ELEMENT_PROTECTION,4,2 ; @REG_FIFO_ELEMENT_PROTECTION
	.comm	_s_master_strs,8,3              ; @s_master_strs
	.comm	_REG_FIFO_ELEMENT_MASTER,4,2    ; @REG_FIFO_ELEMENT_MASTER
	.comm	_REG_FIFO_ELEMENT_ERROR,4,2     ; @REG_FIFO_ELEMENT_ERROR
	.comm	_s_reg_fifo_error_strs,8,3      ; @s_reg_fifo_error_strs
l_.str.7:                               ; @.str.7
	.asciz	", "

l_.str.9:                               ; @.str.9
	.asciz	"fifo contained %d elements"

	.comm	_DBG_STATUS_OK,4,2              ; @DBG_STATUS_OK
	.no_dead_strip	_qed_parse_reg_fifo_dump
.subsections_via_symbols
