	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvu_nix_lf_teardown            ## -- Begin function rvu_nix_lf_teardown
	.p2align	4, 0x90
_rvu_nix_lf_teardown:                   ## @rvu_nix_lf_teardown
	.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	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_rvu_get_pfvf
	movq	%rax, %r14
	movl	%ebx, -44(%rbp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_nix_interface_deinit
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_nix_rx_sync
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_nix_txschq_free
	cmpq	$0, 16(%r14)
	je	LBB0_3
## %bb.1:
	movq	_NIX_AQ_CTYPE_SQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_nix_lf_hwctx_disable
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_3:
	cmpq	$0, 8(%r14)
	je	LBB0_6
## %bb.4:
	movq	_NIX_AQ_CTYPE_RQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_nix_lf_hwctx_disable
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
LBB0_6:
	cmpq	$0, (%r14)
	je	LBB0_9
## %bb.7:
	movq	_NIX_AQ_CTYPE_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_nix_lf_hwctx_disable
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
LBB0_9:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_nix_ctx_free
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIX_AQ_CTYPE_SQ,4,2            ## @NIX_AQ_CTYPE_SQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQ ctx disable failed\n"

	.comm	_NIX_AQ_CTYPE_RQ,4,2            ## @NIX_AQ_CTYPE_RQ
L_.str.1:                               ## @.str.1
	.asciz	"RQ ctx disable failed\n"

	.comm	_NIX_AQ_CTYPE_CQ,4,2            ## @NIX_AQ_CTYPE_CQ
L_.str.2:                               ## @.str.2
	.asciz	"CQ ctx disable failed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rvu_nix_lf_teardown            ; -- Begin function rvu_nix_lf_teardown
	.p2align	2
_rvu_nix_lf_teardown:                   ; @rvu_nix_lf_teardown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	bl	_rvu_get_pfvf
	mov	x20, x0
	str	w23, [sp, #12]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_nix_interface_deinit
	mov	x0, x19
	mov	x1, x22
	bl	_nix_rx_sync
	mov	x0, x19
	mov	x1, x23
	bl	_nix_txschq_free
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _NIX_AQ_CTYPE_SQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIX_AQ_CTYPE_SQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_nix_lf_hwctx_disable
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _NIX_AQ_CTYPE_RQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NIX_AQ_CTYPE_RQ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_nix_lf_hwctx_disable
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.7:
Lloh10:
	adrp	x8, _NIX_AQ_CTYPE_CQ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NIX_AQ_CTYPE_CQ@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_nix_lf_hwctx_disable
	cbz	w0, LBB0_9
; %bb.8:
	ldr	w0, [x19]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_nix_ctx_free
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NIX_AQ_CTYPE_SQ,4,2            ; @NIX_AQ_CTYPE_SQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQ ctx disable failed\n"

	.comm	_NIX_AQ_CTYPE_RQ,4,2            ; @NIX_AQ_CTYPE_RQ
l_.str.1:                               ; @.str.1
	.asciz	"RQ ctx disable failed\n"

	.comm	_NIX_AQ_CTYPE_CQ,4,2            ; @NIX_AQ_CTYPE_CQ
l_.str.2:                               ; @.str.2
	.asciz	"CQ ctx disable failed\n"

.subsections_via_symbols
