	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function el3_open
_el3_open:                              ## @el3_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %r15
	movq	%r15, %rdi
	callq	_pcmcia_dev_present
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	incl	(%r15)
	movq	%r14, %rdi
	callq	_netif_start_queue
	movq	%r14, %rdi
	callq	_tc589_reset
	movq	%rbx, %rdi
	callq	_init_timer
	movq	_media_check@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	%r14, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, %rdi
	callq	_add_timer
	movl	8(%r14), %ebx
	movq	_EL3_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_inw
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_DEBUG
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_media_check,4,2                ## @media_check
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: opened, status %4.4x.\n"

	.comm	_EL3_STATUS,8,3                 ## @EL3_STATUS
	.no_dead_strip	_el3_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function el3_open
_el3_open:                              ; @el3_open
	.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	x21, [x0, #24]
	mov	x0, x21
	bl	_pcmcia_dev_present
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x19
	bl	_netif_start_queue
	mov	x0, x19
	bl	_tc589_reset
	mov	x0, x20
	bl	_init_timer
Lloh0:
	adrp	x8, _media_check@GOTPAGE
Lloh1:
	ldr	x8, [x8, _media_check@GOTPAGEOFF]
	str	x19, [x20]
Lloh2:
	adrp	x9, _jiffies@GOTPAGE
Lloh3:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _HZ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	add	x9, x10, x9
	stp	x9, x8, [x20, #8]
	mov	x0, x20
	bl	_add_timer
	ldr	w20, [x19, #8]
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _EL3_STATUS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EL3_STATUS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_inw
	mov	x3, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_DEBUG
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_media_check,4,2                ; @media_check
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: opened, status %4.4x.\n"

	.comm	_EL3_STATUS,8,3                 ; @EL3_STATUS
	.no_dead_strip	_el3_open
.subsections_via_symbols
