	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t7l66xb_attach_irq
_t7l66xb_attach_irq:                    ## @t7l66xb_attach_irq
	.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
	callq	_platform_get_drvdata
	movq	%rax, %r15
	movl	(%rax), %r12d
	movq	_T7L66XB_NR_IRQS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	addl	%r12d, %eax
	cmpl	%eax, %r12d
	jae	LBB0_3
## %bb.1:
	movq	_t7l66xb_chip@GOTPCREL(%rip), %r14
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_handle_level_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_irq_set_chip_and_handler
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_irq_set_chip_data
	incl	%ebx
	movl	(%r13), %eax
	addl	%r12d, %eax
	cmpl	%eax, %ebx
	jb	LBB0_2
LBB0_3:
	movl	4(%r15), %edi
	movq	_IRQ_TYPE_EDGE_FALLING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_irq_set_irq_type
	movl	4(%r15), %edi
	movq	_t7l66xb_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_irq_set_chained_handler_and_data ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_T7L66XB_NR_IRQS,4,2            ## @T7L66XB_NR_IRQS
	.comm	_t7l66xb_chip,4,2               ## @t7l66xb_chip
	.comm	_handle_level_irq,4,2           ## @handle_level_irq
	.comm	_IRQ_TYPE_EDGE_FALLING,4,2      ## @IRQ_TYPE_EDGE_FALLING
	.comm	_t7l66xb_irq,4,2                ## @t7l66xb_irq
	.no_dead_strip	_t7l66xb_attach_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t7l66xb_attach_irq
_t7l66xb_attach_irq:                    ; @t7l66xb_attach_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x23, _T7L66XB_NR_IRQS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _T7L66XB_NR_IRQS@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, w22
	cmp	w22, w8
	b.hs	LBB0_3
; %bb.1:
Lloh2:
	adrp	x24, _handle_level_irq@GOTPAGE
Lloh3:
	ldr	x24, [x24, _handle_level_irq@GOTPAGEOFF]
Lloh4:
	adrp	x20, _t7l66xb_chip@GOTPAGE
Lloh5:
	ldr	x20, [x20, _t7l66xb_chip@GOTPAGEOFF]
	mov	x21, x22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x20
	bl	_irq_set_chip_and_handler
	mov	x0, x21
	mov	x1, x19
	bl	_irq_set_chip_data
	add	w21, w21, #1
	ldr	w8, [x23]
	add	w8, w8, w22
	cmp	w21, w8
	b.lo	LBB0_2
LBB0_3:
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x8, _IRQ_TYPE_EDGE_FALLING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_TYPE_EDGE_FALLING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_irq_set_irq_type
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x8, _t7l66xb_irq@GOTPAGE
Lloh10:
	ldr	x8, [x8, _t7l66xb_irq@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_irq_set_chained_handler_and_data
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_T7L66XB_NR_IRQS,4,2            ; @T7L66XB_NR_IRQS
	.comm	_t7l66xb_chip,4,2               ; @t7l66xb_chip
	.comm	_handle_level_irq,4,2           ; @handle_level_irq
	.comm	_IRQ_TYPE_EDGE_FALLING,4,2      ; @IRQ_TYPE_EDGE_FALLING
	.comm	_t7l66xb_irq,4,2                ; @t7l66xb_irq
	.no_dead_strip	_t7l66xb_attach_irq
.subsections_via_symbols
