	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_dump_ec_hdr                ## -- Begin function ubi_dump_ec_hdr
	.p2align	4, 0x90
_ubi_dump_ec_hdr:                       ## @ubi_dump_ec_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movl	32(%rbx), %edi
	callq	_be32_to_cpu
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movl	24(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movl	16(%rbx), %edi
	callq	_be64_to_cpu
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	movl	12(%rbx), %edi
	callq	_be32_to_cpu
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movl	8(%rbx), %edi
	callq	_be32_to_cpu
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movl	4(%rbx), %edi
	callq	_be32_to_cpu
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movl	(%rbx), %edi
	callq	_be32_to_cpu
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_UBI_EC_HDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.9(%rip), %rsi
	movl	$32, %ecx
	movl	$1, %r8d
	movq	%rbx, %r9
	pushq	$1
	pushq	%rax
	callq	_print_hex_dump
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Erase counter header dump:\n"

L_.str.1:                               ## @.str.1
	.asciz	"\tmagic          %#08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"\tversion        %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"\tec             %llu\n"

L_.str.4:                               ## @.str.4
	.asciz	"\tvid_hdr_offset %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"\tdata_offset    %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"\timage_seq      %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"\thdr_crc        %#08x\n"

L_.str.8:                               ## @.str.8
	.asciz	"erase counter header hexdump:\n"

	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
L_.str.9:                               ## @.str.9
	.space	1

	.comm	_DUMP_PREFIX_OFFSET,4,2         ## @DUMP_PREFIX_OFFSET
	.comm	_UBI_EC_HDR_SIZE,4,2            ## @UBI_EC_HDR_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_dump_ec_hdr                ; -- Begin function ubi_dump_ec_hdr
	.p2align	2
_ubi_dump_ec_hdr:                       ; @ubi_dump_ec_hdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19, #32]
	bl	_be32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	ldr	x8, [x19, #24]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19, #16]
	bl	_be64_to_cpu
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19, #12]
	bl	_be32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19, #8]
	bl	_be32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19, #4]
	bl	_be32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19]
	bl	_be32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_err
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_err
Lloh18:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
Lloh23:
	adrp	x9, _UBI_EC_HDR_SIZE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _UBI_EC_HDR_SIZE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	ldr	w6, [x9]
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w3, #32
	mov	w4, #1
	mov	x5, x19
	mov	w7, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_print_hex_dump
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Erase counter header dump:\n"

l_.str.1:                               ; @.str.1
	.asciz	"\tmagic          %#08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"\tversion        %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"\tec             %llu\n"

l_.str.4:                               ; @.str.4
	.asciz	"\tvid_hdr_offset %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"\tdata_offset    %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"\timage_seq      %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"\thdr_crc        %#08x\n"

l_.str.8:                               ; @.str.8
	.asciz	"erase counter header hexdump:\n"

	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
l_.str.9:                               ; @.str.9
	.space	1

	.comm	_DUMP_PREFIX_OFFSET,4,2         ; @DUMP_PREFIX_OFFSET
	.comm	_UBI_EC_HDR_SIZE,4,2            ; @UBI_EC_HDR_SIZE
.subsections_via_symbols
