	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lstatus_to_fwcap
_lstatus_to_fwcap:                      ## @lstatus_to_fwcap
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_FW_PORT_CMD_RXPAUSE_F@GOTPCREL(%rip), %rax
	movq	_FW_PORT_CMD_TXPAUSE_F@GOTPCREL(%rip), %rcx
	movq	_FW_PORT_CAP_SPEED_100M@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movq	_FW_PORT_CAP32_FC_RX@GOTPCREL(%rip), %rdx
	movd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rax), %xmm0
	movdqa	%xmm0, -96(%rbp)                ## 16-byte Spill
	movq	_FW_PORT_CAP32_FC_TX@GOTPCREL(%rip), %rax
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rdx), %xmm0
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	callq	_FW_PORT_CMD_LSPEED_V
	movl	%eax, %r15d
	movq	_FW_PORT_CAP32_SPEED_100M@GOTPCREL(%rip), %rax
	movq	_FW_PORT_CAP_SPEED_1G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
	pinsrd	$2, (%rax), %xmm0
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	callq	_FW_PORT_CMD_LSPEED_V
	movl	%eax, %r12d
	movq	_FW_PORT_CAP32_SPEED_1G@GOTPCREL(%rip), %rax
	movq	_FW_PORT_CAP_SPEED_10G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
	pinsrd	$3, (%rax), %xmm0
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	callq	_FW_PORT_CMD_LSPEED_V
	movl	%eax, %r13d
	movq	_FW_PORT_CAP32_SPEED_10G@GOTPCREL(%rip), %rax
	movq	_FW_PORT_CAP_SPEED_25G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	callq	_FW_PORT_CMD_LSPEED_V
	movl	%eax, %ebx
	movq	_FW_PORT_CAP32_SPEED_25G@GOTPCREL(%rip), %rax
	movq	_FW_PORT_CAP_SPEED_40G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movdqa	-64(%rbp), %xmm0                ## 16-byte Reload
	pinsrd	$1, (%rax), %xmm0
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	callq	_FW_PORT_CMD_LSPEED_V
	movl	%eax, %r14d
	movq	_FW_PORT_CAP32_SPEED_40G@GOTPCREL(%rip), %rax
	movq	_FW_PORT_CAP_SPEED_100G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movdqa	-64(%rbp), %xmm0                ## 16-byte Reload
	pinsrd	$2, (%rax), %xmm0
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	callq	_FW_PORT_CMD_LSPEED_V
	movdqa	-96(%rbp), %xmm2                ## 16-byte Reload
	pinsrd	$2, %r15d, %xmm2
	pinsrd	$3, %r12d, %xmm2
	movd	%r13d, %xmm0
	pinsrd	$1, %ebx, %xmm0
	pinsrd	$2, %r14d, %xmm0
	pinsrd	$3, %eax, %xmm0
	movd	-44(%rbp), %xmm1                ## 4-byte Folded Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	pand	%xmm1, %xmm0
	pand	%xmm1, %xmm2
	pxor	%xmm1, %xmm1
	movq	_FW_PORT_CAP32_SPEED_100G@GOTPCREL(%rip), %rax
	movdqa	-64(%rbp), %xmm3                ## 16-byte Reload
	pinsrd	$3, (%rax), %xmm3
	pcmpeqd	%xmm1, %xmm2
	pandn	-80(%rbp), %xmm2                ## 16-byte Folded Reload
	pcmpeqd	%xmm1, %xmm0
	pandn	%xmm3, %xmm0
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PORT_CMD_RXPAUSE_F,4,2      ## @FW_PORT_CMD_RXPAUSE_F
	.comm	_FW_PORT_CAP32_FC_RX,4,2        ## @FW_PORT_CAP32_FC_RX
	.comm	_FW_PORT_CMD_TXPAUSE_F,4,2      ## @FW_PORT_CMD_TXPAUSE_F
	.comm	_FW_PORT_CAP32_FC_TX,4,2        ## @FW_PORT_CAP32_FC_TX
	.comm	_FW_PORT_CAP_SPEED_100M,4,2     ## @FW_PORT_CAP_SPEED_100M
	.comm	_FW_PORT_CAP32_SPEED_100M,4,2   ## @FW_PORT_CAP32_SPEED_100M
	.comm	_FW_PORT_CAP_SPEED_1G,4,2       ## @FW_PORT_CAP_SPEED_1G
	.comm	_FW_PORT_CAP32_SPEED_1G,4,2     ## @FW_PORT_CAP32_SPEED_1G
	.comm	_FW_PORT_CAP_SPEED_10G,4,2      ## @FW_PORT_CAP_SPEED_10G
	.comm	_FW_PORT_CAP32_SPEED_10G,4,2    ## @FW_PORT_CAP32_SPEED_10G
	.comm	_FW_PORT_CAP_SPEED_25G,4,2      ## @FW_PORT_CAP_SPEED_25G
	.comm	_FW_PORT_CAP32_SPEED_25G,4,2    ## @FW_PORT_CAP32_SPEED_25G
	.comm	_FW_PORT_CAP_SPEED_40G,4,2      ## @FW_PORT_CAP_SPEED_40G
	.comm	_FW_PORT_CAP32_SPEED_40G,4,2    ## @FW_PORT_CAP32_SPEED_40G
	.comm	_FW_PORT_CAP_SPEED_100G,4,2     ## @FW_PORT_CAP_SPEED_100G
	.comm	_FW_PORT_CAP32_SPEED_100G,4,2   ## @FW_PORT_CAP32_SPEED_100G
	.no_dead_strip	_lstatus_to_fwcap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lstatus_to_fwcap
