	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_grc_dump_big_ram
_qed_grc_dump_big_ram:                  ## @qed_grc_dump_big_ram
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movabsq	$6865536706364260159, %rax      ## imm = 0x5F4749425F3F3F3F
	movq	%rax, -64(%rbp)
	movl	$5062994, -56(%rbp)             ## imm = 0x4D4152
	movabsq	$21745395247824703, %rax        ## imm = 0x4D41525F3F3F3F
	movq	%rax, -96(%rbp)
	movq	_s_big_ram_defs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	(%r8,%r8,4), %r15
	movq	(%rbx,%r15,8), %rax
	movq	(%rdi), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	32(%rbx,%r15,8), %edx
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	callq	_qed_rd
	movl	%eax, %r14d
	movq	24(%rbx,%r15,8), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_BIT
	xorl	%r13d, %r13d
	testl	%r14d, %eax
	setne	%r13b
	movl	16(%rbx,%r15,8), %esi
	movq	_BIG_RAM_NAME_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-96(%rbp), %rdi
	callq	_strncpy
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	16(%rbx,%r15,8), %esi
	movl	(%r14), %edx
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_strncpy
	shll	$10, %r13d
	addl	$1024, %r13d                    ## imm = 0x400
	subq	$8, %rsp
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	pushq	$0
	pushq	$0
	leaq	-96(%rbp), %rax
	pushq	%rax
	pushq	$0
	pushq	%r13
	callq	_qed_grc_dump_mem_hdr
	addq	$48, %rsp
	movl	%eax, %r14d
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.1:
	movq	_BRB_REG_BIG_RAM_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_DIV_ROUND_UP
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %rax
	addq	$12, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r15d, %ecx
	callq	_qed_wr
	movl	-4(%r12), %edi
	callq	_BYTES_TO_DWORDS
	movq	_BRB_REG_BIG_RAM_DATA_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %r9d
	movslq	%r14d, %r14
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r14,4), %rdx
	movq	_SPLIT_TYPE_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	pushq	$0
	pushq	%r10
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	pushq	$0
	callq	_qed_grc_dump_addr_range
	addq	$32, %rsp
	addl	%eax, %r14d
	incl	%r15d
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_DIV_ROUND_UP
	cmpl	%eax, %r15d
	jl	LBB0_3
	jmp	LBB0_4
LBB0_6:
	addl	-68(%rbp), %r14d                ## 4-byte Folded Reload
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.5:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.qed_grc_dump_big_ram.mem_name: ## @__const.qed_grc_dump_big_ram.mem_name
	.asciz	"???_BIG_RAM"

	.comm	_s_big_ram_defs,8,3             ## @s_big_ram_defs
	.comm	_BIG_RAM_NAME_LEN,4,2           ## @BIG_RAM_NAME_LEN
	.comm	_BRB_REG_BIG_RAM_DATA_SIZE,4,2  ## @BRB_REG_BIG_RAM_DATA_SIZE
	.comm	_SPLIT_TYPE_NONE,4,2            ## @SPLIT_TYPE_NONE
	.no_dead_strip	_qed_grc_dump_big_ram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_grc_dump_big_ram
_qed_grc_dump_big_ram:                  ; @qed_grc_dump_big_ram
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, l___const.qed_grc_dump_big_ram.mem_name@PAGE
Lloh4:
	add	x8, x8, l___const.qed_grc_dump_big_ram.mem_name@PAGEOFF
Lloh5:
	ldr	x9, [x8]
	mov	w8, #16722
	movk	w8, #77, lsl #16
	str	w8, [sp, #48]
	mov	x8, #16191
	movk	x8, #24383, lsl #16
	movk	x8, #16722, lsl #32
	movk	x8, #77, lsl #48
	stp	x8, x9, [sp, #32]
Lloh6:
	adrp	x8, _s_big_ram_defs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_big_ram_defs@GOTPAGEOFF]
Lloh8:
	ldr	x27, [x8]
	mov	w8, #40
	str	x4, [sp, #24]                   ; 8-byte Folded Spill
	madd	x28, x4, x8, x27
	ldr	x8, [x28]
	ldr	x9, [x0]
	ldr	w23, [x8, x9, lsl #2]
	ldr	w2, [x28, #32]
	bl	_qed_rd
	mov	x24, x0
	ldr	x8, [x28, #24]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_BIT
	mov	x26, x0
	ldr	w1, [x28, #16]
Lloh9:
	adrp	x25, _BIG_RAM_NAME_LEN@GOTPAGE
Lloh10:
	ldr	x25, [x25, _BIG_RAM_NAME_LEN@GOTPAGEOFF]
	ldr	w2, [x25]
	add	x0, sp, #32
	bl	_strncpy
	ldr	w1, [x28, #16]
	ldr	w2, [x25]
	add	x0, sp, #40
	bl	_strncpy
	tst	w26, w24
	mov	w8, #2048
	mov	w9, #1024
	csel	w6, w9, w8, eq
	add	x8, sp, #32
	stp	x8, xzr, [sp]
	add	x3, sp, #40
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	w4, #0
	mov	x5, x23
	mov	w7, #0
	bl	_qed_grc_dump_mem_hdr
	mov	x24, x0
	cbz	w19, LBB0_4
; %bb.1:
Lloh11:
	adrp	x28, _BRB_REG_BIG_RAM_DATA_SIZE@GOTPAGE
Lloh12:
	ldr	x28, [x28, _BRB_REG_BIG_RAM_DATA_SIZE@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x23
	bl	_DIV_ROUND_UP
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w26, #0
	mov	w8, #40
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	madd	x8, x9, x8, x27
	add	x25, x8, #12
	add	x27, x8, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x25]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x26
	bl	_qed_wr
	ldr	w0, [x27]
	bl	_BYTES_TO_DWORDS
	mov	x4, x0
	ldr	w5, [x28]
	add	x2, x20, w24, sxtw #2
Lloh13:
	adrp	x8, _SPLIT_TYPE_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SPLIT_TYPE_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w7, [x8]
	str	wzr, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	mov	w6, #0
	bl	_qed_grc_dump_addr_range
	add	w24, w0, w24
	add	w26, w26, #1
	ldr	w1, [x28]
	mov	x0, x23
	bl	_DIV_ROUND_UP
	cmp	w26, w0
	b.lt	LBB0_3
	b	LBB0_5
LBB0_4:
	add	w24, w24, w23
LBB0_5:
	ldr	x8, [sp, #56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x24
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.qed_grc_dump_big_ram.mem_name: ; @__const.qed_grc_dump_big_ram.mem_name
	.asciz	"???_BIG_RAM"

	.comm	_s_big_ram_defs,8,3             ; @s_big_ram_defs
	.comm	_BIG_RAM_NAME_LEN,4,2           ; @BIG_RAM_NAME_LEN
	.comm	_BRB_REG_BIG_RAM_DATA_SIZE,4,2  ; @BRB_REG_BIG_RAM_DATA_SIZE
	.comm	_SPLIT_TYPE_NONE,4,2            ; @SPLIT_TYPE_NONE
	.no_dead_strip	_qed_grc_dump_big_ram
.subsections_via_symbols
