	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_dma_router_xlate
_of_dma_router_xlate:                   ## @of_dma_router_xlate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*16(%rbx)
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_2:
	leaq	-32(%rbp), %rdi
	callq	_of_dma_find_controller
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rsi
	leaq	-32(%rbp), %rdi
	callq	*8(%rsi)
	movq	%rax, %r15
	movq	(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rcx, 8(%r15)
	movq	%r14, (%r15)
	jmp	LBB0_7
LBB0_6:
	movl	(%rcx), %edi
	movq	%r14, %rsi
	callq	*8(%rcx)
LBB0_7:
	movl	-32(%rbp), %edi
	callq	_of_node_put
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_of_dma_router_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_dma_router_xlate
_of_dma_router_xlate:                   ; @of_dma_router_xlate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x1, x0
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #16]
	add	x0, sp, #8
	mov	x1, x19
	blr	x8
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	mov	x21, #0
	b	LBB0_7
LBB0_2:
	add	x0, sp, #8
	bl	_of_dma_find_controller
	cbz	x0, LBB0_1
; %bb.3:
	mov	x1, x0
	ldr	x8, [x0, #8]
	add	x0, sp, #8
	blr	x8
	mov	x21, x0
	ldr	x8, [x19]
	cbz	x0, LBB0_5
; %bb.4:
	stp	x20, x8, [x21]
	b	LBB0_6
LBB0_5:
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	mov	x1, x20
	blr	x9
LBB0_6:
	ldr	w0, [sp, #8]
	bl	_of_node_put
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_of_dma_router_xlate
.subsections_via_symbols
