	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stop_atmel_card                ## -- Begin function stop_atmel_card
	.p2align	4, 0x90
_stop_atmel_card:                       ## @stop_atmel_card
	.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, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_BUS_TYPE_PCCARD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_GCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$96, %edx
	callq	_atmel_write16
LBB0_2:
	movq	_GCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_atmel_write16
	movq	%r14, %rdi
	addq	$12, %rdi
	callq	_del_timer_sync
	movq	%rbx, %rdi
	callq	_unregister_netdev
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_remove_proc_entry
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movl	8(%r14), %edi
	callq	_kfree
	movl	(%rbx), %edi
	movl	$32, %esi
	callq	_release_region
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free_netdev                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BUS_TYPE_PCCARD,8,3            ## @BUS_TYPE_PCCARD
	.comm	_GCR,4,2                        ## @GCR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"driver/atmel"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stop_atmel_card                ; -- Begin function stop_atmel_card
	.p2align	2
_stop_atmel_card:                       ; @stop_atmel_card
	.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	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BUS_TYPE_PCCARD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BUS_TYPE_PCCARD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x21, _GCR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GCR@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #96
	bl	_atmel_write16
LBB0_2:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #64
	bl	_atmel_write16
	add	x0, x20, #12
	bl	_del_timer_sync
	mov	x0, x19
	bl	_unregister_netdev
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	bl	_remove_proc_entry
	ldr	w0, [x19, #4]
	mov	x1, x19
	bl	_free_irq
	ldr	w0, [x20, #8]
	bl	_kfree
	ldr	w0, [x19]
	mov	w1, #32
	bl	_release_region
	mov	x0, x19
	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
	b	_free_netdev
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BUS_TYPE_PCCARD,8,3            ; @BUS_TYPE_PCCARD
	.comm	_GCR,4,2                        ; @GCR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"driver/atmel"

.subsections_via_symbols
