	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_vr_is_used
_mlxsw_sp_vr_is_used:                   ## @mlxsw_sp_vr_is_used
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	cmpl	$0, 12(%rdi)
	je	LBB0_1
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, 8(%rdi)
	jne	LBB0_4
## %bb.2:
	movq	(%rdi), %rcx
	movq	_MLXSW_SP_L3_PROTO_IPV4@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_4
## %bb.3:
	movq	_MLXSW_SP_L3_PROTO_IPV6@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpl	$0, (%rcx,%rdx,4)
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP_L3_PROTO_IPV4,8,3     ## @MLXSW_SP_L3_PROTO_IPV4
	.comm	_MLXSW_SP_L3_PROTO_IPV6,8,3     ## @MLXSW_SP_L3_PROTO_IPV6
	.no_dead_strip	_mlxsw_sp_vr_is_used
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_vr_is_used
_mlxsw_sp_vr_is_used:                   ; @mlxsw_sp_vr_is_used
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MLXSW_SP_L3_PROTO_IPV4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLXSW_SP_L3_PROTO_IPV4@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_6
; %bb.5:
	mov	w0, #1
	ret
LBB0_6:
Lloh3:
	adrp	x9, _MLXSW_SP_L3_PROTO_IPV6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLXSW_SP_L3_PROTO_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #0
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP_L3_PROTO_IPV4,8,3     ; @MLXSW_SP_L3_PROTO_IPV4
	.comm	_MLXSW_SP_L3_PROTO_IPV6,8,3     ; @MLXSW_SP_L3_PROTO_IPV6
	.no_dead_strip	_mlxsw_sp_vr_is_used
.subsections_via_symbols
