	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mknspimg_print_hdr             ## -- Begin function mknspimg_print_hdr
	.p2align	4, 0x90
_mknspimg_print_hdr:                    ## @mknspimg_print_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	32(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	36(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	40(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	44(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	48(%rbx), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	52(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	56(%rbx), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	60(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movslq	64(%rbx), %rax
	leaq	(%rax,%rax,8), %rax
	movl	(%rbx,%rax,8), %esi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str.20(%rip), %rdi
	callq	_puts
	movl	4(%rbx), %esi
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, 4(%rbx)
	jle	LBB0_3
## %bb.1:
	leaq	8(%rbx), %r13
	leaq	L_.str.17(%rip), %r14
	leaq	L_.str.18(%rip), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.13(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r13), %esi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	4(%r13), %esi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	8(%r13), %esi
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	12(%r13), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	16(%r13), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printf
	incl	%r12d
	addq	$24, %r13
	cmpl	4(%rbx), %r12d
	jl	LBB0_2
LBB0_3:
	leaq	L_str.21(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Magic:             0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Image Header Size: 0x%x bytes\n"

L_.str.3:                               ## @.str.3
	.asciz	"Total Image Size:  %d bytes\n"

L_.str.4:                               ## @.str.4
	.asciz	"Product ID:        0x%x\n"

L_.str.5:                               ## @.str.5
	.asciz	"Release ID:        0x%x\n"

L_.str.6:                               ## @.str.6
	.asciz	"Version ID:        0x%x\n"

L_.str.7:                               ## @.str.7
	.asciz	"Offset Info:       0x%x\n"

L_.str.8:                               ## @.str.8
	.asciz	"Offset Sect info:  0x%x\n"

L_.str.9:                               ## @.str.9
	.asciz	"Offset Sections:   0x%x\n"

L_.str.10:                              ## @.str.10
	.asciz	"Header Checksum:   0x%x\n"

L_.str.12:                              ## @.str.12
	.asciz	"# of sections:     %u\n"

L_.str.13:                              ## @.str.13
	.asciz	"+++++ Section %d +++++\n"

L_.str.14:                              ## @.str.14
	.asciz	"Total size:  %u bytes\n"

L_.str.15:                              ## @.str.15
	.asciz	"Raw Size:    %u bytes\n"

L_.str.16:                              ## @.str.16
	.asciz	"Offset:      0x%x\n"

L_.str.17:                              ## @.str.17
	.asciz	"Type:        0x%x\n"

L_.str.18:                              ## @.str.18
	.asciz	"Name:        %s\n"

L_str:                                  ## @str
	.asciz	"****************** NSP Image Summary ******************"

L_str.20:                               ## @str.20
	.asciz	"+++ Section Information +++"

L_str.21:                               ## @str.21
	.asciz	"*******************************************************"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mknspimg_print_hdr             ; -- Begin function mknspimg_print_hdr
	.p2align	2
_mknspimg_print_hdr:                    ; @mknspimg_print_hdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w8, [x19, #32]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #36]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #40]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #44]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #48]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #52]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #56]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #60]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.9@PAGE
Lloh19:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	ldrsw	x8, [x19, #64]
	mov	w9, #72
	mul	x8, x8, x9
	ldr	w8, [x19, x8]
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.10@PAGE
Lloh21:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
Lloh22:
	adrp	x0, l_str.20@PAGE
Lloh23:
	add	x0, x0, l_str.20@PAGEOFF
	bl	_puts
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str.12@PAGE
Lloh25:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w26, #0
	add	x27, x19, #8
Lloh26:
	adrp	x20, l_.str.13@PAGE
Lloh27:
	add	x20, x20, l_.str.13@PAGEOFF
Lloh28:
	adrp	x21, l_.str.14@PAGE
Lloh29:
	add	x21, x21, l_.str.14@PAGEOFF
Lloh30:
	adrp	x22, l_.str.15@PAGE
Lloh31:
	add	x22, x22, l_.str.15@PAGEOFF
Lloh32:
	adrp	x23, l_.str.16@PAGE
Lloh33:
	add	x23, x23, l_.str.16@PAGEOFF
Lloh34:
	adrp	x24, l_.str.17@PAGE
Lloh35:
	add	x24, x24, l_.str.17@PAGEOFF
Lloh36:
	adrp	x25, l_.str.18@PAGE
Lloh37:
	add	x25, x25, l_.str.18@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x26, [sp]
	mov	x0, x20
	bl	_printf
	ldr	w8, [x27]
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
	ldr	w8, [x27, #4]
	str	x8, [sp]
	mov	x0, x22
	bl	_printf
	ldr	w8, [x27, #8]
	str	x8, [sp]
	mov	x0, x23
	bl	_printf
	ldr	w8, [x27, #12]
	str	x8, [sp]
	mov	x0, x24
	bl	_printf
	ldr	x8, [x27, #16]
	str	x8, [sp]
	mov	x0, x25
	bl	_printf
	add	w26, w26, #1
	ldr	w8, [x19, #4]
	add	x27, x27, #24
	cmp	w26, w8
	b.lt	LBB0_2
LBB0_3:
Lloh38:
	adrp	x0, l_str.21@PAGE
Lloh39:
	add	x0, x0, l_str.21@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_puts
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Magic:             0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Image Header Size: 0x%x bytes\n"

l_.str.3:                               ; @.str.3
	.asciz	"Total Image Size:  %d bytes\n"

l_.str.4:                               ; @.str.4
	.asciz	"Product ID:        0x%x\n"

l_.str.5:                               ; @.str.5
	.asciz	"Release ID:        0x%x\n"

l_.str.6:                               ; @.str.6
	.asciz	"Version ID:        0x%x\n"

l_.str.7:                               ; @.str.7
	.asciz	"Offset Info:       0x%x\n"

l_.str.8:                               ; @.str.8
	.asciz	"Offset Sect info:  0x%x\n"

l_.str.9:                               ; @.str.9
	.asciz	"Offset Sections:   0x%x\n"

l_.str.10:                              ; @.str.10
	.asciz	"Header Checksum:   0x%x\n"

l_.str.12:                              ; @.str.12
	.asciz	"# of sections:     %u\n"

l_.str.13:                              ; @.str.13
	.asciz	"+++++ Section %d +++++\n"

l_.str.14:                              ; @.str.14
	.asciz	"Total size:  %u bytes\n"

l_.str.15:                              ; @.str.15
	.asciz	"Raw Size:    %u bytes\n"

l_.str.16:                              ; @.str.16
	.asciz	"Offset:      0x%x\n"

l_.str.17:                              ; @.str.17
	.asciz	"Type:        0x%x\n"

l_.str.18:                              ; @.str.18
	.asciz	"Name:        %s\n"

l_str:                                  ; @str
	.asciz	"****************** NSP Image Summary ******************"

l_str.20:                               ; @str.20
	.asciz	"+++ Section Information +++"

l_str.21:                               ; @str.21
	.asciz	"*******************************************************"

.subsections_via_symbols
