	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tps65912_device_init           ## -- Begin function tps65912_device_init
	.p2align	4, 0x90
_tps65912_device_init:                  ## @tps65912_device_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	%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
	movq	%rdi, %rbx
	movl	4(%rdi), %esi
	movl	12(%rdi), %edi
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_tps65912_irq_chip@GOTPCREL(%rip), %r8
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_regmap_add_irq_chip
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %r14d
	movq	_PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_tps65912_cells@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_regmap_irq_get_domain
	movl	%eax, (%rsp)
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mfd_add_devices
	movl	%eax, %r14d
	movl	$0, %eax
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_regmap_del_irq_chip
	movl	%r14d, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_tps65912_irq_chip,4,2          ## @tps65912_irq_chip
	.comm	_PLATFORM_DEVID_AUTO,4,2        ## @PLATFORM_DEVID_AUTO
	.comm	_tps65912_cells,4,2             ## @tps65912_cells
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tps65912_device_init           ; -- Begin function tps65912_device_init
	.p2align	2
_tps65912_device_init:                  ; @tps65912_device_init
	.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
	mov	x19, x0
	ldr	w0, [x0, #12]
	ldr	w1, [x19, #4]
Lloh0:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x4, _tps65912_irq_chip@GOTPAGE
Lloh4:
	ldr	x4, [x4, _tps65912_irq_chip@GOTPAGEOFF]
	mov	w3, #0
	mov	x5, x19
	bl	_regmap_add_irq_chip
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w20, [x19, #8]
Lloh5:
	adrp	x8, _PLATFORM_DEVID_AUTO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x8, _tps65912_cells@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tps65912_cells@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x23, x0
	ldr	w0, [x19]
	bl	_regmap_irq_get_domain
	mov	x6, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, #0
	mov	w5, #0
	bl	_mfd_add_devices
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.2:
	ldp	w1, w0, [x19]
	bl	_regmap_del_irq_chip
LBB0_3:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_tps65912_irq_chip,4,2          ; @tps65912_irq_chip
	.comm	_PLATFORM_DEVID_AUTO,4,2        ; @PLATFORM_DEVID_AUTO
	.comm	_tps65912_cells,4,2             ; @tps65912_cells
.subsections_via_symbols
