	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_set_vxlan_parsing
_qlcnic_set_vxlan_parsing:              ## @qlcnic_set_vxlan_parsing
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %r14d
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_QLCNIC_CMD_SET_INGRESS_ENCAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_alloc_mbx_args
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.3:
	movq	_QLCNIC_DISABLE_INGRESS_ENCAP_PARSING@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_QLCNIC_ENABLE_INGRESS_ENCAP_PARSING@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	-40(%rbp), %rcx
	movl	%eax, 4(%rcx)
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_qlcnic_issue_cmd
	movl	%eax, %r12d
	movl	(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_netdev_err
	jmp	LBB0_7
LBB0_6:
	testl	%r15d, %r15d
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %ecx
	callq	_netdev_info
LBB0_7:
	leaq	-40(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_8:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_SET_INGRESS_ENCAP,4,2 ## @QLCNIC_CMD_SET_INGRESS_ENCAP
	.comm	_QLCNIC_ENABLE_INGRESS_ENCAP_PARSING,4,2 ## @QLCNIC_ENABLE_INGRESS_ENCAP_PARSING
	.comm	_QLCNIC_DISABLE_INGRESS_ENCAP_PARSING,4,2 ## @QLCNIC_DISABLE_INGRESS_ENCAP_PARSING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to %s VXLAN parsing for port %d\n"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"%s VXLAN parsing for port %d\n"

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

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

	.no_dead_strip	_qlcnic_set_vxlan_parsing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_set_vxlan_parsing
_qlcnic_set_vxlan_parsing:              ; @qlcnic_set_vxlan_parsing
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	w19, [x8]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _QLCNIC_CMD_SET_INGRESS_ENCAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CMD_SET_INGRESS_ENCAP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x22
	bl	_qlcnic_alloc_mbx_args
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _QLCNIC_ENABLE_INGRESS_ENCAP_PARSING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_ENABLE_INGRESS_ENCAP_PARSING@GOTPAGEOFF]
Lloh5:
	adrp	x9, _QLCNIC_DISABLE_INGRESS_ENCAP_PARSING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QLCNIC_DISABLE_INGRESS_ENCAP_PARSING@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9, #4]
	add	x1, sp, #8
	mov	x0, x22
	bl	_qlcnic_issue_cmd
	mov	x21, x0
	ldr	w0, [x22]
	cbz	w21, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, eq
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_netdev_err
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x8, l_.str.4@PAGE
Lloh14:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh15:
	adrp	x9, l_.str.5@PAGE
Lloh16:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, eq
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x3, x19
	bl	_netdev_info
LBB0_4:
	add	x0, sp, #8
	bl	_qlcnic_free_mbx_args
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_SET_INGRESS_ENCAP,4,2 ; @QLCNIC_CMD_SET_INGRESS_ENCAP
	.comm	_QLCNIC_ENABLE_INGRESS_ENCAP_PARSING,4,2 ; @QLCNIC_ENABLE_INGRESS_ENCAP_PARSING
	.comm	_QLCNIC_DISABLE_INGRESS_ENCAP_PARSING,4,2 ; @QLCNIC_DISABLE_INGRESS_ENCAP_PARSING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to %s VXLAN parsing for port %d\n"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"%s VXLAN parsing for port %d\n"

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

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

	.no_dead_strip	_qlcnic_set_vxlan_parsing
.subsections_via_symbols
