	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r852_probe
_r852_probe:                            ## @r852_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_pci_enable_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.1:
	movq	%r15, %rdi
	callq	_pci_set_master
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.2:
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pci_request_regions
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$128, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	%rax, %r14
	movq	_r852_cmdctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%r14)
	movq	_r852_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r14)
	movq	_r852_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%r14)
	movq	_r852_read_byte@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r14)
	movq	_r852_read_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 108(%r14)
	movq	_r852_write_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%r14)
	movq	_NAND_ECC_HW_SYNDROME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%r14)
	movq	_R852_DMA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%r14)
	movq	_SM_OOB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%r14)
	movl	$2, 72(%r14)
	movq	_r852_ecc_hwctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r14)
	movq	_r852_ecc_calculate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r14)
	movq	_r852_ecc_correct@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r14)
	movq	_r852_read_oob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r14)
	movl	(%r13), %esi
	movl	$128, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_nand_set_controller_data
	movq	%r14, 64(%r12)
	movq	%r15, 56(%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pci_set_drvdata
	movq	_R852_DMA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_dma_alloc_coherent
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_15
## %bb.6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_ioremap_bar
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movq	_SM_SECTOR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	leaq	48(%r12), %rdi
	callq	_init_completion
	movq	_DRV_NAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_create_freezable_workqueue
	movl	%eax, 24(%r12)
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	leaq	28(%r12), %rdi
	movq	_r852_card_detect_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_INIT_DELAYED_WORK
	movq	%r12, %rdi
	callq	_r852_engine_disable
	movq	%r12, %rdi
	callq	_r852_disable_irqs
	movq	%r12, %rdi
	callq	_r852_dma_test
	movl	4(%r15), %eax
	movl	%eax, 44(%r12)
	movq	%r12, %rdi
	addq	$40, %rdi
	callq	_spin_lock_init
	movq	$0, 32(%r12)
	movq	%r12, %rdi
	callq	_r852_card_update_present
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	4(%r15), %edi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	_r852_irq@GOTPCREL(%rip), %rsi
	movq	%r12, %r8
	callq	_request_irq
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	negl	%r13d
	movl	24(%r12), %edi
	callq	_destroy_workqueue
LBB0_12:
	movq	16(%r12), %rdi
	callq	_kfree
LBB0_13:
	movl	8(%r12), %esi
	movq	%r15, %rdi
	callq	_pci_iounmap
	movl	%r13d, %ebx
LBB0_14:
	movq	_R852_DMA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	%r15, %rdi
	callq	_dma_free_coherent
LBB0_15:
	movq	%r12, %rdi
	callq	_kfree
LBB0_16:
	movq	%r14, %rdi
	callq	_kfree
LBB0_17:
	movq	%r15, %rdi
	callq	_pci_release_regions
LBB0_18:
	movq	%r15, %rdi
	callq	_pci_disable_device
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	24(%r12), %edi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_queue_delayed_work
	leaq	L_.str(%rip), %rdi
	callq	_pr_notice
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_r852_cmdctl,4,2                ## @r852_cmdctl
	.comm	_r852_wait,4,2                  ## @r852_wait
	.comm	_r852_ready,4,2                 ## @r852_ready
	.comm	_r852_read_byte,4,2             ## @r852_read_byte
	.comm	_r852_read_buf,4,2              ## @r852_read_buf
	.comm	_r852_write_buf,4,2             ## @r852_write_buf
	.comm	_NAND_ECC_HW_SYNDROME,4,2       ## @NAND_ECC_HW_SYNDROME
	.comm	_R852_DMA_LEN,4,2               ## @R852_DMA_LEN
	.comm	_SM_OOB_SIZE,4,2                ## @SM_OOB_SIZE
	.comm	_r852_ecc_hwctl,4,2             ## @r852_ecc_hwctl
	.comm	_r852_ecc_calculate,4,2         ## @r852_ecc_calculate
	.comm	_r852_ecc_correct,4,2           ## @r852_ecc_correct
	.comm	_r852_read_oob,4,2              ## @r852_read_oob
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_SM_SECTOR_SIZE,4,2             ## @SM_SECTOR_SIZE
	.comm	_r852_card_detect_work,4,2      ## @r852_card_detect_work
	.comm	_r852_irq,4,2                   ## @r852_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"driver loaded successfully\n"

	.no_dead_strip	_r852_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r852_probe
_r852_probe:                            ; @r852_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_pci_enable_device
	mov	x21, x0
	cbnz	w0, LBB0_19
; %bb.1:
	mov	x0, x19
	bl	_pci_set_master
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_dma_set_mask
	mov	x21, x0
	cbnz	w0, LBB0_18
; %bb.2:
Lloh0:
	adrp	x23, _DRV_NAME@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DRV_NAME@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_pci_request_regions
	mov	x21, x0
	cbnz	w0, LBB0_18
; %bb.3:
Lloh2:
	adrp	x26, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ENOMEM@GOTPAGEOFF]
	ldr	w8, [x26]
	neg	w21, w8
