	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_translate_dma_address       ## -- Begin function of_translate_dma_address
	.p2align	4, 0x90
_of_translate_dma_address:              ## @of_translate_dma_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rsi, %rdx
	movq	___of_get_dma_parent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	leaq	-8(%rbp), %r8
	callq	___of_translate_address
	movq	-8(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_of_node_put
	movq	_OF_BAD_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___of_get_dma_parent,4,2        ## @__of_get_dma_parent
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dma-ranges"

	.comm	_OF_BAD_ADDR,4,2                ## @OF_BAD_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_translate_dma_address       ; -- Begin function of_translate_dma_address
	.p2align	2
_of_translate_dma_address:              ; @of_translate_dma_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x2, x1
Lloh0:
	adrp	x8, ___of_get_dma_parent@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___of_get_dma_parent@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	add	x4, sp, #8
	bl	___of_translate_address
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x8
	bl	_of_node_put
Lloh5:
	adrp	x8, _OF_BAD_ADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OF_BAD_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	___of_get_dma_parent,4,2        ; @__of_get_dma_parent
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dma-ranges"

	.comm	_OF_BAD_ADDR,4,2                ; @OF_BAD_ADDR
.subsections_via_symbols
