	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hv_pci_query_relations
_hv_pci_query_relations:                ## @hv_pci_query_relations
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_hv_get_drvdata
	movq	%rax, %r15
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	callq	_init_completion
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_cmpxchg
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOTEMPTY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_2:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_PCI_QUERY_BUS_RELATIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	(%r14), %edi
	movq	_VM_PKT_DATA_INBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_vmbus_sendpacket
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_wait_for_response
	movl	%eax, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTEMPTY,4,2                  ## @ENOTEMPTY
	.comm	_PCI_QUERY_BUS_RELATIONS,4,2    ## @PCI_QUERY_BUS_RELATIONS
	.comm	_VM_PKT_DATA_INBAND,4,2         ## @VM_PKT_DATA_INBAND
	.no_dead_strip	_hv_pci_query_relations
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hv_pci_query_relations
_hv_pci_query_relations:                ; @hv_pci_query_relations
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_hv_get_drvdata
	mov	x20, x0
	mov	x0, sp
	bl	_init_completion
	mov	x2, sp
	mov	x0, x20
	mov	x1, #0
	bl	_cmpxchg
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOTEMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOTEMPTY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh3:
	adrp	x8, _PCI_QUERY_BUS_RELATIONS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_QUERY_BUS_RELATIONS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _VM_PKT_DATA_INBAND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VM_PKT_DATA_INBAND@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	add	x1, sp, #8
	mov	w2, #4
	mov	w3, #0
	mov	w5, #0
	bl	_vmbus_sendpacket
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x1, sp
	mov	x0, x19
	bl	_wait_for_response
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTEMPTY,4,2                  ; @ENOTEMPTY
	.comm	_PCI_QUERY_BUS_RELATIONS,4,2    ; @PCI_QUERY_BUS_RELATIONS
	.comm	_VM_PKT_DATA_INBAND,4,2         ; @VM_PKT_DATA_INBAND
	.no_dead_strip	_hv_pci_query_relations
.subsections_via_symbols
