	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qp_grp_and_vf_bind
_qp_grp_and_vf_bind:                    ## @qp_grp_and_vf_bind
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$20, %rdi
	callq	_lockdep_assert_held
	movl	16(%rbx), %edi
	callq	_usnic_vnic_get_pdev
	movq	%rax, %r13
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rcx
LBB0_5:
	incq	%rax
	movq	%rax, (%rbx)
	xorl	%edi, %edi
	cmpq	%r15, %rcx
	setne	%dil
	callq	_WARN_ON
	movq	%rbx, (%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_2:
	movl	(%r15), %edi
	movq	%r13, %rsi
	callq	_usnic_uiom_attach_dev_to_pd
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_pci_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_usnic_err
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, 8(%rbx)
	movq	(%rbx), %rax
	movq	%r15, %rcx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to attach %s to domain\n"

	.no_dead_strip	_qp_grp_and_vf_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qp_grp_and_vf_bind
_qp_grp_and_vf_bind:                    ; @qp_grp_and_vf_bind
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, x0, #20
	bl	_lockdep_assert_held
	ldr	w0, [x20, #16]
	bl	_usnic_vnic_get_pdev
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x20, #8]
LBB0_2:
	add	x8, x8, #1
	str	x8, [x20]
	cmp	x9, x21
	cset	w0, ne
	bl	_WARN_ON
	mov	w22, #0
	str	x20, [x19]
	b	LBB0_5
LBB0_3:
	mov	x23, x0
	ldr	w0, [x21]
	mov	x1, x23
	bl	_usnic_uiom_attach_dev_to_pd
	cbz	w0, LBB0_6
; %bb.4:
	mov	x22, x0
	mov	x0, x23
	bl	_pci_name
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_usnic_err
LBB0_5:
	mov	x0, x22
	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
LBB0_6:
	str	x21, [x20, #8]
	ldr	x8, [x20]
	mov	x9, x21
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to attach %s to domain\n"

	.no_dead_strip	_qp_grp_and_vf_bind
.subsections_via_symbols
