	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_enable_vxlan
_xgbe_enable_vxlan:                     ## @xgbe_enable_vxlan
	.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
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_xgbe_set_vxlan_id
	movq	_MAC_PFR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VUCC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movq	_MAC_TCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_VNM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	(%r14), %esi
	movq	_VNE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_dbg                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_PFR,4,2                    ## @MAC_PFR
	.comm	_VUCC,4,2                       ## @VUCC
	.comm	_MAC_TCR,4,2                    ## @MAC_TCR
	.comm	_VNM,4,2                        ## @VNM
	.comm	_VNE,4,2                        ## @VNE
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VXLAN acceleration enabled\n"

	.no_dead_strip	_xgbe_enable_vxlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_enable_vxlan
_xgbe_enable_vxlan:                     ; @xgbe_enable_vxlan
	.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
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_xgbe_set_vxlan_id
Lloh0:
	adrp	x8, _MAC_PFR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_PFR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VUCC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VUCC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_XGMAC_IOWRITE_BITS
Lloh6:
	adrp	x20, _MAC_TCR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MAC_TCR@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _VNM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VNM@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_XGMAC_IOWRITE_BITS
	ldr	w1, [x20]
Lloh11:
	adrp	x8, _VNE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VNE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_XGMAC_IOWRITE_BITS
Lloh14:
	adrp	x8, _drv@GOTPAGE
Lloh15:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh17:
	adrp	x3, l_.str@PAGE
Lloh18:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_dbg
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_PFR,4,2                    ; @MAC_PFR
	.comm	_VUCC,4,2                       ; @VUCC
	.comm	_MAC_TCR,4,2                    ; @MAC_TCR
	.comm	_VNM,4,2                        ; @VNM
	.comm	_VNE,4,2                        ; @VNE
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VXLAN acceleration enabled\n"

	.no_dead_strip	_xgbe_enable_vxlan
.subsections_via_symbols
