	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_rom_probe
_map_rom_probe:                         ## @map_rom_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_maprom_chipdrv@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	%r14, 48(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	_MTD_ROM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movl	(%r14), %eax
	movl	%eax, 32(%rbx)
	movq	_maprom_unmapped_area@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rbx)
	movq	_maprom_read@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	_maprom_write@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	_maprom_nop@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	_maprom_erase@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	movq	_MTD_CAP_ROM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, 4(%rbx)
	movl	$1, (%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___module_get
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_maprom_chipdrv,4,2             ## @maprom_chipdrv
	.comm	_MTD_ROM,4,2                    ## @MTD_ROM
	.comm	_maprom_unmapped_area,4,2       ## @maprom_unmapped_area
	.comm	_maprom_read,4,2                ## @maprom_read
	.comm	_maprom_write,4,2               ## @maprom_write
	.comm	_maprom_nop,4,2                 ## @maprom_nop
	.comm	_maprom_erase,4,2               ## @maprom_erase
	.comm	_MTD_CAP_ROM,4,2                ## @MTD_CAP_ROM
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_map_rom_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_rom_probe
_map_rom_probe:                         ; @map_rom_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _maprom_chipdrv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _maprom_chipdrv@GOTPAGEOFF]
	str	x8, [x20, #8]
	str	x20, [x19, #48]
	ldp	w9, w8, [x20]
	str	w8, [x19, #40]
Lloh5:
	adrp	x8, _MTD_ROM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MTD_ROM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w9, w8, [x19, #32]
Lloh8:
	adrp	x8, _maprom_unmapped_area@GOTPAGE
Lloh9:
	ldr	x8, [x8, _maprom_unmapped_area@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x10, _maprom_read@GOTPAGE
Lloh12:
	ldr	x10, [x10, _maprom_read@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #24]
Lloh14:
	adrp	x8, _maprom_write@GOTPAGE
Lloh15:
	ldr	x8, [x8, _maprom_write@GOTPAGEOFF]
Lloh16:
	adrp	x10, _maprom_nop@GOTPAGE
Lloh17:
	ldr	x10, [x10, _maprom_nop@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #16]
Lloh20:
	adrp	x8, _maprom_erase@GOTPAGE
Lloh21:
	ldr	x8, [x8, _maprom_erase@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x10, _MTD_CAP_ROM@GOTPAGE
Lloh24:
	ldr	x10, [x10, _MTD_CAP_ROM@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #8]
	mov	w8, #1
	stp	w8, w9, [x19]
Lloh26:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	___module_get
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_maprom_chipdrv,4,2             ; @maprom_chipdrv
	.comm	_MTD_ROM,4,2                    ; @MTD_ROM
	.comm	_maprom_unmapped_area,4,2       ; @maprom_unmapped_area
	.comm	_maprom_read,4,2                ; @maprom_read
	.comm	_maprom_write,4,2               ; @maprom_write
	.comm	_maprom_nop,4,2                 ; @maprom_nop
	.comm	_maprom_erase,4,2               ; @maprom_erase
	.comm	_MTD_CAP_ROM,4,2                ; @MTD_CAP_ROM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_map_rom_probe
.subsections_via_symbols
