	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function viommu_get_by_fwnode
_viommu_get_by_fwnode:                  ## @viommu_get_by_fwnode
	.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, %rdx
	movq	_viommu_match_node@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_virtio_iommu_drv@GOTPCREL(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_driver_find_device
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_put_device
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_dev_to_virtio
	movq	(%rax), %r14
LBB0_2:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_virtio_iommu_drv,4,2           ## @virtio_iommu_drv
	.comm	_viommu_match_node,4,2          ## @viommu_match_node
	.no_dead_strip	_viommu_get_by_fwnode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function viommu_get_by_fwnode
_viommu_get_by_fwnode:                  ; @viommu_get_by_fwnode
	.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	x2, x0
Lloh0:
	adrp	x8, _viommu_match_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _viommu_match_node@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, _virtio_iommu_drv@GOTPAGE
Lloh4:
	ldr	x0, [x0, _virtio_iommu_drv@GOTPAGEOFF]
	mov	x1, #0
	bl	_driver_find_device
	mov	x19, x0
	bl	_put_device
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_dev_to_virtio
	ldr	x0, [x0]
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_virtio_iommu_drv,4,2           ; @virtio_iommu_drv
	.comm	_viommu_match_node,4,2          ; @viommu_match_node
	.no_dead_strip	_viommu_get_by_fwnode
.subsections_via_symbols
