	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps65910_irq_init
_tps65910_irq_init:                     ## @tps65910_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testl	%esi, %esi
	je	LBB0_1
## %bb.3:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movl	%esi, %r14d
	movq	%r15, %rdi
	callq	_tps65910_chip_id
	cmpl	$128, %eax
	je	LBB0_9
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.8:
	movq	_tps65910_irq_chip@GOTPCREL(%rip), %r9
	jmp	LBB0_10
LBB0_1:
	movl	4(%r15), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	movl	4(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_9:
	movq	_tps65911_irq_chip@GOTPCREL(%rip), %r9
LBB0_10:
	movq	%r9, _tps65910_irq_init.tps6591x_irqs_chip(%rip)
	jmp	LBB0_11
LBB0_7:
	movq	_tps65910_irq_init.tps6591x_irqs_chip(%rip), %r9
LBB0_11:
	movl	%r14d, (%r15)
	movl	4(%r15), %edi
	movl	12(%r15), %esi
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	leaq	8(%r15), %rax
	movq	%rax, (%rsp)
	movl	%r14d, %edx
	callq	_devm_regmap_add_irq_chip
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:
	movl	4(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_warn
	movl	$0, (%r15)
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tps65910_irq_init.tps6591x_irqs_chip,8,3 ## @tps65910_irq_init.tps6591x_irqs_chip
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No interrupt support, no core IRQ\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"No interrupt support, no pdata\n"

	.comm	_tps65910_irq_chip,4,2          ## @tps65910_irq_chip
	.comm	_tps65911_irq_chip,4,2          ## @tps65911_irq_chip
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.2:                               ## @.str.2
	.asciz	"Failed to add irq_chip %d\n"

	.no_dead_strip	_tps65910_irq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps65910_irq_init
_tps65910_irq_init:                     ; @tps65910_irq_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	cbz	w1, LBB0_5
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_6
; %bb.2:
	mov	x20, x1
	mov	x0, x19
	bl	_tps65910_chip_id
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.3:
	cmp	w0, #129
	b.ne	LBB0_10
; %bb.4:
Lloh0:
	adrp	x5, _tps65910_irq_chip@GOTPAGE
Lloh1:
	ldr	x5, [x5, _tps65910_irq_chip@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19, #4]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_dev_warn
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_13
LBB0_8:
Lloh9:
	adrp	x5, _tps65911_irq_chip@GOTPAGE
Lloh10:
	ldr	x5, [x5, _tps65911_irq_chip@GOTPAGEOFF]
LBB0_9:
	adrp	x8, _tps65910_irq_init.tps6591x_irqs_chip@PAGE
	str	x5, [x8, _tps65910_irq_init.tps6591x_irqs_chip@PAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _tps65910_irq_init.tps6591x_irqs_chip@PAGE
Lloh12:
	ldr	x5, [x8, _tps65910_irq_init.tps6591x_irqs_chip@PAGEOFF]
LBB0_11:
	str	w20, [x19]
	ldr	w0, [x19, #4]
	ldr	w1, [x19, #12]
Lloh13:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	ldr	w4, [x21]
	add	x6, x19, #8
	mov	x2, x20
	bl	_devm_regmap_add_irq_chip
	mov	x20, x0
	tbz	w0, #31, LBB0_13
; %bb.12:
	ldr	w0, [x19, #4]
	str	x20, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_warn
	str	wzr, [x19]
LBB0_13:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tps65910_irq_init.tps6591x_irqs_chip,8,3 ; @tps65910_irq_init.tps6591x_irqs_chip
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No interrupt support, no core IRQ\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"No interrupt support, no pdata\n"

	.comm	_tps65910_irq_chip,4,2          ; @tps65910_irq_chip
	.comm	_tps65911_irq_chip,4,2          ; @tps65911_irq_chip
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.2:                               ; @.str.2
	.asciz	"Failed to add irq_chip %d\n"

	.no_dead_strip	_tps65910_irq_init
.subsections_via_symbols