Lloh4:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w0, #128
	bl	_kzalloc
	cbz	x0, LBB0_17
; %bb.4:
	mov	x20, x0
Lloh6:
	adrp	x8, _r852_cmdctl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _r852_cmdctl@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _r852_wait@GOTPAGE
Lloh10:
	ldr	x9, [x9, _r852_wait@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #120]
Lloh12:
	adrp	x8, _r852_ready@GOTPAGE
Lloh13:
	ldr	x8, [x8, _r852_ready@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _r852_read_byte@GOTPAGE
Lloh16:
	ldr	x9, [x9, _r852_read_byte@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #112]
Lloh18:
	adrp	x8, _r852_read_buf@GOTPAGE
Lloh19:
	ldr	x8, [x8, _r852_read_buf@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _r852_write_buf@GOTPAGE
Lloh22:
	ldr	x9, [x9, _r852_write_buf@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _NAND_ECC_HW_SYNDROME@GOTPAGE
Lloh25:
	ldr	x10, [x10, _NAND_ECC_HW_SYNDROME@GOTPAGEOFF]
	stp	w9, w8, [x0, #104]
Lloh26:
	ldr	w8, [x10]
Lloh27:
	adrp	x24, _R852_DMA_LEN@GOTPAGE
Lloh28:
	ldr	x24, [x24, _R852_DMA_LEN@GOTPAGEOFF]
	ldr	w9, [x24]
	stp	w9, w8, [x0, #96]
Lloh29:
	adrp	x8, _SM_OOB_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SM_OOB_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _r852_ecc_hwctl@GOTPAGE
Lloh33:
	ldr	x9, [x9, _r852_ecc_hwctl@GOTPAGEOFF]
	mov	w10, #2
Lloh34:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #88]
Lloh35:
	adrp	x8, _r852_ecc_calculate@GOTPAGE
Lloh36:
	ldr	x8, [x8, _r852_ecc_calculate@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _r852_ecc_correct@GOTPAGE
Lloh39:
	ldr	x9, [x9, _r852_ecc_correct@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #80]
Lloh41:
	adrp	x8, _r852_read_oob@GOTPAGE
Lloh42:
	ldr	x8, [x8, _r852_read_oob@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	stp	w10, w8, [x0, #72]
	ldr	w1, [x25]
	mov	w0, #128
	bl	_kzalloc
	cbz	x0, LBB0_16
; %bb.5:
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_nand_set_controller_data
	stp	x19, x20, [x22, #56]
	mov	x0, x19
	mov	x1, x22
	bl	_pci_set_drvdata
	ldr	w1, [x24]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x2, x22
	bl	_dma_alloc_coherent
	str	w0, [x22, #4]
	cbz	w0, LBB0_15
; %bb.6:
Lloh44:
	adrp	x27, _ENODEV@GOTPAGE
Lloh45:
	ldr	x27, [x27, _ENODEV@GOTPAGEOFF]
	ldr	w21, [x27]
	mov	x0, x19
	mov	w1, #0
	bl	_pci_ioremap_bar
	str	w0, [x22, #8]
	cbz	w0, LBB0_13
; %bb.7:
	ldr	w8, [x26]
	neg	w21, w8
Lloh46:
	adrp	x8, _SM_SECTOR_SIZE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SM_SECTOR_SIZE@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_kzalloc
	str	x0, [x22, #16]
	cbz	x0, LBB0_12
; %bb.8:
	add	x0, x22, #48
	bl	_init_completion
	ldr	w0, [x23]
	bl	_create_freezable_workqueue
	str	w0, [x22, #24]
	cbz	w0, LBB0_11
; %bb.9:
	add	x21, x22, #28
Lloh49:
	adrp	x8, _r852_card_detect_work@GOTPAGE
Lloh50:
	ldr	x8, [x8, _r852_card_detect_work@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_DELAYED_WORK
	mov	x0, x22
	bl	_r852_engine_disable
	mov	x0, x22
	bl	_r852_disable_irqs
	mov	x0, x22
	bl	_r852_dma_test
	ldr	w8, [x19, #4]
	str	w8, [x22, #44]
	add	x0, x22, #40
	bl	_spin_lock_init
	str	xzr, [x22, #32]
	mov	x0, x22
	bl	_r852_card_update_present
	ldr	w25, [x27]
	ldr	w0, [x19, #4]
Lloh52:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh53:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	ldr	w3, [x23]
Lloh55:
	adrp	x1, _r852_irq@GOTPAGE
Lloh56:
	ldr	x1, [x1, _r852_irq@GOTPAGEOFF]
	mov	x4, x22
	bl	_request_irq
	cbz	x0, LBB0_20
; %bb.10:
	neg	w21, w25
	ldr	w0, [x22, #24]
	bl	_destroy_workqueue
LBB0_11:
	ldr	x0, [x22, #16]
	bl	_kfree
LBB0_12:
	ldr	w1, [x22, #8]
	mov	x0, x19
	bl	_pci_iounmap
	b	LBB0_14
LBB0_13:
	neg	w21, w21
LBB0_14:
	ldr	w1, [x24]
	ldp	w3, w2, [x22]
	mov	x0, x19
	bl	_dma_free_coherent
LBB0_15:
	mov	x0, x22
	bl	_kfree
LBB0_16:
	mov	x0, x20
	bl	_kfree
LBB0_17:
	mov	x0, x19
	bl	_pci_release_regions
LBB0_18:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_19:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldr	w0, [x22, #24]
	mov	x1, x21
	mov	w2, #0
	bl	_queue_delayed_work
Lloh57:
	adrp	x0, l_.str@PAGE
Lloh58:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_notice
	mov	w21, #0
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_r852_cmdctl,4,2                ; @r852_cmdctl
	.comm	_r852_wait,4,2                  ; @r852_wait
	.comm	_r852_ready,4,2                 ; @r852_ready
	.comm	_r852_read_byte,4,2             ; @r852_read_byte
	.comm	_r852_read_buf,4,2              ; @r852_read_buf
	.comm	_r852_write_buf,4,2             ; @r852_write_buf
	.comm	_NAND_ECC_HW_SYNDROME,4,2       ; @NAND_ECC_HW_SYNDROME
	.comm	_R852_DMA_LEN,4,2               ; @R852_DMA_LEN
	.comm	_SM_OOB_SIZE,4,2                ; @SM_OOB_SIZE
	.comm	_r852_ecc_hwctl,4,2             ; @r852_ecc_hwctl
	.comm	_r852_ecc_calculate,4,2         ; @r852_ecc_calculate
	.comm	_r852_ecc_correct,4,2           ; @r852_ecc_correct
	.comm	_r852_read_oob,4,2              ; @r852_read_oob
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_SM_SECTOR_SIZE,4,2             ; @SM_SECTOR_SIZE
	.comm	_r852_card_detect_work,4,2      ; @r852_card_detect_work
	.comm	_r852_irq,4,2                   ; @r852_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"driver loaded successfully\n"

	.no_dead_strip	_r852_probe
.subsections_via_symbols
