	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm2_int_reg5
_pm2_int_reg5:                          ## @pm2_int_reg5
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_PM2XXX_INT6_ITVPWR2DROP@GOTPCREL(%rip), %rax
	movq	_PM2XXX_INT6_ITVPWR1DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%esi, %ecx
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
LBB0_2:
	movq	_PM2XXX_INT6_ITVPWR2VALIDRISE@GOTPCREL(%rip), %rax
	movq	_PM2XXX_INT6_ITVPWR1VALIDRISE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PM2XXX_INT6_ITVPWR2VALIDFALL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PM2XXX_INT6_ITVPWR1VALIDFALL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PM2XXX_INT6_ITVPWR2DROP,4,2    ## @PM2XXX_INT6_ITVPWR2DROP
	.comm	_PM2XXX_INT6_ITVPWR1DROP,4,2    ## @PM2XXX_INT6_ITVPWR1DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VMPWR drop to VBAT level\n"

	.comm	_PM2XXX_INT6_ITVPWR2VALIDRISE,4,2 ## @PM2XXX_INT6_ITVPWR2VALIDRISE
	.comm	_PM2XXX_INT6_ITVPWR1VALIDRISE,4,2 ## @PM2XXX_INT6_ITVPWR1VALIDRISE
	.comm	_PM2XXX_INT6_ITVPWR2VALIDFALL,4,2 ## @PM2XXX_INT6_ITVPWR2VALIDFALL
	.comm	_PM2XXX_INT6_ITVPWR1VALIDFALL,4,2 ## @PM2XXX_INT6_ITVPWR1VALIDFALL
L_.str.1:                               ## @.str.1
	.asciz	"Falling/Rising edge on WPWR1/2\n"

	.no_dead_strip	_pm2_int_reg5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm2_int_reg5
_pm2_int_reg5:                          ; @pm2_int_reg5
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PM2XXX_INT6_ITVPWR2DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PM2XXX_INT6_ITVPWR2DROP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PM2XXX_INT6_ITVPWR1DROP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PM2XXX_INT6_ITVPWR1DROP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_2:
Lloh8:
	adrp	x8, _PM2XXX_INT6_ITVPWR2VALIDRISE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PM2XXX_INT6_ITVPWR2VALIDRISE@GOTPAGEOFF]
Lloh10:
	adrp	x9, _PM2XXX_INT6_ITVPWR1VALIDRISE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PM2XXX_INT6_ITVPWR1VALIDRISE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _PM2XXX_INT6_ITVPWR2VALIDFALL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PM2XXX_INT6_ITVPWR2VALIDFALL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _PM2XXX_INT6_ITVPWR1VALIDFALL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PM2XXX_INT6_ITVPWR1VALIDFALL@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PM2XXX_INT6_ITVPWR2DROP,4,2    ; @PM2XXX_INT6_ITVPWR2DROP
	.comm	_PM2XXX_INT6_ITVPWR1DROP,4,2    ; @PM2XXX_INT6_ITVPWR1DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VMPWR drop to VBAT level\n"

	.comm	_PM2XXX_INT6_ITVPWR2VALIDRISE,4,2 ; @PM2XXX_INT6_ITVPWR2VALIDRISE
	.comm	_PM2XXX_INT6_ITVPWR1VALIDRISE,4,2 ; @PM2XXX_INT6_ITVPWR1VALIDRISE
	.comm	_PM2XXX_INT6_ITVPWR2VALIDFALL,4,2 ; @PM2XXX_INT6_ITVPWR2VALIDFALL
	.comm	_PM2XXX_INT6_ITVPWR1VALIDFALL,4,2 ; @PM2XXX_INT6_ITVPWR1VALIDFALL
l_.str.1:                               ; @.str.1
	.asciz	"Falling/Rising edge on WPWR1/2\n"

	.no_dead_strip	_pm2_int_reg5
.subsections_via_symbols
