	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_client_subtask            ## -- Begin function iavf_client_subtask
	.p2align	4, 0x90
_iavf_client_subtask:                   ## @iavf_client_subtask
	.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
	movq	(%rdi), %rax
	movq	___IAVF_DOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_8
## %bb.1:
	movq	_vf_registered_client@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.2:
	movq	%rdi, %rbx
	callq	_iavf_client_add_instance
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r14
	movq	8(%rbx), %rdi
	movl	8(%r15), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	___IAVF_CLIENT_INSTANCE_OPENED@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	%r15, %rsi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iavf_client_del_instance       ## TAILCALL
LBB0_9:
	movl	(%r12), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vf_registered_client,8,3       ## @vf_registered_client
	.comm	___IAVF_DOWN,8,3                ## @__IAVF_DOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Added instance of Client %s\n"

	.comm	___IAVF_CLIENT_INSTANCE_OPENED,4,2 ## @__IAVF_CLIENT_INSTANCE_OPENED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_client_subtask            ; -- Begin function iavf_client_subtask
	.p2align	2
_iavf_client_subtask:                   ; @iavf_client_subtask
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _vf_registered_client@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vf_registered_client@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, ___IAVF_DOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___IAVF_DOWN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x20, #0, #4, ge
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_iavf_client_add_instance
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
	ldr	x0, [x19, #8]
	ldr	w2, [x20, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh8:
	adrp	x22, ___IAVF_CLIENT_INSTANCE_OPENED@GOTPAGE
Lloh9:
	ldr	x22, [x22, ___IAVF_CLIENT_INSTANCE_OPENED@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:
	add	x0, x21, #4
	mov	x1, x20
	blr	x8
	cbz	w0, LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_iavf_client_del_instance
LBB0_8:
	ldr	w0, [x22]
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_bit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_vf_registered_client,8,3       ; @vf_registered_client
	.comm	___IAVF_DOWN,8,3                ; @__IAVF_DOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Added instance of Client %s\n"

	.comm	___IAVF_CLIENT_INSTANCE_OPENED,4,2 ; @__IAVF_CLIENT_INSTANCE_OPENED
.subsections_via_symbols
