	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm47xxsflash_fill_mtd
_bcm47xxsflash_fill_mtd:                ## @bcm47xxsflash_fill_mtd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, 64(%rdi)
	movq	%rsi, 56(%rdi)
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rdi)
	movq	_MTD_NORFLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	movq	_MTD_CAP_NORFLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rdi)
	movq	(%rdi), %rax
	movq	%rax, 36(%rdi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 16(%rdi)
	movq	_bcm47xxsflash_erase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	movq	_bcm47xxsflash_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movq	_bcm47xxsflash_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bcm47xxsflash"

	.comm	_MTD_NORFLASH,4,2               ## @MTD_NORFLASH
	.comm	_MTD_CAP_NORFLASH,4,2           ## @MTD_CAP_NORFLASH
	.comm	_bcm47xxsflash_erase,4,2        ## @bcm47xxsflash_erase
	.comm	_bcm47xxsflash_read,4,2         ## @bcm47xxsflash_read
	.comm	_bcm47xxsflash_write,4,2        ## @bcm47xxsflash_write
	.no_dead_strip	_bcm47xxsflash_fill_mtd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm47xxsflash_fill_mtd
_bcm47xxsflash_fill_mtd:                ; @bcm47xxsflash_fill_mtd
	.cfi_startproc
; %bb.0:
	stp	x1, x0, [x0, #56]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x0, #8]
Lloh2:
	adrp	x8, _MTD_NORFLASH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MTD_NORFLASH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _MTD_CAP_NORFLASH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MTD_CAP_NORFLASH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #44]
	ldr	d0, [x0]
	stur	d0, [x0, #36]
	movi.2s	v0, #1
	str	d0, [x0, #16]
Lloh8:
	adrp	x8, _bcm47xxsflash_erase@GOTPAGE
Lloh9:
	ldr	x8, [x8, _bcm47xxsflash_erase@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh11:
	adrp	x8, _bcm47xxsflash_read@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bcm47xxsflash_read@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _bcm47xxsflash_write@GOTPAGE
Lloh15:
	ldr	x9, [x9, _bcm47xxsflash_write@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bcm47xxsflash"

	.comm	_MTD_NORFLASH,4,2               ; @MTD_NORFLASH
	.comm	_MTD_CAP_NORFLASH,4,2           ; @MTD_CAP_NORFLASH
	.comm	_bcm47xxsflash_erase,4,2        ; @bcm47xxsflash_erase
	.comm	_bcm47xxsflash_read,4,2         ; @bcm47xxsflash_read
	.comm	_bcm47xxsflash_write,4,2        ; @bcm47xxsflash_write
	.no_dead_strip	_bcm47xxsflash_fill_mtd
.subsections_via_symbols
