	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nb8800_link_reconfigure
_nb8800_link_reconfigure:               ## @nb8800_link_reconfigure
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%r15), %r14
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.1:
	movq	8(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.2:
	movq	16(%r14), %rax
	movb	$1, %r12b
	cmpq	8(%rbx), %rax
	jne	LBB0_4
	jmp	LBB0_6
LBB0_8:
	cmpq	$0, 16(%rbx)
	je	LBB0_13
## %bb.9:
	addq	$16, %rbx
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	movq	%rax, (%rbx)
	movq	16(%r14), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_5
LBB0_4:
	leaq	8(%rbx), %rcx
	movq	%rax, (%rcx)
LBB0_5:
	movq	%r15, %rdi
	callq	_nb8800_mac_config
	xorl	%r12d, %r12d
LBB0_6:
	movq	%r15, %rdi
	callq	_nb8800_pause_config
	movq	(%r14), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_7
## %bb.12:
	testb	%r12b, %r12b
	je	LBB0_11
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	addq	$16, %rbx
LBB0_10:
	movq	%rax, (%rbx)
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phy_print_status               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nb8800_link_reconfigure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nb8800_link_reconfigure
_nb8800_link_reconfigure:               ; @nb8800_link_reconfigure
	.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	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x19, [x21]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x19, #16]
	mov	x9, x20
	ldr	x10, [x9, #8]!
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.3:
	mov	w22, #1
	b	LBB0_9
LBB0_4:
	ldr	x8, [x20, #16]!
	cbz	x8, LBB0_11
; %bb.5:
	mov	x8, #0
	b	LBB0_12
LBB0_6:
	str	x8, [x20]
	ldr	x8, [x19, #16]
	mov	x9, x20
	ldr	x10, [x9, #8]!
	cmp	x8, x10
	b.eq	LBB0_8
LBB0_7:
	str	x8, [x9]
LBB0_8:
	mov	x0, x21
	bl	_nb8800_mac_config
	mov	w22, #0
LBB0_9:
	mov	x0, x21
	bl	_nb8800_pause_config
	ldr	x8, [x19]
	ldr	x9, [x20, #16]!
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	tbz	w22, #0, LBB0_13
LBB0_11:
	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
LBB0_12:
	str	x8, [x20]
LBB0_13:
	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	_phy_print_status
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nb8800_link_reconfigure
.subsections_via_symbols
