	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rockchip_drm_dma_detach_device ## -- Begin function rockchip_drm_dma_detach_device
	.p2align	4, 0x90
_rockchip_drm_dma_detach_device:        ## @rockchip_drm_dma_detach_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_is_support_iommu@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	popq	%rbp
	jmp	_iommu_detach_device            ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_is_support_iommu,4,2           ## @is_support_iommu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rockchip_drm_dma_detach_device ; -- Begin function rockchip_drm_dma_detach_device
	.p2align	2
_rockchip_drm_dma_detach_device:        ; @rockchip_drm_dma_detach_device
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _is_support_iommu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _is_support_iommu@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x0, [x8]
	b	_iommu_detach_device
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_is_support_iommu,4,2           ; @is_support_iommu
.subsections_via_symbols
