	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function physmap_flash_probe
_physmap_flash_probe:                   ## @physmap_flash_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_dev_get_platdata
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %rbx
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%rax), %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %edx
	incl	%edx
	movl	%edx, (%rbx)
	movl	(%r12), %esi
	jmp	LBB0_7
LBB0_8:
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_9
## %bb.10:
	shll	$5, %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_devm_kzalloc
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	(%rbx), %esi
	shll	$3, %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_devm_kzalloc
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_array_optional
	movq	%rax, 56(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	56(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_14
## %bb.50:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_14:
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.15:
	cmpl	$2, (%rbx)
	jl	LBB0_17
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_49:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	cmpq	$0, (%r14)
	je	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	callq	_physmap_flash_of_init
	jmp	LBB0_20
LBB0_19:
	movq	%r14, %rdi
	callq	_physmap_flash_pdata_init
LBB0_20:
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_49
## %bb.21:
	movl	(%rbx), %r13d
	testl	%r13d, %r13d
	jle	LBB0_45
## %bb.22:
	xorl	%ecx, %ecx
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
	movl	(%r12), %esi
	movq	%r14, %rdi
	movq	%rcx, %r13
	movl	%r13d, %edx
	callq	_platform_get_resource
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	40(%rbx), %rcx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	shlq	$5, %r13
	movq	%rax, 24(%rcx,%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_dev_notice
	movq	%r14, %rdi
	callq	_dev_name
	movq	40(%rbx), %rcx
	movl	%eax, 20(%rcx,%r13)
	cmpl	$0, 16(%rcx,%r13)
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	leaq	(%rcx,%r13), %rax
	addq	$16, %rax
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%r15, %rdi
	callq	_resource_size
	movl	%eax, %edi
	callq	_get_bitmask_order
	decq	%rax
	movq	%rax, 64(%rbx)
	movq	56(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	(%rcx), %ecx
	jmp	LBB0_30
LBB0_28:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%ecx, %ecx
LBB0_30:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	_rom_probe_types@GOTPCREL(%rip), %r15
	movslq	%ecx, %rcx
	addq	%rcx, %rax
	movq	%rax, %rdi
	callq	_BIT
	movq	40(%rbx), %rdi
	movl	%eax, 12(%rdi,%r13)
	movq	%r14, (%rdi,%r13)
	cmpq	$0, 56(%rbx)
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_23 Depth=1
	addq	%r13, %rdi
	callq	_physmap_addr_gpios_map_init
	testl	%eax, %eax
	jne	LBB0_48
## %bb.32:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	40(%rbx), %rdi
LBB0_33:                                ##   in Loop: Header=BB0_23 Depth=1
	addq	%r13, %rdi
	callq	_simple_map_init
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_23 Depth=1
	addq	40(%rbx), %r13
	movq	%r13, %rsi
	callq	_do_map_probe
	movq	32(%rbx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rcx,%rdx,8)
LBB0_39:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	32(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r14, (%rax)
	incq	%rcx
	movslq	(%rbx), %r13
	cmpq	%r13, %rcx
	jl	LBB0_23
	jmp	LBB0_42
LBB0_34:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_39
## %bb.35:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r15, %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rdi
	movq	40(%rbx), %rsi
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	callq	_do_map_probe
	movq	32(%rbx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rcx,%rdx,8)
	movq	32(%rbx), %rax
	cmpq	$0, (%rax,%rdx,8)
	jne	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_38 Depth=2
	incq	%r15
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r15
	jl	LBB0_38
	jmp	LBB0_39
LBB0_24:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	40(%rbx), %rcx
	shlq	$5, %rax
	movq	24(%rcx,%rax), %rdi
	callq	_PTR_ERR
	jmp	LBB0_48
LBB0_40:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_48
LBB0_42:
	cmpl	$1, %r13d
	jne	LBB0_45
## %bb.43:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_44
LBB0_45:
	movq	32(%rbx), %r15
	movq	%r14, %rdi
	callq	_dev_name
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_mtd_concat_create
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_46
LBB0_44:
	movq	%rbx, %rdi
	addq	$24, %rdi
	callq	_spin_lock_init
	movq	16(%rbx), %rdi
	movq	(%r14), %rsi
	callq	_mtd_set_of_node
	movq	16(%rbx), %rdi
	movl	12(%rbx), %esi
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_mtd_device_parse_register
	testl	%eax, %eax
	jne	LBB0_48
	jmp	LBB0_49
LBB0_46:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_44
## %bb.47:
	negl	%eax
LBB0_48:
	movq	%r14, %rdi
	movl	%eax, %ebx
	callq	_physmap_flash_remove
	movl	%ebx, %r15d
	jmp	LBB0_49
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"addr"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.1:                               ## @.str.1
	.asciz	"addr-gpios only supported for nmaps == 1\n"

L_.str.2:                               ## @.str.2
	.asciz	"physmap platform flash device: %pR\n"

	.comm	_rom_probe_types,8,3            ## @rom_probe_types
L_.str.3:                               ## @.str.3
	.asciz	"map_probe failed\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_physmap_flash_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function physmap_flash_probe
_physmap_flash_probe:                   ; @physmap_flash_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_dev_get_platdata
	cbz	w0, LBB0_16
LBB0_2:
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_11
; %bb.3:
	mov	x20, x0
Lloh2:
	adrp	x24, _IORESOURCE_MEM@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x24]
	ldr	w2, [x0]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_platform_get_resource
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	add	w2, w8, #1
	str	w2, [x20]
	ldr	w1, [x24]
	b	LBB0_4
LBB0_6:
	ldr	w8, [x20]
	cbz	w8, LBB0_12
; %bb.7:
	lsl	w1, w8, #5
	ldr	w2, [x21]
	mov	x0, x19
	bl	_devm_kzalloc
	str	x0, [x20, #40]
	cbz	x0, LBB0_11
; %bb.8:
	ldr	w8, [x20]
	lsl	w1, w8, #3
	ldr	w2, [x21]
	mov	x0, x19
	bl	_devm_kzalloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_11
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh4:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_array_optional
	str	x0, [x20, #56]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #56]
	cbz	x8, LBB0_13
; %bb.10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_11:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_17
LBB0_12:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
	cbz	x0, LBB0_19
; %bb.14:
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_19
; %bb.15:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_16:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_18:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	x8, [x19]
	cbz	x8, LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_physmap_flash_of_init
	b	LBB0_22
LBB0_21:
	mov	x0, x19
	bl	_physmap_flash_pdata_init
LBB0_22:
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.23:
	ldr	w23, [x20]
	cmp	w23, #1
	b.lt	LBB0_46
; %bb.24:
	mov	x21, #0
Lloh17:
	adrp	x22, l_.str.2@PAGE
Lloh18:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh19:
	adrp	x25, _rom_probe_types@GOTPAGE
Lloh20:
	ldr	x25, [x25, _rom_probe_types@GOTPAGEOFF]
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_39 Depth 2
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x21
	bl	_platform_get_resource
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	bl	_devm_ioremap_resource
	ldr	x8, [x20, #40]
	add	x8, x8, x21, lsl #5
	str	x0, [x8, #24]
	bl	_IS_ERR
	cbnz	x0, LBB0_41
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_dev_notice
	mov	x0, x19
	bl	_dev_name
	ldr	x8, [x20, #40]
	add	x8, x8, x21, lsl #5
	ldr	w9, [x8, #16]!
	str	w0, [x8, #4]
	cbnz	w9, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [x23]
	str	w9, [x8]
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x23
	bl	_resource_size
	bl	_get_bitmask_order
	sub	x8, x0, #1
	str	x8, [x20, #64]
	ldr	x9, [x20, #56]
	cbz	x9, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [x9]
LBB0_30:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x0, x8, w9, sxtw
	bl	_BIT
	mov	x8, x0
	ldr	x9, [x20, #40]
	add	x0, x9, x21, lsl #5
	str	w8, [x0, #12]
	str	x19, [x0]
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_25 Depth=1
	bl	_physmap_addr_gpios_map_init
	cbnz	w0, LBB0_42
; %bb.32:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x20, #40]
LBB0_33:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x0, x9, x21, lsl #5
	bl	_simple_map_init
	ldr	x0, [x20, #48]
	cbz	x0, LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x20, #40]
	add	x1, x8, x21, lsl #5
	bl	_do_map_probe
	ldr	x8, [x20, #32]
	str	x0, [x8, x21, lsl #3]
LBB0_35:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_43
; %bb.36:                               ;   in Loop: Header=BB0_25 Depth=1
	str	x19, [x8]
	add	x21, x21, #1
	ldrsw	x23, [x20]
	cmp	x21, x23
	b.lt	LBB0_25
	b	LBB0_44
LBB0_37:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x23, #0
LBB0_39:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25]
	ldr	x0, [x8, x23, lsl #3]
	ldr	x8, [x20, #40]
	add	x1, x8, x21, lsl #5
	bl	_do_map_probe
	ldr	x8, [x20, #32]
	lsl	x9, x21, #3
	str	x0, [x8, x9]
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x9]
	cbnz	x8, LBB0_35
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=2
	add	x23, x23, #1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_39
	b	LBB0_35
LBB0_41:
	and	x8, x21, #0xffffffff
	ldr	x9, [x20, #40]
	add	x8, x9, x8, lsl #5
	ldr	x0, [x8, #24]
	bl	_PTR_ERR
LBB0_42:
	mov	x23, x0
	b	LBB0_50
LBB0_43:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh23:
	adrp	x8, _ENXIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	b	LBB0_49
LBB0_44:
	cmp	w23, #1
	b.ne	LBB0_46
; %bb.45:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	str	x8, [x20, #16]
	b	LBB0_47
LBB0_46:
	ldr	x21, [x20, #32]
	mov	x0, x19
	bl	_dev_name
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_mtd_concat_create
	str	x0, [x20, #16]
	cbz	x0, LBB0_48
LBB0_47:
	add	x0, x20, #24
	bl	_spin_lock_init
	ldr	x0, [x20, #16]
	ldr	x1, [x19]
	bl	_mtd_set_of_node
	ldr	x0, [x20, #16]
	ldp	w3, w1, [x20, #8]
	ldr	w4, [x20, #4]
	mov	x2, #0
	bl	_mtd_device_parse_register
	mov	x23, x0
	cbnz	w0, LBB0_50
	b	LBB0_18
LBB0_48:
Lloh26:
	adrp	x8, _ENXIO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cbz	w8, LBB0_47
LBB0_49:
	neg	w23, w8
LBB0_50:
	mov	x0, x19
	bl	_physmap_flash_remove
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"addr"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.1:                               ; @.str.1
	.asciz	"addr-gpios only supported for nmaps == 1\n"

l_.str.2:                               ; @.str.2
	.asciz	"physmap platform flash device: %pR\n"

	.comm	_rom_probe_types,8,3            ; @rom_probe_types
l_.str.3:                               ; @.str.3
	.asciz	"map_probe failed\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_physmap_flash_probe
.subsections_via_symbols
