	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_udp_tunnel_add
_bnxt_udp_tunnel_add:                   ## @bnxt_udp_tunnel_add
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_2:
	movq	%rbx, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movl	8(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_14
## %bb.5:
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	16(%r14), %ecx
	cmpl	12(%r15), %ecx
	jne	LBB0_14
## %bb.7:
	incl	%eax
	movl	%eax, (%r14)
	jmp	LBB0_13
LBB0_9:
	movl	4(%r14), %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	12(%r14), %ecx
	cmpl	12(%r15), %ecx
	jne	LBB0_14
## %bb.11:
	incl	%eax
	movl	%eax, 4(%r14)
	jmp	LBB0_13
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$1, (%r14)
	movl	12(%r15), %eax
	movl	%eax, 16(%r14)
	movq	_BNXT_VXLAN_ADD_PORT_SP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$8, %rsi
	callq	_set_bit
	movq	%r14, %rdi
	callq	_bnxt_queue_sp_work
	jmp	LBB0_13
LBB0_12:
	movl	$1, 4(%r14)
	movl	12(%r15), %eax
	movl	%eax, 12(%r14)
	movq	_BNXT_GENEVE_ADD_PORT_SP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$8, %rsi
	callq	_set_bit
LBB0_13:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnxt_queue_sp_work             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_BNXT_VXLAN_ADD_PORT_SP_EVENT,4,2 ## @BNXT_VXLAN_ADD_PORT_SP_EVENT
	.comm	_BNXT_GENEVE_ADD_PORT_SP_EVENT,4,2 ## @BNXT_GENEVE_ADD_PORT_SP_EVENT
	.no_dead_strip	_bnxt_udp_tunnel_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_udp_tunnel_add
_bnxt_udp_tunnel_add:                   ; @bnxt_udp_tunnel_add
	.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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _AF_INET@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AF_INET@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x0, x21
	bl	_netif_running
	cbz	w0, LBB0_10
; %bb.2:
	ldr	w8, [x20, #8]
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.4:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.5:
	ldr	w9, [x19, #16]
	ldr	w10, [x20, #12]
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.6:
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_13
LBB0_7:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_12
; %bb.8:
	ldr	w9, [x19, #12]
	ldr	w10, [x20, #12]
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.9:
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_10:
	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_11:
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x20, #12]
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, _BNXT_VXLAN_ADD_PORT_SP_EVENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNXT_VXLAN_ADD_PORT_SP_EVENT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_set_bit
	mov	x0, x19
	bl	_bnxt_queue_sp_work
	b	LBB0_13
LBB0_12:
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	w8, [x20, #12]
	str	w8, [x19, #12]
Lloh9:
	adrp	x8, _BNXT_GENEVE_ADD_PORT_SP_EVENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNXT_GENEVE_ADD_PORT_SP_EVENT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_set_bit
LBB0_13:
	mov	x0, x19
	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
	b	_bnxt_queue_sp_work
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_BNXT_VXLAN_ADD_PORT_SP_EVENT,4,2 ; @BNXT_VXLAN_ADD_PORT_SP_EVENT
	.comm	_BNXT_GENEVE_ADD_PORT_SP_EVENT,4,2 ; @BNXT_GENEVE_ADD_PORT_SP_EVENT
	.no_dead_strip	_bnxt_udp_tunnel_add
.subsections_via_symbols
