	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm2_int_reg2
_pm2_int_reg2:                          ## @pm2_int_reg2
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_PM2XXX_INT3_ITAUTOTIMEOUTWD@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_pm2xxx_charger_wd_exp_mngt
	movl	%eax, %r15d
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	_PM2XXX_INT3_ITCHPRECHARGEWD@GOTPCREL(%rip), %rax
	movq	_PM2XXX_INT3_ITCHCCWD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PM2XXX_INT3_ITCHCVWD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PM2XXX_INT3_ITAUTOTIMEOUTWD,4,2 ## @PM2XXX_INT3_ITAUTOTIMEOUTWD
	.comm	_PM2XXX_INT3_ITCHPRECHARGEWD,4,2 ## @PM2XXX_INT3_ITCHPRECHARGEWD
	.comm	_PM2XXX_INT3_ITCHCCWD,4,2       ## @PM2XXX_INT3_ITCHCCWD
	.comm	_PM2XXX_INT3_ITCHCVWD,4,2       ## @PM2XXX_INT3_ITCHCVWD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Watchdog occurred for precharge, CC and CV charge\n"

	.no_dead_strip	_pm2_int_reg2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm2_int_reg2
_pm2_int_reg2:                          ; @pm2_int_reg2
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PM2XXX_INT3_ITAUTOTIMEOUTWD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PM2XXX_INT3_ITAUTOTIMEOUTWD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_pm2xxx_charger_wd_exp_mngt
	mov	x21, x0
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
Lloh3:
	adrp	x8, _PM2XXX_INT3_ITCHPRECHARGEWD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PM2XXX_INT3_ITCHPRECHARGEWD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PM2XXX_INT3_ITCHCCWD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PM2XXX_INT3_ITCHCCWD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _PM2XXX_INT3_ITCHCVWD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PM2XXX_INT3_ITCHCVWD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PM2XXX_INT3_ITAUTOTIMEOUTWD,4,2 ; @PM2XXX_INT3_ITAUTOTIMEOUTWD
	.comm	_PM2XXX_INT3_ITCHPRECHARGEWD,4,2 ; @PM2XXX_INT3_ITCHPRECHARGEWD
	.comm	_PM2XXX_INT3_ITCHCCWD,4,2       ; @PM2XXX_INT3_ITCHCCWD
	.comm	_PM2XXX_INT3_ITCHCVWD,4,2       ; @PM2XXX_INT3_ITCHCVWD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Watchdog occurred for precharge, CC and CV charge\n"

	.no_dead_strip	_pm2_int_reg2
.subsections_via_symbols
