	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_edma_irq_init
_fsl_edma_irq_init:                     ## @fsl_edma_irq_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_platform_get_irq_byname
	movq	%rax, (%r15)
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_4:
	movq	(%r15), %rsi
	cmpq	%rax, %rsi
	jne	LBB0_7
## %bb.5:
	movq	_fsl_edma_irq_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.2(%rip), %r8
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_11
LBB0_7:
	movq	_fsl_edma_tx_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %r8
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	%r12d, %ebx
	jmp	LBB0_12
LBB0_9:
	movq	8(%r15), %rsi
	movq	_fsl_edma_err_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %r8
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	%eax, %r15d
	leaq	L_.str.7(%rip), %rsi
LBB0_11:
	movq	%r14, %rdi
	callq	_dev_err
	movl	%r15d, %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"edma-tx"

L_.str.1:                               ## @.str.1
	.asciz	"edma-err"

	.comm	_fsl_edma_irq_handler,4,2       ## @fsl_edma_irq_handler
L_.str.2:                               ## @.str.2
	.asciz	"eDMA"

L_.str.3:                               ## @.str.3
	.asciz	"Can't register eDMA IRQ.\n"

	.comm	_fsl_edma_tx_handler,4,2        ## @fsl_edma_tx_handler
L_.str.4:                               ## @.str.4
	.asciz	"eDMA tx"

L_.str.5:                               ## @.str.5
	.asciz	"Can't register eDMA tx IRQ.\n"

	.comm	_fsl_edma_err_handler,4,2       ## @fsl_edma_err_handler
L_.str.6:                               ## @.str.6
	.asciz	"eDMA err"

L_.str.7:                               ## @.str.7
	.asciz	"Can't register eDMA err IRQ.\n"

	.no_dead_strip	_fsl_edma_irq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_edma_irq_init
_fsl_edma_irq_init:                     ; @fsl_edma_irq_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_platform_get_irq_byname
	str	x0, [x20]
	tbz	x0, #63, LBB0_2
; %bb.1:
	mov	x21, x0
	b	LBB0_12
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	mov	x21, x0
	str	x0, [x20, #8]
	tbz	x0, #63, LBB0_4
; %bb.3:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_12
LBB0_4:
	ldr	x1, [x20]
	cmp	x1, x21
	b.ne	LBB0_7
; %bb.5:
Lloh4:
	adrp	x8, _fsl_edma_irq_handler@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fsl_edma_irq_handler@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x4, l_.str.2@PAGE
Lloh8:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	mov	x21, x0
	cbz	w0, LBB0_12
; %bb.6:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_7:
Lloh11:
	adrp	x8, _fsl_edma_tx_handler@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fsl_edma_tx_handler@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x4, l_.str.4@PAGE
Lloh15:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbz	w0, LBB0_9
; %bb.8:
	mov	x21, x0
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_9:
	ldr	x1, [x20, #8]
Lloh18:
	adrp	x8, _fsl_edma_err_handler@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fsl_edma_err_handler@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x4, l_.str.6@PAGE
Lloh22:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	mov	x21, x0
	cbz	w0, LBB0_12
; %bb.10:
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dev_err
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"edma-tx"

l_.str.1:                               ; @.str.1
	.asciz	"edma-err"

	.comm	_fsl_edma_irq_handler,4,2       ; @fsl_edma_irq_handler
l_.str.2:                               ; @.str.2
	.asciz	"eDMA"

l_.str.3:                               ; @.str.3
	.asciz	"Can't register eDMA IRQ.\n"

	.comm	_fsl_edma_tx_handler,4,2        ; @fsl_edma_tx_handler
l_.str.4:                               ; @.str.4
	.asciz	"eDMA tx"

l_.str.5:                               ; @.str.5
	.asciz	"Can't register eDMA tx IRQ.\n"

	.comm	_fsl_edma_err_handler,4,2       ; @fsl_edma_err_handler
l_.str.6:                               ; @.str.6
	.asciz	"eDMA err"

l_.str.7:                               ; @.str.7
	.asciz	"Can't register eDMA err IRQ.\n"

	.no_dead_strip	_fsl_edma_irq_init
.subsections_via_symbols
