	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_enet_adjust_link
_bcm_enet_adjust_link:                  ## @bcm_enet_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %rsi
	movq	%rax, %rdi
	callq	_bcm_enet_set_duplex
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_bcm_enet_set_flow
	movq	%r14, %rdi
	callq	_netif_carrier_on
	movl	(%r14), %esi
	cmpq	$0, 24(%rbx)
	movl	$10, %eax
	movl	$100, %edx
	cmovel	%eax, %edx
	cmpq	$0, 16(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	cmpq	$0, 8(%rbx)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r8
	cmoveq	%rax, %r8
	cmpq	$0, (%rbx)
	leaq	L_.str.5(%rip), %r9
	cmoveq	%rax, %r9
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_info                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: link forced UP - %d/%s - flow control %s/%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"full"

L_.str.2:                               ## @.str.2
	.asciz	"half"

L_.str.3:                               ## @.str.3
	.asciz	"rx"

L_.str.4:                               ## @.str.4
	.asciz	"off"

L_.str.5:                               ## @.str.5
	.asciz	"tx"

	.no_dead_strip	_bcm_enet_adjust_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_enet_adjust_link
_bcm_enet_adjust_link:                  ; @bcm_enet_adjust_link
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x1, [x0, #16]
	bl	_bcm_enet_set_duplex
	ldp	x2, x1, [x20]
	mov	x0, x20
	bl	_bcm_enet_set_flow
	mov	x0, x19
	bl	_netif_carrier_on
	ldr	w1, [x19]
	ldp	x9, x8, [x20, #16]
	cmp	x8, #0
	mov	w8, #100
	mov	w10, #10
	csel	w2, w10, w8, eq
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x9, #0
	csel	x3, x10, x8, eq
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh6:
	adrp	x9, l_.str.4@PAGE
Lloh7:
	add	x9, x9, l_.str.4@PAGEOFF
	ldp	x11, x10, [x20]
	cmp	x10, #0
	csel	x4, x9, x8, eq
Lloh8:
	adrp	x8, l_.str.5@PAGE
Lloh9:
	add	x8, x8, l_.str.5@PAGEOFF
	cmp	x11, #0
	csel	x5, x9, x8, eq
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_info
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: link forced UP - %d/%s - flow control %s/%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"full"

l_.str.2:                               ; @.str.2
	.asciz	"half"

l_.str.3:                               ; @.str.3
	.asciz	"rx"

l_.str.4:                               ; @.str.4
	.asciz	"off"

l_.str.5:                               ; @.str.5
	.asciz	"tx"

	.no_dead_strip	_bcm_enet_adjust_link
.subsections_via_symbols
