	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linkmode_adv_to_fiber_adv_t
_linkmode_adv_to_fiber_adv_t:           ## @linkmode_adv_to_fiber_adv_t
	.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
	movq	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_linkmode_test_bit
	xorl	%r14d, %r14d
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ADVERTISE_FIBER_1000HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movq	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_linkmode_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ADVERTISE_FIBER_1000FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	orl	%r15d, %r14d
	movq	_ETHTOOL_LINK_MODE_Asym_Pause_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_linkmode_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_ETHTOOL_LINK_MODE_Pause_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_linkmode_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_LPA_PAUSE_ASYM_FIBER@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_9
LBB0_7:
	movq	_ETHTOOL_LINK_MODE_Pause_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_linkmode_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_ADVERTISE_PAUSE_FIBER@GOTPCREL(%rip), %rax
	movq	_ADVERTISE_PAUSE_ASYM_FIBER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	(%rax), %ecx
	orl	%ecx, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseT_Half_BIT
	.comm	_ADVERTISE_FIBER_1000HALF,4,2   ## @ADVERTISE_FIBER_1000HALF
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_ADVERTISE_FIBER_1000FULL,4,2   ## @ADVERTISE_FIBER_1000FULL
	.comm	_ETHTOOL_LINK_MODE_Asym_Pause_BIT,4,2 ## @ETHTOOL_LINK_MODE_Asym_Pause_BIT
	.comm	_ETHTOOL_LINK_MODE_Pause_BIT,4,2 ## @ETHTOOL_LINK_MODE_Pause_BIT
	.comm	_LPA_PAUSE_ASYM_FIBER,4,2       ## @LPA_PAUSE_ASYM_FIBER
	.comm	_ADVERTISE_PAUSE_FIBER,4,2      ## @ADVERTISE_PAUSE_FIBER
	.comm	_ADVERTISE_PAUSE_ASYM_FIBER,4,2 ## @ADVERTISE_PAUSE_ASYM_FIBER
	.no_dead_strip	_linkmode_adv_to_fiber_adv_t
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linkmode_adv_to_fiber_adv_t
_linkmode_adv_to_fiber_adv_t:           ; @linkmode_adv_to_fiber_adv_t
	.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, x0
Lloh0:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_linkmode_test_bit
Lloh3:
	adrp	x8, _ADVERTISE_FIBER_1000HALF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADVERTISE_FIBER_1000HALF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, wzr, w8, eq
Lloh6:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_linkmode_test_bit
Lloh9:
	adrp	x8, _ADVERTISE_FIBER_1000FULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADVERTISE_FIBER_1000FULL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w19, w8, w19
Lloh12:
	adrp	x8, _ETHTOOL_LINK_MODE_Asym_Pause_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_Asym_Pause_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_linkmode_test_bit
Lloh15:
	adrp	x21, _ETHTOOL_LINK_MODE_Pause_BIT@GOTPAGE
Lloh16:
	ldr	x21, [x21, _ETHTOOL_LINK_MODE_Pause_BIT@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_linkmode_test_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh17:
	adrp	x8, _LPA_PAUSE_ASYM_FIBER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LPA_PAUSE_ASYM_FIBER@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_linkmode_test_bit
	cbz	x0, LBB0_6
; %bb.4:
Lloh20:
	adrp	x8, _ADVERTISE_PAUSE_FIBER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ADVERTISE_PAUSE_FIBER@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _ADVERTISE_PAUSE_ASYM_FIBER@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ADVERTISE_PAUSE_ASYM_FIBER@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_5:
	orr	w19, w8, w19
LBB0_6:
	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
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseT_Half_BIT
	.comm	_ADVERTISE_FIBER_1000HALF,4,2   ; @ADVERTISE_FIBER_1000HALF
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_ADVERTISE_FIBER_1000FULL,4,2   ; @ADVERTISE_FIBER_1000FULL
	.comm	_ETHTOOL_LINK_MODE_Asym_Pause_BIT,4,2 ; @ETHTOOL_LINK_MODE_Asym_Pause_BIT
	.comm	_ETHTOOL_LINK_MODE_Pause_BIT,4,2 ; @ETHTOOL_LINK_MODE_Pause_BIT
	.comm	_LPA_PAUSE_ASYM_FIBER,4,2       ; @LPA_PAUSE_ASYM_FIBER
	.comm	_ADVERTISE_PAUSE_FIBER,4,2      ; @ADVERTISE_PAUSE_FIBER
	.comm	_ADVERTISE_PAUSE_ASYM_FIBER,4,2 ; @ADVERTISE_PAUSE_ASYM_FIBER
	.no_dead_strip	_linkmode_adv_to_fiber_adv_t
.subsections_via_symbols
