	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsldma_request_irqs
_fsldma_request_irqs:                   ## @fsldma_request_irqs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	16(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	(%r14), %rdi
	movq	_fsldma_ctrl_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_request_irq                    ## TAILCALL
LBB0_2:
	movq	_FSL_DMA_MAX_CHANS_PER_DEVICE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	movq	(%rcx,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_chan_dbg
	movq	(%rbx), %rdi
	movq	_fsldma_chan_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %eax
	jmp	LBB0_4
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_chan_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_14
LBB0_13:
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_chan_err
LBB0_14:
	incq	%r15
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	decq	%r15
	jle	LBB0_11
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	-8(%rax,%r15,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	callq	_free_irq
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request per-controller IRQ\n"

	.comm	_fsldma_ctrl_irq,4,2            ## @fsldma_ctrl_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.1:                               ## @.str.1
	.asciz	"fsldma-controller"

	.comm	_FSL_DMA_MAX_CHANS_PER_DEVICE,4,2 ## @FSL_DMA_MAX_CHANS_PER_DEVICE
L_.str.2:                               ## @.str.2
	.asciz	"interrupts property missing in device tree\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.3:                               ## @.str.3
	.asciz	"request per-channel IRQ\n"

	.comm	_fsldma_chan_irq,4,2            ## @fsldma_chan_irq
L_.str.4:                               ## @.str.4
	.asciz	"fsldma-chan"

L_.str.5:                               ## @.str.5
	.asciz	"unable to request per-channel IRQ\n"

	.no_dead_strip	_fsldma_request_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsldma_request_irqs
_fsldma_request_irqs:                   ; @fsldma_request_irqs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _fsldma_ctrl_irq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fsldma_ctrl_irq@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh7:
	adrp	x3, l_.str.1@PAGE
Lloh8:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh9:
	ldr	w2, [x8]
	mov	x4, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_request_irq
LBB0_2:
Lloh10:
	adrp	x25, _FSL_DMA_MAX_CHANS_PER_DEVICE@GOTPAGE
Lloh11:
	ldr	x25, [x25, _FSL_DMA_MAX_CHANS_PER_DEVICE@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x24, #0
Lloh12:
	adrp	x20, l_.str.3@PAGE
Lloh13:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh14:
	adrp	x26, _fsldma_chan_irq@GOTPAGE
Lloh15:
	ldr	x26, [x26, _fsldma_chan_irq@GOTPAGEOFF]
Lloh16:
	adrp	x27, _IRQF_SHARED@GOTPAGE
Lloh17:
	ldr	x27, [x27, _IRQF_SHARED@GOTPAGEOFF]
Lloh18:
	adrp	x22, l_.str.4@PAGE
Lloh19:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x23, [x9, x24, lsl #3]
	cbz	x23, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_chan_dbg
	ldr	x0, [x23]
	ldr	w1, [x26]
	ldr	w2, [x27]
	mov	x3, x22
	mov	x4, x23
	bl	_request_irq
	cbnz	w0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	b	LBB0_4
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_chan_err
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_14
LBB0_12:
	mov	x21, x0
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	bl	_chan_err
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x8, x24, #1
	cmp	x24, #0
	mov	x24, x8
	b.le	LBB0_10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x24, lsl #3]
	cbz	x1, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x1]
	cbz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	bl	_free_irq
	b	LBB0_13
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request per-controller IRQ\n"

	.comm	_fsldma_ctrl_irq,4,2            ; @fsldma_ctrl_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.1:                               ; @.str.1
	.asciz	"fsldma-controller"

	.comm	_FSL_DMA_MAX_CHANS_PER_DEVICE,4,2 ; @FSL_DMA_MAX_CHANS_PER_DEVICE
l_.str.2:                               ; @.str.2
	.asciz	"interrupts property missing in device tree\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.3:                               ; @.str.3
	.asciz	"request per-channel IRQ\n"

	.comm	_fsldma_chan_irq,4,2            ; @fsldma_chan_irq
l_.str.4:                               ; @.str.4
	.asciz	"fsldma-chan"

l_.str.5:                               ; @.str.5
	.asciz	"unable to request per-channel IRQ\n"

	.no_dead_strip	_fsldma_request_irqs
.subsections_via_symbols
