	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function powernv_flash_set_driver_info
_powernv_flash_set_driver_info:         ## @powernv_flash_set_driver_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_of_property_read_u64
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	callq	_dev_err
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	callq	_devm_kasprintf
	movl	%eax, 48(%r14)
	movq	_MTD_NORFLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_MTD_WRITEABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movl	-32(%rbp), %eax
	movl	%eax, 36(%r14)
	movl	-28(%rbp), %eax
	movl	%eax, 32(%r14)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%r14)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_powernv_flash_erase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_powernv_flash_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_powernv_flash_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	%r15, 8(%r14)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_mtd_set_of_node
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ibm,flash-block-size"

L_.str.1:                               ## @.str.1
	.asciz	"couldn't get resource block size information\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"couldn't get resource size information\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.4:                               ## @.str.4
	.asciz	"%pOFP"

	.comm	_MTD_NORFLASH,4,2               ## @MTD_NORFLASH
	.comm	_MTD_WRITEABLE,4,2              ## @MTD_WRITEABLE
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_powernv_flash_erase,4,2        ## @powernv_flash_erase
	.comm	_powernv_flash_read,4,2         ## @powernv_flash_read
	.comm	_powernv_flash_write,4,2        ## @powernv_flash_write
	.no_dead_strip	_powernv_flash_set_driver_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function powernv_flash_set_driver_info
_powernv_flash_set_driver_info:         ; @powernv_flash_set_driver_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_of_property_read_u32
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	bl	_of_property_read_u64
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x19]
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_kasprintf
	str	w0, [x20, #48]
Lloh13:
	adrp	x8, _MTD_NORFLASH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MTD_NORFLASH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _MTD_WRITEABLE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MTD_WRITEABLE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #40]
	ldp	w9, w8, [sp, #8]
	stp	w9, w8, [x20, #32]
	movi.2s	v0, #1
	str	d0, [x20]
Lloh19:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _powernv_flash_erase@GOTPAGE
Lloh23:
	ldr	x9, [x9, _powernv_flash_erase@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
Lloh25:
	adrp	x8, _powernv_flash_read@GOTPAGE
Lloh26:
	ldr	x8, [x8, _powernv_flash_read@GOTPAGEOFF]
Lloh27:
	adrp	x9, _powernv_flash_write@GOTPAGE
Lloh28:
	ldr	x9, [x9, _powernv_flash_write@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
	str	x19, [x20, #8]
	ldr	w1, [x19]
	mov	x0, x20
	bl	_mtd_set_of_node
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ibm,flash-block-size"

l_.str.1:                               ; @.str.1
	.asciz	"couldn't get resource block size information\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"couldn't get resource size information\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.4:                               ; @.str.4
	.asciz	"%pOFP"

	.comm	_MTD_NORFLASH,4,2               ; @MTD_NORFLASH
	.comm	_MTD_WRITEABLE,4,2              ; @MTD_WRITEABLE
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_powernv_flash_erase,4,2        ; @powernv_flash_erase
	.comm	_powernv_flash_read,4,2         ; @powernv_flash_read
	.comm	_powernv_flash_write,4,2        ; @powernv_flash_write
	.no_dead_strip	_powernv_flash_set_driver_info
.subsections_via_symbols
