	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hv_pci_free_bridge_windows
_hv_pci_free_bridge_windows:            ## @hv_pci_free_bridge_windows
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_3
## %bb.1:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movq	_IORESOURCE_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rdi)
	movl	(%rdi), %r14d
	callq	_resource_size
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_vmbus_free_mmio
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	movq	_IORESOURCE_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rdi)
	movl	(%rdi), %ebx
	callq	_resource_size
	movl	%ebx, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vmbus_free_mmio                ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_BUSY,4,2            ## @IORESOURCE_BUSY
	.no_dead_strip	_hv_pci_free_bridge_windows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hv_pci_free_bridge_windows
_hv_pci_free_bridge_windows:            ; @hv_pci_free_bridge_windows
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IORESOURCE_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_BUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w20, w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	bl	_resource_size
	mov	x1, x0
	mov	x0, x20
	bl	_vmbus_free_mmio
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _IORESOURCE_BUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w19, w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	bl	_resource_size
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vmbus_free_mmio
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_BUSY,4,2            ; @IORESOURCE_BUSY
	.no_dead_strip	_hv_pci_free_bridge_windows
.subsections_via_symbols
