	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usnic_fwd_devcmd_locked
_usnic_fwd_devcmd_locked:               ## @usnic_fwd_devcmd_locked
	.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
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	addq	$4, %rdi
	callq	_lockdep_assert_held
	movq	%r14, %rdi
	movl	%r15d, %r14d
	movl	%r12d, %r15d
	movl	%r14d, %esi
	movl	%r15d, %edx
	movq	%r13, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	$1000, %r9d                     ## imm = 0x3E8
	callq	_enic_api_devcmd_proxy_by_index
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_ERR_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rbx), %esi
	cmpl	(%rax), %r12d
	jne	LBB0_4
## %bb.2:
	movq	_CMD_DEL_FILTER@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_usnic_dbg
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	callq	_usnic_err
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_EINVAL,4,2                 ## @ERR_EINVAL
	.comm	_CMD_DEL_FILTER,4,2             ## @CMD_DEL_FILTER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dev %s vnic idx %u cmd %u already deleted"

L_.str.1:                               ## @.str.1
	.asciz	"Dev %s vnic idx %u cmd %u failed with status %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Dev %s vnic idx %u cmd %u success"

	.no_dead_strip	_usnic_fwd_devcmd_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usnic_fwd_devcmd_locked
_usnic_fwd_devcmd_locked:               ; @usnic_fwd_devcmd_locked
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x24, [x0, #8]
	add	x0, x0, #4
	bl	_lockdep_assert_held
	mov	x0, x24
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	mov	x4, x21
	mov	w5, #1000
	bl	_enic_api_devcmd_proxy_by_index
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ERR_EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CMD_DEL_FILTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CMD_DEL_FILTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w1, [x22]
	cmp	w21, w8
	ccmp	w9, w19, #0, eq
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
	bl	_usnic_err
	b	LBB0_6
LBB0_3:
	ldr	w1, [x22]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	mov	x2, x20
	mov	x3, x19
	bl	_usnic_dbg
LBB0_6:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_EINVAL,4,2                 ; @ERR_EINVAL
	.comm	_CMD_DEL_FILTER,4,2             ; @CMD_DEL_FILTER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dev %s vnic idx %u cmd %u already deleted"

l_.str.1:                               ; @.str.1
	.asciz	"Dev %s vnic idx %u cmd %u failed with status %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Dev %s vnic idx %u cmd %u success"

	.no_dead_strip	_usnic_fwd_devcmd_locked
.subsections_via_symbols
