	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc3589x_irq_init
_tc3589x_irq_init:                      ## @tc3589x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	_TC3589x_NR_INTERNAL_IRQS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_tc3589x_irq_ops@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movq	%rax, %rdi
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_irq_domain_add_simple
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TC3589x_NR_INTERNAL_IRQS,4,2   ## @TC3589x_NR_INTERNAL_IRQS
	.comm	_tc3589x_irq_ops,4,2            ## @tc3589x_irq_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create irqdomain\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_tc3589x_irq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc3589x_irq_init
_tc3589x_irq_init:                      ; @tc3589x_irq_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _TC3589x_NR_INTERNAL_IRQS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TC3589x_NR_INTERNAL_IRQS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x3, _tc3589x_irq_ops@GOTPAGE
Lloh4:
	ldr	x3, [x3, _tc3589x_irq_ops@GOTPAGEOFF]
	mov	x0, x8
	mov	w2, #0
	mov	x4, x19
	bl	_irq_domain_add_simple
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #4]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh7:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TC3589x_NR_INTERNAL_IRQS,4,2   ; @TC3589x_NR_INTERNAL_IRQS
	.comm	_tc3589x_irq_ops,4,2            ; @tc3589x_irq_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create irqdomain\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_tc3589x_irq_init
.subsections_via_symbols
