	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xilinx_dma_child_probe
_xilinx_dma_child_probe:                ## @xilinx_dma_child_probe
	.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, %r14
	movq	%rdi, %r15
	movl	$1, -28(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jns	LBB0_3
## %bb.1:
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	movl	8(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_warn
LBB0_3:
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %edx
	leal	1(%rdx), %eax
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_xilinx_dma_chan_probe
	incl	%ebx
	movl	-28(%rbp), %eax
	cmpl	%eax, %ebx
	jl	LBB0_5
LBB0_6:
	addl	%eax, (%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dma-channels"

L_.str.1:                               ## @.str.1
	.asciz	"missing dma-channels property\n"

	.no_dead_strip	_xilinx_dma_child_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xilinx_dma_child_probe
_xilinx_dma_child_probe:                ; @xilinx_dma_child_probe
	.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	x20, x1
	mov	x19, x0
	mov	w8, #1
	str	w8, [sp, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	tbz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
LBB0_3:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x19, #4]
	add	w8, w2, #1
	str	w8, [x19, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_xilinx_dma_chan_probe
	add	w21, w21, #1
	ldr	w8, [sp, #12]
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_6:
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dma-channels"

l_.str.1:                               ; @.str.1
	.asciz	"missing dma-channels property\n"

	.no_dead_strip	_xilinx_dma_child_probe
.subsections_via_symbols
