	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_drm_free_buf
_exynos_drm_free_buf:                   ## @exynos_drm_free_buf
	.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
	movq	8(%rdi), %rdx
	movq	24(%rdi), %r14
	movl	(%r14), %edi
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	20(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DRM_DEV_DEBUG_KMS
	movq	%r14, %rdi
	callq	_to_dma_dev
	movl	20(%rbx), %esi
	movl	16(%rbx), %edx
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	movl	%eax, %edi
	callq	_dma_free_attrs
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kvfree                         ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DRM_DEV_DEBUG_KMS              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dma_addr is invalid.\n"

L_.str.1:                               ## @.str.1
	.asciz	"dma_addr(0x%lx), size(0x%lx)\n"

	.no_dead_strip	_exynos_drm_free_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_drm_free_buf
_exynos_drm_free_buf:                   ; @exynos_drm_free_buf
	.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
	ldr	x20, [x0, #24]
	ldr	x8, [x0, #8]
	ldr	w0, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w9, [x19, #20]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DRM_DEV_DEBUG_KMS
	mov	x0, x20
	bl	_to_dma_dev
	ldp	w2, w1, [x19, #16]
	ldp	w4, w3, [x19, #4]
	bl	_dma_free_attrs
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_kvfree
LBB0_2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_DRM_DEV_DEBUG_KMS
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dma_addr is invalid.\n"

l_.str.1:                               ; @.str.1
	.asciz	"dma_addr(0x%lx), size(0x%lx)\n"

	.no_dead_strip	_exynos_drm_free_buf
.subsections_via_symbols
