	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc6393xb_attach_irq
_tc6393xb_attach_irq:                   ## @tc6393xb_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	_TC6393XB_NR_IRQS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	addl	%r12d, %eax
	cmpl	%eax, %r12d
	jae	LBB0_3
## %bb.1:
	movq	_IRQ_NOPROBE@GOTPCREL(%rip), %r14
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	_tc6393xb_chip@GOTPCREL(%rip), %rsi
	callq	_irq_set_chip_and_handler
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_irq_set_chip_data
	movl	(%r14), %esi
	movq	_IRQ_NOREQUEST@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%ebx, %edi
	callq	_irq_clear_status_flags
	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	_tc6393xb_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	_TC6393XB_NR_IRQS,4,2           ## @TC6393XB_NR_IRQS
	.comm	_tc6393xb_chip,4,2              ## @tc6393xb_chip
	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.comm	_IRQ_NOREQUEST,4,2              ## @IRQ_NOREQUEST
	.comm	_IRQ_NOPROBE,4,2                ## @IRQ_NOPROBE
	.comm	_IRQ_TYPE_EDGE_FALLING,4,2      ## @IRQ_TYPE_EDGE_FALLING
	.comm	_tc6393xb_irq,4,2               ## @tc6393xb_irq
	.no_dead_strip	_tc6393xb_attach_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc6393xb_attach_irq
_tc6393xb_attach_irq:                   ; @tc6393xb_attach_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x23, _TC6393XB_NR_IRQS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TC6393XB_NR_IRQS@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, w22
	cmp	w22, w8
	b.hs	LBB0_3
; %bb.1:
Lloh2:
	adrp	x24, _handle_edge_irq@GOTPAGE
Lloh3:
	ldr	x24, [x24, _handle_edge_irq@GOTPAGEOFF]
Lloh4:
	adrp	x20, _tc6393xb_chip@GOTPAGE
Lloh5:
	ldr	x20, [x20, _tc6393xb_chip@GOTPAGEOFF]
Lloh6:
	adrp	x25, _IRQ_NOREQUEST@GOTPAGE
Lloh7:
	ldr	x25, [x25, _IRQ_NOREQUEST@GOTPAGEOFF]
	mov	x21, x22
Lloh8:
	adrp	x26, _IRQ_NOPROBE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _IRQ_NOPROBE@GOTPAGEOFF]
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
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_irq_clear_status_flags
	add	w21, w21, #1
	ldr	w8, [x23]
	add	w8, w8, w22
	cmp	w21, w8
	b.lo	LBB0_2
LBB0_3:
	ldr	w0, [x19, #4]
Lloh10:
	adrp	x8, _IRQ_TYPE_EDGE_FALLING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_TYPE_EDGE_FALLING@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_irq_set_irq_type
	ldr	w0, [x19, #4]
Lloh13:
	adrp	x8, _tc6393xb_irq@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tc6393xb_irq@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_irq_set_chained_handler_and_data
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TC6393XB_NR_IRQS,4,2           ; @TC6393XB_NR_IRQS
	.comm	_tc6393xb_chip,4,2              ; @tc6393xb_chip
	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.comm	_IRQ_NOREQUEST,4,2              ; @IRQ_NOREQUEST
	.comm	_IRQ_NOPROBE,4,2                ; @IRQ_NOPROBE
	.comm	_IRQ_TYPE_EDGE_FALLING,4,2      ; @IRQ_TYPE_EDGE_FALLING
	.comm	_tc6393xb_irq,4,2               ; @tc6393xb_irq
	.no_dead_strip	_tc6393xb_attach_irq
.subsections_via_symbols
