	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_ram_probe
_map_ram_probe:                         ## @map_ram_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	$72, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_mapram_chipdrv@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	%r14, 64(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 60(%rbx)
	movq	_MTD_RAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	_mapram_erase@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 52(%rbx)
	movq	_mapram_read@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rbx)
	movq	_mapram_write@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 40(%rbx)
	movq	%rcx, 32(%rbx)
	movq	_mapram_point@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	_mapram_nop@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	_mapram_unpoint@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	_MTD_CAP_RAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	movl	$1, 4(%rbx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %ecx
	leal	-1(%rcx), %esi
	sarl	%edx
	testl	%eax, %esi
	jne	LBB0_2
## %bb.3:
	movl	%ecx, 8(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___module_get
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_mapram_chipdrv,4,2             ## @mapram_chipdrv
	.comm	_MTD_RAM,4,2                    ## @MTD_RAM
	.comm	_mapram_erase,4,2               ## @mapram_erase
	.comm	_mapram_read,4,2                ## @mapram_read
	.comm	_mapram_write,8,3               ## @mapram_write
	.comm	_mapram_point,4,2               ## @mapram_point
	.comm	_mapram_nop,4,2                 ## @mapram_nop
	.comm	_mapram_unpoint,4,2             ## @mapram_unpoint
	.comm	_MTD_CAP_RAM,4,2                ## @MTD_CAP_RAM
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_map_ram_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_ram_probe
_map_ram_probe:                         ; @map_ram_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, #72
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _mapram_chipdrv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mapram_chipdrv@GOTPAGEOFF]
	str	x8, [x20, #8]
	str	x20, [x19, #64]
Lloh5:
	adrp	x8, _MTD_RAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MTD_RAM@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x8]
	ldp	w8, w10, [x20]
	stp	w9, w10, [x19, #56]
	mov	w9, #1
	str	w8, [x19]
Lloh8:
	adrp	x10, _mapram_erase@GOTPAGE
Lloh9:
	ldr	x10, [x10, _mapram_erase@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _mapram_read@GOTPAGE
Lloh12:
	ldr	x11, [x11, _mapram_read@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
Lloh14:
	adrp	x12, _mapram_write@GOTPAGE
Lloh15:
	ldr	x12, [x12, _mapram_write@GOTPAGEOFF]
	stp	w11, w10, [x19, #48]
Lloh16:
	ldr	x10, [x12]
	stp	x10, x10, [x19, #32]
Lloh17:
	adrp	x10, _mapram_point@GOTPAGE
Lloh18:
	ldr	x10, [x10, _mapram_point@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	adrp	x11, _mapram_nop@GOTPAGE
Lloh21:
	ldr	x11, [x11, _mapram_nop@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	stp	w11, w10, [x19, #20]
Lloh23:
	adrp	x10, _mapram_unpoint@GOTPAGE
Lloh24:
	ldr	x10, [x10, _mapram_unpoint@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
Lloh26:
	adrp	x11, _MTD_CAP_RAM@GOTPAGE
Lloh27:
	ldr	x11, [x11, _MTD_CAP_RAM@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	stp	w11, w10, [x19, #12]
	str	w9, [x19, #4]
Lloh29:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x10
	sub	w11, w10, #1
	asr	w10, w10, #1
	tst	w11, w8
	b.ne	LBB0_2
; %bb.3:
	str	w9, [x19, #8]
Lloh32:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	___module_get
LBB0_4:
	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	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_mapram_chipdrv,4,2             ; @mapram_chipdrv
	.comm	_MTD_RAM,4,2                    ; @MTD_RAM
	.comm	_mapram_erase,4,2               ; @mapram_erase
	.comm	_mapram_read,4,2                ; @mapram_read
	.comm	_mapram_write,8,3               ; @mapram_write
	.comm	_mapram_point,4,2               ; @mapram_point
	.comm	_mapram_nop,4,2                 ; @mapram_nop
	.comm	_mapram_unpoint,4,2             ; @mapram_unpoint
	.comm	_MTD_CAP_RAM,4,2                ; @MTD_CAP_RAM
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_map_ram_probe
.subsections_via_symbols
