	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_tunnel_dst_port_free
_bnxt_hwrm_tunnel_dst_port_free:        ## @bnxt_hwrm_tunnel_dst_port_free
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$0, -24(%rbp)
	movq	$0, -32(%rbp)
	movq	_HWRM_TUNNEL_DST_PORT_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	movl	%ebx, -32(%rbp)
	cmpl	$129, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_5
## %bb.2:
	leaq	8(%r14), %rax
	jmp	LBB0_4
LBB0_3:
	leaq	4(%r14), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
LBB0_5:
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movl	$12, %edx
	callq	_hwrm_send_message
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_netdev_err
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWRM_TUNNEL_DST_PORT_FREE,4,2  ## @HWRM_TUNNEL_DST_PORT_FREE
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hwrm_tunnel_dst_port_free failed. rc:%d\n"

	.no_dead_strip	_bnxt_hwrm_tunnel_dst_port_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_tunnel_dst_port_free
_bnxt_hwrm_tunnel_dst_port_free:        ; @bnxt_hwrm_tunnel_dst_port_free
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #8]
	str	xzr, [sp]
Lloh0:
	adrp	x8, _HWRM_TUNNEL_DST_PORT_FREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWRM_TUNNEL_DST_PORT_FREE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, sp
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	str	w20, [sp]
	cmp	w20, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #128
	b.ne	LBB0_5
; %bb.2:
	add	x8, x19, #8
	b	LBB0_4
LBB0_3:
	add	x8, x19, #4
LBB0_4:
	ldr	w8, [x8]
	str	w8, [sp, #4]
LBB0_5:
Lloh3:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #12
	bl	_hwrm_send_message
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_netdev_err
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HWRM_TUNNEL_DST_PORT_FREE,4,2  ; @HWRM_TUNNEL_DST_PORT_FREE
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hwrm_tunnel_dst_port_free failed. rc:%d\n"

	.no_dead_strip	_bnxt_hwrm_tunnel_dst_port_free
.subsections_via_symbols
