	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function viommu_get_write_desc_offset
_viommu_get_write_desc_offset:          ## @viommu_get_write_desc_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rax
	movq	(%rsi), %rcx
	movq	_VIRTIO_IOMMU_T_PROBE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	subq	(%rdi), %rax
LBB0_2:
	addq	$-4, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTIO_IOMMU_T_PROBE,8,3       ## @VIRTIO_IOMMU_T_PROBE
	.no_dead_strip	_viommu_get_write_desc_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function viommu_get_write_desc_offset
_viommu_get_write_desc_offset:          ; @viommu_get_write_desc_offset
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _VIRTIO_IOMMU_T_PROBE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VIRTIO_IOMMU_T_PROBE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	sub	x2, x2, x8
LBB0_2:
	sub	x0, x2, #4
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTIO_IOMMU_T_PROBE,8,3       ; @VIRTIO_IOMMU_T_PROBE
	.no_dead_strip	_viommu_get_write_desc_offset
.subsections_via_symbols
