	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc_interrupts_init
_pdc_interrupts_init:                   ## @pdc_interrupts_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	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	(%r14), %r15
	movq	_PDC_INTMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PDC_INTMASK_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	_FA_HW@GOTPCREL(%rip), %rcx
	movq	_PDC_LAZY_INT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_FA_RCVLAZY0_OFFSET@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PDC_RCVLAZY0_OFFSET@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	callq	_iowrite32
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	callq	_dev_name
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%rbx, %r8
	callq	_dev_dbg
	movl	8(%rbx), %r15d
	movq	_pdc_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_dev_name
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r15d
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_dev_err
	jmp	LBB0_6
LBB0_5:
	movq	_PDC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PDC_INTMASK,4,2                ## @PDC_INTMASK
	.comm	_PDC_INTMASK_OFFSET,8,3         ## @PDC_INTMASK_OFFSET
	.comm	_FA_HW,8,3                      ## @FA_HW
	.comm	_PDC_LAZY_INT,4,2               ## @PDC_LAZY_INT
	.comm	_FA_RCVLAZY0_OFFSET,8,3         ## @FA_RCVLAZY0_OFFSET
	.comm	_PDC_RCVLAZY0_OFFSET,8,3        ## @PDC_RCVLAZY0_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pdc device %s irq %u for pdcs %p"

	.comm	_pdc_irq_handler,4,2            ## @pdc_irq_handler
L_.str.1:                               ## @.str.1
	.asciz	"IRQ %u request failed with err %d\n"

	.comm	_PDC_SUCCESS,4,2                ## @PDC_SUCCESS
	.no_dead_strip	_pdc_interrupts_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdc_interrupts_init
_pdc_interrupts_init:                   ; @pdc_interrupts_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	x19, x0
Lloh0:
	adrp	x8, _PDC_INTMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PDC_INTMASK@GOTPAGEOFF]
	ldp	x9, x20, [x0, #16]
	ldr	x21, [x20]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PDC_INTMASK_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PDC_INTMASK_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, x9
	bl	_iowrite32
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _FA_HW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FA_HW@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _PDC_LAZY_INT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PDC_LAZY_INT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x10]
	ldr	x10, [x19, #16]
Lloh12:
	adrp	x11, _FA_RCVLAZY0_OFFSET@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FA_RCVLAZY0_OFFSET@GOTPAGEOFF]
Lloh14:
	adrp	x12, _PDC_RCVLAZY0_OFFSET@GOTPAGE
Lloh15:
	ldr	x12, [x12, _PDC_RCVLAZY0_OFFSET@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x12, eq
	ldr	x8, [x8]
	add	x1, x8, x10
	bl	_iowrite32
	mov	x0, x21
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	w0, [x19, #8]
	mov	x0, x20
	bl	_dev_name
	mov	x2, x0
	ldr	w3, [x19, #8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_dev_dbg
	ldr	w21, [x19, #8]
Lloh18:
	adrp	x8, _pdc_irq_handler@GOTPAGE
Lloh19:
	ldr	x8, [x8, _pdc_irq_handler@GOTPAGEOFF]
Lloh20:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w2, [x19, #8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x21
	bl	_dev_err
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x8, _PDC_SUCCESS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PDC_SUCCESS@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x8]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PDC_INTMASK,4,2                ; @PDC_INTMASK
	.comm	_PDC_INTMASK_OFFSET,8,3         ; @PDC_INTMASK_OFFSET
	.comm	_FA_HW,8,3                      ; @FA_HW
	.comm	_PDC_LAZY_INT,4,2               ; @PDC_LAZY_INT
	.comm	_FA_RCVLAZY0_OFFSET,8,3         ; @FA_RCVLAZY0_OFFSET
	.comm	_PDC_RCVLAZY0_OFFSET,8,3        ; @PDC_RCVLAZY0_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pdc device %s irq %u for pdcs %p"

	.comm	_pdc_irq_handler,4,2            ; @pdc_irq_handler
l_.str.1:                               ; @.str.1
	.asciz	"IRQ %u request failed with err %d\n"

	.comm	_PDC_SUCCESS,4,2                ; @PDC_SUCCESS
	.no_dead_strip	_pdc_interrupts_init
.subsections_via_symbols
