	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_nve_vxlan_can_offload
_mlxsw_sp_nve_vxlan_can_offload:        ## @mlxsw_sp_nve_vxlan_can_offload
	.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	%rdx, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	48(%rax), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	leaq	56(%rbx), %rdi
	callq	_vxlan_addr_multicast
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_22
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_22:
	movq	%r14, %rdi
	callq	_NL_SET_ERR_MSG_MOD
	xorl	%eax, %eax
LBB0_23:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	48(%rbx), %rdi
	callq	_vxlan_addr_any
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_22
LBB0_6:
	cmpq	$0, 40(%rbx)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_22
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	cmpq	$0, 32(%rbx)
	jne	LBB0_22
## %bb.9:
	cmpq	$0, 24(%rbx)
	jne	LBB0_22
## %bb.10:
	cmpl	$1, (%rbx)
	jne	LBB0_11
## %bb.12:
	movl	4(%rbx), %eax
	movq	_VXLAN_F_TTL_INHERIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_22
LBB0_11:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_22
LBB0_14:
	movq	_VXLAN_F_UDP_ZERO_CSUM_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.16:
	movq	_MLXSW_SP_NVE_VXLAN_SUPPORTED_FLAGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_22
LBB0_15:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_22
LBB0_18:
	cmpq	$0, 8(%rbx)
	je	LBB0_19
## %bb.20:
	cmpq	$0, 16(%rbx)
	je	LBB0_24
## %bb.21:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_22
LBB0_19:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_22
LBB0_24:
	movl	$1, %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VxLAN: Only IPv4 underlay is supported"

L_.str.1:                               ## @.str.1
	.asciz	"VxLAN: Multicast destination IP is not supported"

L_.str.2:                               ## @.str.2
	.asciz	"VxLAN: Source address must be specified"

L_.str.3:                               ## @.str.3
	.asciz	"VxLAN: Local interface is not supported"

L_.str.4:                               ## @.str.4
	.asciz	"VxLAN: Only default UDP source port range is supported"

L_.str.5:                               ## @.str.5
	.asciz	"VxLAN: TOS must be configured to inherit"

	.comm	_VXLAN_F_TTL_INHERIT,4,2        ## @VXLAN_F_TTL_INHERIT
L_.str.6:                               ## @.str.6
	.asciz	"VxLAN: TTL must not be configured to inherit"

	.comm	_VXLAN_F_UDP_ZERO_CSUM_TX,4,2   ## @VXLAN_F_UDP_ZERO_CSUM_TX
L_.str.7:                               ## @.str.7
	.asciz	"VxLAN: UDP checksum is not supported"

	.comm	_MLXSW_SP_NVE_VXLAN_SUPPORTED_FLAGS,4,2 ## @MLXSW_SP_NVE_VXLAN_SUPPORTED_FLAGS
L_.str.8:                               ## @.str.8
	.asciz	"VxLAN: Unsupported flag"

L_.str.9:                               ## @.str.9
	.asciz	"VxLAN: TTL must not be configured to 0"

L_.str.10:                              ## @.str.10
	.asciz	"VxLAN: Flow label must be configured to 0"

	.no_dead_strip	_mlxsw_sp_nve_vxlan_can_offload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_nve_vxlan_can_offload
_mlxsw_sp_nve_vxlan_can_offload:        ; @mlxsw_sp_nve_vxlan_can_offload
	.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, x2
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x21, #48]!
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x0
	add	x0, x0, #56
	bl	_vxlan_addr_multicast
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_NL_SET_ERR_MSG_MOD
	mov	w0, #0
LBB0_5:
	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_6:
	mov	x0, x21
	bl	_vxlan_addr_any
	cbz	x0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_8:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_10
; %bb.9:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_10:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_12
; %bb.11:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_13
LBB0_12:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_13:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_16
; %bb.14:
	ldr	w8, [x20, #4]
Lloh13:
	adrp	x9, _VXLAN_F_TTL_INHERIT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VXLAN_F_TTL_INHERIT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.15:
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_4
LBB0_16:
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_17:
Lloh20:
	adrp	x9, _VXLAN_F_UDP_ZERO_CSUM_TX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _VXLAN_F_UDP_ZERO_CSUM_TX@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.18:
Lloh23:
	adrp	x9, _MLXSW_SP_NVE_VXLAN_SUPPORTED_FLAGS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MLXSW_SP_NVE_VXLAN_SUPPORTED_FLAGS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	b.eq	LBB0_21
; %bb.19:
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_20:
Lloh28:
	adrp	x1, l_.str.7@PAGE
Lloh29:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_4
LBB0_21:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_24
; %bb.22:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_25
; %bb.23:
Lloh30:
	adrp	x1, l_.str.10@PAGE
Lloh31:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_4
LBB0_24:
Lloh32:
	adrp	x1, l_.str.9@PAGE
Lloh33:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_4
LBB0_25:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VxLAN: Only IPv4 underlay is supported"

l_.str.1:                               ; @.str.1
	.asciz	"VxLAN: Multicast destination IP is not supported"

l_.str.2:                               ; @.str.2
	.asciz	"VxLAN: Source address must be specified"

l_.str.3:                               ; @.str.3
	.asciz	"VxLAN: Local interface is not supported"

l_.str.4:                               ; @.str.4
	.asciz	"VxLAN: Only default UDP source port range is supported"

l_.str.5:                               ; @.str.5
	.asciz	"VxLAN: TOS must be configured to inherit"

	.comm	_VXLAN_F_TTL_INHERIT,4,2        ; @VXLAN_F_TTL_INHERIT
l_.str.6:                               ; @.str.6
	.asciz	"VxLAN: TTL must not be configured to inherit"

	.comm	_VXLAN_F_UDP_ZERO_CSUM_TX,4,2   ; @VXLAN_F_UDP_ZERO_CSUM_TX
l_.str.7:                               ; @.str.7
	.asciz	"VxLAN: UDP checksum is not supported"

	.comm	_MLXSW_SP_NVE_VXLAN_SUPPORTED_FLAGS,4,2 ; @MLXSW_SP_NVE_VXLAN_SUPPORTED_FLAGS
l_.str.8:                               ; @.str.8
	.asciz	"VxLAN: Unsupported flag"

l_.str.9:                               ; @.str.9
	.asciz	"VxLAN: TTL must not be configured to 0"

l_.str.10:                              ; @.str.10
	.asciz	"VxLAN: Flow label must be configured to 0"

	.no_dead_strip	_mlxsw_sp_nve_vxlan_can_offload
.subsections_via_symbols
