	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnic_dev_classifier            ## -- Begin function vnic_dev_classifier
	.p2align	4, 0x90
_vnic_dev_classifier:                   ## @vnic_dev_classifier
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	_CLSF_ADD@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	%rcx, %r12
	movl	(%r15), %edi
	leaq	-48(%rbp), %rdx
	movl	$44, %esi
	callq	_pci_alloc_consistent
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r13
	movl	-48(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	$44, -52(%rbp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$44, %edx
	callq	_memset
	movq	_CLSF_TLV_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movl	$4, (%r13)
	movl	(%r12), %eax
	movl	%eax, 4(%r13)
	movl	$16, 16(%r13)
	movq	_FILTER_ACTION_RQ_STEERING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	movq	(%r14), %rax
	movq	%rax, 20(%r13)
	movq	_CMD_ADD_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r15, %rdi
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_vnic_dev_cmd
	movl	%eax, %ebx
	movslq	-44(%rbp), %rax
	movq	%rax, (%r14)
	movl	(%r15), %edi
	movl	-48(%rbp), %ecx
	movl	$44, %esi
	movq	%r13, %rdx
	callq	_pci_free_consistent
	jmp	LBB0_8
LBB0_5:
	movq	_CLSF_DEL@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_6
## %bb.7:
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)
	movq	_CMD_DEL_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r15, %rdi
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_vnic_dev_cmd
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CLSF_ADD,8,3                   ## @CLSF_ADD
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CLSF_TLV_FILTER,4,2            ## @CLSF_TLV_FILTER
	.comm	_CLSF_TLV_ACTION,4,2            ## @CLSF_TLV_ACTION
	.comm	_FILTER_ACTION_RQ_STEERING,4,2  ## @FILTER_ACTION_RQ_STEERING
	.comm	_CMD_ADD_FILTER,4,2             ## @CMD_ADD_FILTER
	.comm	_CLSF_DEL,8,3                   ## @CLSF_DEL
	.comm	_CMD_DEL_FILTER,4,2             ## @CMD_DEL_FILTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnic_dev_classifier            ; -- Begin function vnic_dev_classifier
	.p2align	2
_vnic_dev_classifier:                   ; @vnic_dev_classifier
	.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	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _CLSF_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLSF_ADD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	mov	x22, x3
	ldr	w0, [x19]
	mov	w23, #44
	add	x2, sp, #4
	mov	w1, #44
	bl	_pci_alloc_consistent
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	ldr	w8, [sp, #4]
	stp	w23, w8, [sp, #8]
	mov	w1, #0
	mov	w2, #44
	bl	_memset
Lloh3:
	adrp	x8, _CLSF_TLV_FILTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLSF_TLV_FILTER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	mov	w8, #4
	str	w8, [x21]
	ldr	w8, [x22]
	str	w8, [x21, #4]
	mov	w8, #16
	str	w8, [x21, #16]
Lloh6:
	adrp	x8, _FILTER_ACTION_RQ_STEERING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FILTER_ACTION_RQ_STEERING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #28]
	ldr	x8, [x20]
	stur	x8, [x21, #20]
Lloh9:
	adrp	x8, _CMD_ADD_FILTER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMD_ADD_FILTER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	w4, #1000
	bl	_vnic_dev_cmd
	mov	x22, x0
	ldrsw	x8, [sp, #12]
	str	x8, [x20]
	ldr	w0, [x19]
	ldr	w3, [sp, #4]
	mov	w1, #44
	mov	x2, x21
	bl	_pci_free_consistent
	b	LBB0_8
LBB0_3:
Lloh12:
	adrp	x8, _CLSF_DEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CLSF_DEL@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x20]
	str	w8, [sp, #12]
Lloh15:
	adrp	x8, _CMD_DEL_FILTER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CMD_DEL_FILTER@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	w4, #1000
	bl	_vnic_dev_cmd
	mov	x22, x0
	b	LBB0_8
LBB0_5:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CLSF_ADD,8,3                   ; @CLSF_ADD
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CLSF_TLV_FILTER,4,2            ; @CLSF_TLV_FILTER
	.comm	_CLSF_TLV_ACTION,4,2            ; @CLSF_TLV_ACTION
	.comm	_FILTER_ACTION_RQ_STEERING,4,2  ; @FILTER_ACTION_RQ_STEERING
	.comm	_CMD_ADD_FILTER,4,2             ; @CMD_ADD_FILTER
	.comm	_CLSF_DEL,8,3                   ; @CLSF_DEL
	.comm	_CMD_DEL_FILTER,4,2             ; @CMD_DEL_FILTER
.subsections_via_symbols
