	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r592_probe
_r592_probe:                            ## @r592_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, %r12
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	$64, %edi
	movq	%r12, %rsi
	callq	_memstick_alloc_host
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_memstick_priv
	movq	%rax, %r15
	movq	%r14, 56(%rax)
	movq	%r12, 48(%rax)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_pci_set_drvdata
	movq	%r12, %rdi
	callq	_pci_enable_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.2:
	movq	%r12, %rdi
	callq	_pci_set_master
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.3:
	movq	_DRV_NAME@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_pci_request_regions
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.4:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_pci_ioremap_bar
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_15
## %bb.5:
	movl	4(%r12), %eax
	movl	%eax, 24(%r15)
	leaq	44(%r15), %rdi
	callq	_spin_lock_init
	leaq	40(%r15), %rdi
	callq	_spin_lock_init
	leaq	36(%r15), %rdi
	callq	_init_completion
	movl	32(%r15), %edi
	callq	_INIT_KFIFO
	leaq	28(%r15), %rdi
	movq	_r592_detect_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_MEMSTICK_CAP_PAR4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_r592_submit_req@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_r592_set_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r15, %rdi
	callq	_r592_check_dma
	movq	_r592_process_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rsi
	callq	_kthread_run
	movl	%eax, 4(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	4(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_7:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rbx
	addq	$8, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_dma_alloc_coherent
	movq	%rax, 16(%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_r592_stop_dma
	movl	24(%r15), %edi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	_r592_irq@GOTPCREL(%rip), %rsi
	movq	%r15, %r8
	callq	_request_irq
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	callq	_r592_update_card_detect
	movq	%r14, %rdi
	callq	_memstick_add_host
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	24(%r15), %edi
	movq	%r15, %rsi
	callq	_free_irq
LBB0_11:
	movq	16(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.12:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	callq	_dma_free_coherent
LBB0_13:
	movl	4(%r15), %edi
	callq	_kthread_stop
	xorl	%ebx, %ebx
LBB0_14:
	movl	(%r15), %edi
	callq	_iounmap
LBB0_15:
	movq	%r12, %rdi
	callq	_pci_release_regions
LBB0_16:
	movq	%r12, %rdi
	callq	_pci_disable_device
LBB0_17:
	movq	%r14, %rdi
	callq	_memstick_free_host
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_message
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_r592_detect_timer,4,2          ## @r592_detect_timer
	.comm	_MEMSTICK_CAP_PAR4,4,2          ## @MEMSTICK_CAP_PAR4
	.comm	_r592_submit_req,4,2            ## @r592_submit_req
	.comm	_r592_set_param,4,2             ## @r592_set_param
	.comm	_r592_process_thread,4,2        ## @r592_process_thread
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r592_io"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_r592_irq,4,2                   ## @r592_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.1:                               ## @.str.1
	.asciz	"driver successfully loaded"

	.no_dead_strip	_r592_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r592_probe
_r592_probe:                            ; @r592_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	w0, #64
	mov	x1, x19
	bl	_memstick_alloc_host
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	bl	_memstick_priv
	mov	x21, x0
	stp	x19, x20, [x0, #48]
	mov	x0, x19
	mov	x1, x21
	bl	_pci_set_drvdata
	mov	x0, x19
	bl	_pci_enable_device
	mov	x22, x0
	cbnz	w0, LBB0_18
; %bb.2:
	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	x22, x0
	cbnz	w0, LBB0_17
; %bb.3:
Lloh3:
	adrp	x23, _DRV_NAME@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DRV_NAME@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_pci_request_regions
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_pci_ioremap_bar
	str	w0, [x21]
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w8, [x19, #4]
	str	w8, [x21, #24]
	add	x0, x21, #44
	bl	_spin_lock_init
	add	x0, x21, #40
	bl	_spin_lock_init
	add	x0, x21, #36
	bl	_init_completion
	ldr	w0, [x21, #32]
	bl	_INIT_KFIFO
	add	x0, x21, #28
Lloh5:
	adrp	x8, _r592_detect_timer@GOTPAGE
Lloh6:
	ldr	x8, [x8, _r592_detect_timer@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
Lloh8:
	adrp	x8, _MEMSTICK_CAP_PAR4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MEMSTICK_CAP_PAR4@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh11:
	adrp	x8, _r592_submit_req@GOTPAGE
Lloh12:
	ldr	x8, [x8, _r592_submit_req@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _r592_set_param@GOTPAGE
Lloh15:
	ldr	x9, [x9, _r592_set_param@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x21
	bl	_r592_check_dma
Lloh17:
	adrp	x8, _r592_process_thread@GOTPAGE
Lloh18:
	ldr	x8, [x8, _r592_process_thread@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	bl	_kthread_run
	str	w0, [x21, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w0, [x21, #4]
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_15
LBB0_7:
	neg	w22, w21
	b	LBB0_19
LBB0_8:
	mov	w22, #0
	b	LBB0_16
LBB0_9:
Lloh22:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh23:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x22, x21, #8
Lloh24:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_dma_alloc_coherent
	str	x0, [x21, #16]
	mov	x0, x21
	mov	w1, #0
	bl	_r592_stop_dma
	ldr	w0, [x21, #24]
Lloh27:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldr	w3, [x23]
Lloh30:
	adrp	x1, _r592_irq@GOTPAGE
Lloh31:
	ldr	x1, [x1, _r592_irq@GOTPAGEOFF]
	mov	x4, x21
	bl	_request_irq
	cbnz	x0, LBB0_12
; %bb.10:
	mov	x0, x21
	bl	_r592_update_card_detect
	mov	x0, x20
	bl	_memstick_add_host
	cbz	x0, LBB0_20
; %bb.11:
	ldr	w0, [x21, #24]
	mov	x1, x21
	bl	_free_irq
LBB0_12:
	ldr	x2, [x21, #16]
	cbz	x2, LBB0_14
; %bb.13:
	ldr	w1, [x24]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_dma_free_coherent
LBB0_14:
	ldr	w0, [x21, #4]
	bl	_kthread_stop
	mov	w22, #0
LBB0_15:
	ldr	w0, [x21]
	bl	_iounmap
LBB0_16:
	mov	x0, x19
	bl	_pci_release_regions
LBB0_17:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_18:
	mov	x0, x20
	bl	_memstick_free_host
LBB0_19:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_message
	mov	w22, #0
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh20, Lloh21
	.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	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_r592_detect_timer,4,2          ; @r592_detect_timer
	.comm	_MEMSTICK_CAP_PAR4,4,2          ; @MEMSTICK_CAP_PAR4
	.comm	_r592_submit_req,4,2            ; @r592_submit_req
	.comm	_r592_set_param,4,2             ; @r592_set_param
	.comm	_r592_process_thread,4,2        ; @r592_process_thread
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r592_io"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_r592_irq,4,2                   ; @r592_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.1:                               ; @.str.1
	.asciz	"driver successfully loaded"

	.no_dead_strip	_r592_probe
.subsections_via_symbols
