	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vr_nor_pci_probe
_vr_nor_pci_probe:                      ## @vr_nor_pci_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_pci_enable_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.1:
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_request_regions
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, 24(%r15)
	movq	%r15, %rdi
	callq	_vr_nor_init_maps
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movq	%r15, %rdi
	callq	_vr_nor_mtd_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	%r15, %rdi
	callq	_vr_nor_init_partitions
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movl	16(%r15), %edi
	callq	_map_destroy
LBB0_9:
	movq	_EXP_TIMING_CS0@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%r15), %rdi
	callq	_readl
	movq	_TIMING_WR_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r12), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movq	8(%r15), %rdi
	callq	_iounmap
	movq	(%r15), %rdi
	callq	_iounmap
	jmp	LBB0_10
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movq	%r15, %rdi
	callq	_kfree
	movq	%r14, %rdi
	callq	_pci_release_regions
LBB0_11:
	movq	%r14, %rdi
	callq	_pci_disable_device
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pci_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EXP_TIMING_CS0,8,3             ## @EXP_TIMING_CS0
	.comm	_TIMING_WR_EN,4,2               ## @TIMING_WR_EN
	.no_dead_strip	_vr_nor_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vr_nor_pci_probe
_vr_nor_pci_probe:                      ; @vr_nor_pci_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_pci_enable_device
	mov	x20, x0
	cbnz	w0, LBB0_11
; %bb.1:
Lloh0:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pci_request_regions
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.2:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.3:
	str	x19, [x21, #24]
	mov	x0, x21
	bl	_vr_nor_init_maps
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.4:
	mov	x0, x21
	bl	_vr_nor_mtd_setup
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_vr_nor_init_partitions
	mov	x20, x0
	cbz	w0, LBB0_12
; %bb.6:
	ldr	w0, [x21, #16]
	bl	_map_destroy
LBB0_7:
	ldr	x8, [x21]
Lloh6:
	adrp	x22, _EXP_TIMING_CS0@GOTPAGE
Lloh7:
	ldr	x22, [x22, _EXP_TIMING_CS0@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh8:
	adrp	x8, _TIMING_WR_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TIMING_WR_EN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x8, [x21]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	ldr	x0, [x21, #8]
	bl	_iounmap
	ldr	x0, [x21]
	bl	_iounmap
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x21
	bl	_kfree
	mov	x0, x19
	bl	_pci_release_regions
LBB0_10:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_pci_set_drvdata
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EXP_TIMING_CS0,8,3             ; @EXP_TIMING_CS0
	.comm	_TIMING_WR_EN,4,2               ; @TIMING_WR_EN
	.no_dead_strip	_vr_nor_pci_probe
.subsections_via_symbols
