	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_linkspeed_register
_update_linkspeed_register:             ## @update_linkspeed_register
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_REG_MCMDR@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rax), %rdi
	callq	___raw_readl
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%ebx, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	_MCMDR_OPMOD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%r15d, %edx
	jne	LBB0_3
## %bb.2:
	movq	_MCMDR_FDUP@GOTPCREL(%rip), %rcx
	orl	%eax, %edi
	orl	(%rcx), %edi
	jmp	LBB0_7
LBB0_4:
	movq	_MCMDR_FDUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%r15d, %edx
	jne	LBB0_6
## %bb.5:
	orl	%eax, %ecx
	movq	_MCMDR_OPMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%ecx, %edi
	jmp	LBB0_7
LBB0_3:
	orl	%eax, %edi
	movq	_MCMDR_FDUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edi
	jmp	LBB0_7
LBB0_6:
	movq	_MCMDR_OPMOD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %edi
LBB0_7:
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___raw_writel                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MCMDR,8,3                  ## @REG_MCMDR
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_MCMDR_OPMOD,4,2                ## @MCMDR_OPMOD
	.comm	_MCMDR_FDUP,4,2                 ## @MCMDR_FDUP
	.no_dead_strip	_update_linkspeed_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_linkspeed_register
_update_linkspeed_register:             ; @update_linkspeed_register
	.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	x20, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _REG_MCMDR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REG_MCMDR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	___raw_readl
Lloh2:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
Lloh5:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w9, w21
	b.ne	LBB0_3
; %bb.1:
Lloh8:
	adrp	x9, _MCMDR_OPMOD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MCMDR_OPMOD@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.2:
Lloh11:
	adrp	x8, _MCMDR_FDUP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MCMDR_FDUP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w9, w9, w0
	orr	w0, w9, w8
	b	LBB0_8
LBB0_3:
Lloh14:
	adrp	x9, _MCMDR_FDUP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MCMDR_FDUP@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.4:
	orr	w8, w9, w0
Lloh17:
	adrp	x9, _MCMDR_OPMOD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MCMDR_OPMOD@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	orr	w8, w9, w0
Lloh19:
	adrp	x9, _MCMDR_FDUP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MCMDR_FDUP@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	bic	w0, w8, w9
	b	LBB0_8
LBB0_7:
Lloh21:
	adrp	x8, _MCMDR_OPMOD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MCMDR_OPMOD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w8, w8, w9
	bic	w0, w0, w8
LBB0_8:
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	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	___raw_writel
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MCMDR,8,3                  ; @REG_MCMDR
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_MCMDR_OPMOD,4,2                ; @MCMDR_OPMOD
	.comm	_MCMDR_FDUP,4,2                 ; @MCMDR_FDUP
	.no_dead_strip	_update_linkspeed_register
.subsections_via_symbols
