	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dc21040_state
_dc21040_state:                         ## @dc21040_state
	.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
	movl	%r9d, %r14d
	movl	%r8d, %r12d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_DE4X5_AUTOSENSE_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	cmpl	$1, %ecx
	je	LBB0_3
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_13
## %bb.2:
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_reset_init_sia
	incl	(%rbx)
	movl	$500, %eax                      ## imm = 0x1F4
	jmp	LBB0_13
LBB0_3:
	cmpl	$0, 16(%rbx)
	je	LBB0_4
## %bb.10:
	cmpl	$0, 12(%rbx)
	jne	LBB0_13
## %bb.11:
	movl	8(%rbx), %edx
	movq	_AUTO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_13
## %bb.12:
	movl	16(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	$3000, %eax                     ## imm = 0xBB8
	jmp	LBB0_13
LBB0_4:
	movl	%r12d, %esi
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	*24(%rbp)
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	je	LBB0_9
## %bb.7:
	movl	8(%rbx), %eax
	movq	_AUTO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	movl	$0, (%rbx)
	movl	%r14d, 4(%rbx)
	movl	%r12d, %eax
	jmp	LBB0_13
LBB0_9:
	movq	%r15, %rdi
	callq	_de4x5_init_connection
	movl	%r12d, %eax
	jmp	LBB0_13
LBB0_5:
	movq	_TIMER_CB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DE4X5_AUTOSENSE_MS,4,2         ## @DE4X5_AUTOSENSE_MS
	.comm	_TIMER_CB,4,2                   ## @TIMER_CB
	.comm	_AUTO,4,2                       ## @AUTO
	.no_dead_strip	_dc21040_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dc21040_state
_dc21040_state:                         ; @dc21040_state
	.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	x24, x7
	mov	x23, x6
	mov	x22, x5
	mov	x27, x4
	mov	x25, x3
	mov	x26, x2
	mov	x28, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _DE4X5_AUTOSENSE_MS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DE4X5_AUTOSENSE_MS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_13
; %bb.2:
	mov	x0, x21
	mov	x1, x28
	mov	x2, x26
	mov	x3, x25
	bl	_reset_init_sia
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	w19, #500
	b	LBB0_13
LBB0_3:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_7
; %bb.4:
	ldr	w8, [x20, #12]
	cbnz	w8, LBB0_13
; %bb.5:
	ldr	w8, [x20, #8]
Lloh3:
	adrp	x9, _AUTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.6:
	str	w23, [x20, #4]
	mov	w19, #3000
	b	LBB0_13
LBB0_7:
	mov	x0, x21
	mov	x1, x27
	blr	x24
	tbnz	w0, #31, LBB0_12
; %bb.8:
	cbz	w0, LBB0_11
; %bb.9:
	ldr	w8, [x20, #8]
Lloh6:
	adrp	x9, _AUTO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
	stp	wzr, w22, [x20]
	b	LBB0_13
LBB0_11:
	mov	x0, x21
	bl	_de4x5_init_connection
	b	LBB0_13
LBB0_12:
Lloh9:
	adrp	x8, _TIMER_CB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TIMER_CB@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w19, w0, w8
LBB0_13:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DE4X5_AUTOSENSE_MS,4,2         ; @DE4X5_AUTOSENSE_MS
	.comm	_TIMER_CB,4,2                   ; @TIMER_CB
	.comm	_AUTO,4,2                       ; @AUTO
	.no_dead_strip	_dc21040_state
.subsections_via_symbols