_lstatus_to_fwcap:                      ; @lstatus_to_fwcap
	.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
Lloh0:
	adrp	x8, _FW_PORT_CMD_RXPAUSE_F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PORT_CMD_RXPAUSE_F@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FW_PORT_CAP32_FC_RX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FW_PORT_CAP32_FC_RX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _FW_PORT_CMD_TXPAUSE_F@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_PORT_CMD_TXPAUSE_F@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _FW_PORT_CAP32_FC_TX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FW_PORT_CAP32_FC_TX@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w20, w9, w8
Lloh12:
	adrp	x8, _FW_PORT_CAP_SPEED_100M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_100M@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_FW_PORT_CMD_LSPEED_V
Lloh15:
	adrp	x8, _FW_PORT_CAP32_SPEED_100M@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_100M@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w0, w19
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
Lloh18:
	adrp	x8, _FW_PORT_CAP_SPEED_1G@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_1G@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_FW_PORT_CMD_LSPEED_V
Lloh21:
	adrp	x8, _FW_PORT_CAP32_SPEED_1G@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_1G@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w0, w19
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
Lloh24:
	adrp	x8, _FW_PORT_CAP_SPEED_10G@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_10G@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_FW_PORT_CMD_LSPEED_V
Lloh27:
	adrp	x8, _FW_PORT_CAP32_SPEED_10G@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_10G@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w0, w19
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
Lloh30:
	adrp	x8, _FW_PORT_CAP_SPEED_25G@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_25G@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_FW_PORT_CMD_LSPEED_V
Lloh33:
	adrp	x8, _FW_PORT_CAP32_SPEED_25G@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_25G@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w0, w19
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
Lloh36:
	adrp	x8, _FW_PORT_CAP_SPEED_40G@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_40G@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_FW_PORT_CMD_LSPEED_V
Lloh39:
	adrp	x8, _FW_PORT_CAP32_SPEED_40G@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_40G@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w0, w19
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
Lloh42:
	adrp	x8, _FW_PORT_CAP_SPEED_100G@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FW_PORT_CAP_SPEED_100G@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_FW_PORT_CMD_LSPEED_V
Lloh45:
	adrp	x8, _FW_PORT_CAP32_SPEED_100G@GOTPAGE
Lloh46:
	ldr	x8, [x8, _FW_PORT_CAP32_SPEED_100G@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	tst	w0, w19
	csel	w8, wzr, w8, eq
	orr	w0, w20, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PORT_CMD_RXPAUSE_F,4,2      ; @FW_PORT_CMD_RXPAUSE_F
	.comm	_FW_PORT_CAP32_FC_RX,4,2        ; @FW_PORT_CAP32_FC_RX
	.comm	_FW_PORT_CMD_TXPAUSE_F,4,2      ; @FW_PORT_CMD_TXPAUSE_F
	.comm	_FW_PORT_CAP32_FC_TX,4,2        ; @FW_PORT_CAP32_FC_TX
	.comm	_FW_PORT_CAP_SPEED_100M,4,2     ; @FW_PORT_CAP_SPEED_100M
	.comm	_FW_PORT_CAP32_SPEED_100M,4,2   ; @FW_PORT_CAP32_SPEED_100M
	.comm	_FW_PORT_CAP_SPEED_1G,4,2       ; @FW_PORT_CAP_SPEED_1G
	.comm	_FW_PORT_CAP32_SPEED_1G,4,2     ; @FW_PORT_CAP32_SPEED_1G
	.comm	_FW_PORT_CAP_SPEED_10G,4,2      ; @FW_PORT_CAP_SPEED_10G
	.comm	_FW_PORT_CAP32_SPEED_10G,4,2    ; @FW_PORT_CAP32_SPEED_10G
	.comm	_FW_PORT_CAP_SPEED_25G,4,2      ; @FW_PORT_CAP_SPEED_25G
	.comm	_FW_PORT_CAP32_SPEED_25G,4,2    ; @FW_PORT_CAP32_SPEED_25G
	.comm	_FW_PORT_CAP_SPEED_40G,4,2      ; @FW_PORT_CAP_SPEED_40G
	.comm	_FW_PORT_CAP32_SPEED_40G,4,2    ; @FW_PORT_CAP32_SPEED_40G
	.comm	_FW_PORT_CAP_SPEED_100G,4,2     ; @FW_PORT_CAP_SPEED_100G
	.comm	_FW_PORT_CAP32_SPEED_100G,4,2   ; @FW_PORT_CAP32_SPEED_100G
	.no_dead_strip	_lstatus_to_fwcap
.subsections_via_symbols
