	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b44_adjust_link
_b44_adjust_link:                       ## @b44_adjust_link
	.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, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rbx), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_BUG_ON
	movq	(%r15), %rax
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	je	LBB0_2
## %bb.1:
	movq	%rcx, (%r15)
LBB0_2:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.3:
	movq	8(%r14), %rdx
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_8
## %bb.4:
	movl	8(%r15), %esi
	movq	_B44_FLAG_FULL_DUPLEX@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%esi, %edi
	je	LBB0_8
## %bb.5:
	notl	%edi
	andl	%edi, %esi
	jmp	LBB0_6
LBB0_8:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_11
## %bb.9:
	movl	8(%r15), %edx
	movq	_B44_FLAG_FULL_DUPLEX@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%edx, %esi
	je	LBB0_10
LBB0_11:
	cmpq	%rcx, %rax
	jne	LBB0_7
## %bb.12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	orl	%edx, %esi
LBB0_6:
	movl	%esi, 8(%r15)
LBB0_7:
	movq	_B44_TX_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_br32
	movq	_B44_FLAG_FULL_DUPLEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	8(%r15), %ecx
	movq	_TX_CTRL_DUPLEX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	orl	%eax, %esi
	notl	%edx
	andl	%eax, %edx
	testl	%ecx, %ecx
	cmovnel	%esi, %edx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_bw32
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phy_print_status               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_B44_FLAG_FULL_DUPLEX,4,2       ## @B44_FLAG_FULL_DUPLEX
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_B44_TX_CTRL,4,2                ## @B44_TX_CTRL
	.comm	_TX_CTRL_DUPLEX,4,2             ## @TX_CTRL_DUPLEX
	.no_dead_strip	_b44_adjust_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b44_adjust_link
_b44_adjust_link:                       ; @b44_adjust_link
	.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	x19, [x19]
	cmp	x19, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	str	x9, [x20]
LBB0_2:
	cbz	x9, LBB0_8
; %bb.3:
	ldr	x10, [x19, #8]
Lloh0:
	adrp	x11, _DUPLEX_HALF@GOTPAGE
Lloh1:
	ldr	x11, [x11, _DUPLEX_HALF@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.4:
	ldr	w11, [x20, #8]
Lloh3:
	adrp	x12, _B44_FLAG_FULL_DUPLEX@GOTPAGE
Lloh4:
	ldr	x12, [x12, _B44_FLAG_FULL_DUPLEX@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_6
; %bb.5:
	bic	w8, w11, w12
	b	LBB0_11
LBB0_6:
Lloh6:
	adrp	x11, _DUPLEX_FULL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _DUPLEX_FULL@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.7:
	ldr	w10, [x20, #8]
Lloh9:
	adrp	x11, _B44_FLAG_FULL_DUPLEX@GOTPAGE
Lloh10:
	ldr	x11, [x11, _B44_FLAG_FULL_DUPLEX@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_10
LBB0_8:
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
	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_10:
	orr	w8, w11, w10
LBB0_11:
	str	w8, [x20, #8]
LBB0_12:
Lloh12:
	adrp	x21, _B44_TX_CTRL@GOTPAGE
Lloh13:
	ldr	x21, [x21, _B44_TX_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_br32
	ldr	w8, [x20, #8]
Lloh14:
	adrp	x9, _B44_FLAG_FULL_DUPLEX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _B44_FLAG_FULL_DUPLEX@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _TX_CTRL_DUPLEX@GOTPAGE
Lloh18:
	ldr	x10, [x10, _TX_CTRL_DUPLEX@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w11, w10, w0
	bic	w10, w0, w10
	tst	w9, w8
	csel	w2, w10, w11, eq
	ldr	w1, [x21]
	mov	x0, x20
	bl	_bw32
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_B44_FLAG_FULL_DUPLEX,4,2       ; @B44_FLAG_FULL_DUPLEX
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_B44_TX_CTRL,4,2                ; @B44_TX_CTRL
	.comm	_TX_CTRL_DUPLEX,4,2             ; @TX_CTRL_DUPLEX
	.no_dead_strip	_b44_adjust_link
.subsections_via_symbols
