	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bnx2x_del_udp_port
___bnx2x_del_udp_port:                  ## @__bnx2x_del_udp_port
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	callq	_IS_PF
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_CHIP_IS_E1x
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r15d, %eax
	shlq	$4, %rax
	movq	8(%r12,%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.3:
	cmpq	%r14, (%r12,%rax)
	jne	LBB0_8
## %bb.4:
	leaq	(%r12,%rax), %rdx
	addq	$8, %rdx
	decq	%rcx
	movq	%rcx, (%rdx)
	jne	LBB0_7
## %bb.5:
	addq	%rax, %r12
	movq	$0, (%r12)
	movl	(%rbx), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	_BNX2X_SP_RTNL_CHANGE_UDP_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_schedule_sp_rtnl         ## TAILCALL
LBB0_8:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
LBB0_6:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid UDP tunnel [%d] port\n"

	.comm	_BNX2X_SP_RTNL_CHANGE_UDP_PORT,4,2 ## @BNX2X_SP_RTNL_CHANGE_UDP_PORT
L_.str.1:                               ## @.str.1
	.asciz	"Deleted UDP tunnel [%d] port %d\n"

	.no_dead_strip	___bnx2x_del_udp_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bnx2x_del_udp_port
___bnx2x_del_udp_port:                  ; @__bnx2x_del_udp_port
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
	bl	_IS_PF
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_CHIP_IS_E1x
	cbz	x0, LBB0_3
LBB0_2:
	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
LBB0_3:
	mov	w8, w19
	add	x8, x22, x8, lsl #4
	mov	x9, x8
	ldr	x10, [x9, #8]!
	cbz	x10, LBB0_8
; %bb.4:
	ldr	x11, [x8]
	cmp	x11, x20
	b.ne	LBB0_8
; %bb.5:
	subs	x10, x10, #1
	str	x10, [x9]
	b.ne	LBB0_2
; %bb.6:
	str	xzr, [x8]
	ldr	w0, [x21]
	bl	_netif_running
	cbz	x0, LBB0_9
; %bb.7:
Lloh0:
	adrp	x8, _BNX2X_SP_RTNL_CHANGE_UDP_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_SP_RTNL_CHANGE_UDP_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	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
	b	_bnx2x_schedule_sp_rtnl
LBB0_8:
Lloh3:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, 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
	add	sp, sp, #64
	b	_DP
LBB0_9:
Lloh8:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_DP
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid UDP tunnel [%d] port\n"

	.comm	_BNX2X_SP_RTNL_CHANGE_UDP_PORT,4,2 ; @BNX2X_SP_RTNL_CHANGE_UDP_PORT
l_.str.1:                               ; @.str.1
	.asciz	"Deleted UDP tunnel [%d] port %d\n"

	.no_dead_strip	___bnx2x_del_udp_port
.subsections_via_symbols
