	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_grc_dump_mem_hdr
_qed_grc_dump_mem_hdr:                  ## @qed_grc_dump_mem_hdr
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -116(%rbp)                ## 4-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%r9d, %r9d
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_DP_NOTICE
LBB0_2:
	xorl	%ecx, %ecx
	cmpl	$0, 24(%rbp)
	setne	%cl
	cmpl	$1, 16(%rbp)
	sbbl	$0, %ecx
	addl	$4, %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_qed_dump_section_hdr
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_7
## %bb.3:
	cmpl	$0, 40(%rbp)
	je	LBB0_4
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	leaq	-112(%rbp), %rdi
	callq	_strcpy
	movb	48(%rbp), %al
	movb	%al, -112(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %rdi
	addq	$-112, %rdi
	jmp	LBB0_6
LBB0_7:
	movl	-116(%rbp), %edi                ## 4-byte Reload
	callq	_DWORDS_TO_BYTES
	movslq	%ebx, %rcx
	leaq	(,%rcx,4), %rdi
	addq	%r13, %rdi
	leaq	L_.str.4(%rip), %rdx
	movl	%r14d, %esi
	movl	%eax, %ecx
	callq	_qed_dump_num_param
	jmp	LBB0_8
LBB0_4:
	leaq	-112(%rbp), %rdi
LBB0_6:
	movq	%r15, %rsi
	callq	_strcpy
	movslq	%ebx, %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	leaq	L_.str.3(%rip), %rdx
	leaq	-112(%rbp), %rcx
	movl	%r14d, %esi
	callq	_qed_dump_str_param
LBB0_8:
	addl	%ebx, %eax
	movslq	%eax, %r15
	leaq	(,%r15,4), %rdi
	addq	%r13, %rdi
	leaq	L_.str.5(%rip), %rdx
	movl	%r14d, %esi
	movl	%r12d, %ecx
	callq	_qed_dump_num_param
	addl	%eax, %r15d
	movl	16(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.9:
	movslq	%r15d, %r15
	leaq	(,%r15,4), %rdi
	addq	%r13, %rdi
	leaq	L_.str.6(%rip), %rdx
	movl	%r14d, %esi
	callq	_qed_dump_num_param
	addl	%eax, %r15d
LBB0_10:
	movl	40(%rbp), %ebx
	cmpl	$0, 24(%rbp)
	je	LBB0_12
## %bb.11:
	movslq	%r15d, %r15
	leaq	(,%r15,4), %rdi
	addq	%r13, %rdi
	leaq	L_.str.7(%rip), %rdx
	movl	%r14d, %esi
	movl	$1, %ecx
	callq	_qed_dump_num_param
	addl	%eax, %r15d
LBB0_12:
	movq	32(%rbp), %r12
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.14:
	leaq	L_.str.2(%rip), %rsi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strcpy
	movb	48(%rbp), %al
	movb	%al, -112(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %rdi
	addq	$-112, %rdi
	jmp	LBB0_15
LBB0_13:
	leaq	-112(%rbp), %rdi
LBB0_15:
	movq	%r12, %rsi
	callq	_strcpy
	movslq	%r15d, %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	leaq	L_.str.8(%rip), %rdx
	leaq	-112(%rbp), %rcx
	movl	%r14d, %esi
	callq	_qed_dump_str_param
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	addl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected GRC Dump error: dumped memory size must be non-zero\n"

L_.str.1:                               ## @.str.1
	.asciz	"grc_mem"

L_.str.2:                               ## @.str.2
	.asciz	"?STORM_"

L_.str.3:                               ## @.str.3
	.asciz	"name"

L_.str.4:                               ## @.str.4
	.asciz	"addr"

L_.str.5:                               ## @.str.5
	.asciz	"len"

L_.str.6:                               ## @.str.6
	.asciz	"width"

L_.str.7:                               ## @.str.7
	.asciz	"packed"

L_.str.8:                               ## @.str.8
	.asciz	"type"

	.no_dead_strip	_qed_grc_dump_mem_hdr
.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_mem_hdr
_qed_grc_dump_mem_hdr:                  ; @qed_grc_dump_mem_hdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x7
	mov	x22, x6
	mov	x23, x5
	mov	x26, x4
	mov	x25, x3
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	cbnz	w5, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP_NOTICE
LBB0_2:
	ldrsb	w27, [x29, #28]
	ldr	w28, [x29, #24]
	cmp	w22, #0
	mov	w8, #3
	cinc	w8, w8, ne
	cmp	w21, #0
	cinc	w3, w8, ne
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_qed_dump_section_hdr
	mov	x24, x0
	cbz	x25, LBB0_6
; %bb.3:
	add	x26, sp, #8
	cbz	w28, LBB0_5
; %bb.4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_strcpy
	strb	w27, [sp, #8]
	add	x0, sp, #8
	bl	_strlen
	add	x26, x26, w0, sxtw
LBB0_5:
	mov	x0, x26
	mov	x1, x25
	bl	_strcpy
	add	x0, x20, w24, sxtw #2
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x3, sp, #8
	mov	x1, x19
	bl	_qed_dump_str_param
	b	LBB0_7
LBB0_6:
	mov	x0, x26
	bl	_DWORDS_TO_BYTES
	mov	x3, x0
	add	x0, x20, w24, sxtw #2
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_qed_dump_num_param
LBB0_7:
	add	w24, w0, w24
	add	x0, x20, w24, sxtw #2
Lloh13:
	adrp	x2, l_.str.5@PAGE
Lloh14:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x19
	mov	x3, x23
	bl	_qed_dump_num_param
	add	w23, w24, w0
	cbz	w22, LBB0_9
; %bb.8:
	add	x0, x20, w23, sxtw #2
Lloh15:
	adrp	x2, l_.str.6@PAGE
Lloh16:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x19
	mov	x3, x22
	bl	_qed_dump_num_param
	add	w23, w0, w23
LBB0_9:
	ldr	x22, [x29, #16]
	cbz	w21, LBB0_11
; %bb.10:
	add	x0, x20, w23, sxtw #2
Lloh17:
	adrp	x2, l_.str.7@PAGE
Lloh18:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x1, x19
	mov	w3, #1
	bl	_qed_dump_num_param
	add	w23, w0, w23
LBB0_11:
	add	x21, sp, #8
	cbz	w28, LBB0_13
; %bb.12:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_strcpy
	strb	w27, [sp, #8]
	add	x0, sp, #8
	bl	_strlen
	add	x21, x21, w0, sxtw
LBB0_13:
	mov	x0, x21
	mov	x1, x22
	bl	_strcpy
	add	x0, x20, w23, sxtw #2
Lloh21:
	adrp	x2, l_.str.8@PAGE
Lloh22:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x3, sp, #8
	mov	x1, x19
	bl	_qed_dump_str_param
	ldr	x8, [sp, #72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	w0, w0, w23
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected GRC Dump error: dumped memory size must be non-zero\n"

l_.str.1:                               ; @.str.1
	.asciz	"grc_mem"

l_.str.2:                               ; @.str.2
	.asciz	"?STORM_"

l_.str.3:                               ; @.str.3
	.asciz	"name"

l_.str.4:                               ; @.str.4
	.asciz	"addr"

l_.str.5:                               ; @.str.5
	.asciz	"len"

l_.str.6:                               ; @.str.6
	.asciz	"width"

l_.str.7:                               ; @.str.7
	.asciz	"packed"

l_.str.8:                               ; @.str.8
	.asciz	"type"

	.no_dead_strip	_qed_grc_dump_mem_hdr
.subsections_via_symbols
