	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_set_vxlan_enable           ## -- Begin function qed_set_vxlan_enable
	.p2align	4, 0x90
_qed_set_vxlan_enable:                  ## @qed_set_vxlan_enable
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_PRS_REG_ENCAPSULATION_TYPE_EN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_qed_rd
	movq	%rax, %rbx
	movq	_PRS_REG_ENCAPSULATION_TYPE_EN_VXLAN_ENABLE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_SET_TUNNEL_TYPE_ENABLE_BIT
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	callq	_qed_wr
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	_PRS_REG_OUTPUT_FORMAT_4_0_BB_K2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_qed_rd
	movq	_PRS_ETH_OUTPUT_FORMAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edx
	movq	_PRS_ETH_TUNN_OUTPUT_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_qed_wr
LBB0_3:
	movq	_NIG_REG_ENC_TYPE_ENABLE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_qed_rd
	movq	%rax, %rbx
	movq	_NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_SET_TUNNEL_TYPE_ENABLE_BIT
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	callq	_qed_wr
	movq	_DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	setne	%cl
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_wr                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PRS_REG_ENCAPSULATION_TYPE_EN,4,2 ## @PRS_REG_ENCAPSULATION_TYPE_EN
	.comm	_PRS_REG_ENCAPSULATION_TYPE_EN_VXLAN_ENABLE_SHIFT,4,2 ## @PRS_REG_ENCAPSULATION_TYPE_EN_VXLAN_ENABLE_SHIFT
	.comm	_PRS_REG_OUTPUT_FORMAT_4_0_BB_K2,4,2 ## @PRS_REG_OUTPUT_FORMAT_4_0_BB_K2
	.comm	_PRS_ETH_OUTPUT_FORMAT,8,3      ## @PRS_ETH_OUTPUT_FORMAT
	.comm	_PRS_ETH_TUNN_OUTPUT_FORMAT,8,3 ## @PRS_ETH_TUNN_OUTPUT_FORMAT
	.comm	_NIG_REG_ENC_TYPE_ENABLE,4,2    ## @NIG_REG_ENC_TYPE_ENABLE
	.comm	_NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT,4,2 ## @NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT
	.comm	_DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN,4,2 ## @DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_set_vxlan_enable           ; -- Begin function qed_set_vxlan_enable
	.p2align	2
_qed_set_vxlan_enable:                  ; @qed_set_vxlan_enable
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _PRS_REG_ENCAPSULATION_TYPE_EN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PRS_REG_ENCAPSULATION_TYPE_EN@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_qed_rd
	mov	x22, x0
Lloh2:
	adrp	x8, _PRS_REG_ENCAPSULATION_TYPE_EN_VXLAN_ENABLE_SHIFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRS_REG_ENCAPSULATION_TYPE_EN_VXLAN_ENABLE_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_SET_TUNNEL_TYPE_ENABLE_BIT
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	bl	_qed_wr
	cbz	x22, LBB0_3
; %bb.1:
Lloh5:
	adrp	x22, _PRS_REG_OUTPUT_FORMAT_4_0_BB_K2@GOTPAGE
Lloh6:
	ldr	x22, [x22, _PRS_REG_OUTPUT_FORMAT_4_0_BB_K2@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_rd
Lloh7:
	adrp	x8, _PRS_ETH_OUTPUT_FORMAT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PRS_ETH_OUTPUT_FORMAT@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w2, [x22]
Lloh10:
	adrp	x8, _PRS_ETH_TUNN_OUTPUT_FORMAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PRS_ETH_TUNN_OUTPUT_FORMAT@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_wr
LBB0_3:
Lloh13:
	adrp	x23, _NIG_REG_ENC_TYPE_ENABLE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _NIG_REG_ENC_TYPE_ENABLE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_rd
	mov	x22, x0
Lloh15:
	adrp	x8, _NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_SET_TUNNEL_TYPE_ENABLE_BIT
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	bl	_qed_wr
Lloh18:
	adrp	x8, _DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	cmp	w21, #0
	cset	w3, ne
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_qed_wr
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PRS_REG_ENCAPSULATION_TYPE_EN,4,2 ; @PRS_REG_ENCAPSULATION_TYPE_EN
	.comm	_PRS_REG_ENCAPSULATION_TYPE_EN_VXLAN_ENABLE_SHIFT,4,2 ; @PRS_REG_ENCAPSULATION_TYPE_EN_VXLAN_ENABLE_SHIFT
	.comm	_PRS_REG_OUTPUT_FORMAT_4_0_BB_K2,4,2 ; @PRS_REG_OUTPUT_FORMAT_4_0_BB_K2
	.comm	_PRS_ETH_OUTPUT_FORMAT,8,3      ; @PRS_ETH_OUTPUT_FORMAT
	.comm	_PRS_ETH_TUNN_OUTPUT_FORMAT,8,3 ; @PRS_ETH_TUNN_OUTPUT_FORMAT
	.comm	_NIG_REG_ENC_TYPE_ENABLE,4,2    ; @NIG_REG_ENC_TYPE_ENABLE
	.comm	_NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT,4,2 ; @NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT
	.comm	_DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN,4,2 ; @DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN
.subsections_via_symbols
