	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SmpcINTBACK
_SmpcINTBACK:                           ## @SmpcINTBACK
	.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	_SmpcRegs@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movl	$1, (%rcx)
	movq	_SmpcInternalVars@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_SmpcINTBACKPeripheral
	jmp	LBB0_6
LBB0_2:
	movq	8(%rcx), %rdx
	movl	(%rdx), %esi
	andl	$1, %esi
	movl	%esi, 4(%rax)
	jne	LBB0_3
## %bb.4:
	testb	$8, 4(%rdx)
	jne	LBB0_5
## %bb.7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	$1, 8(%rax)
	movl	4(%rdx), %ecx
	shrl	$3, %ecx
	andl	$1, %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	callq	_SmpcINTBACKStatus
	movq	(%rbx), %rax
	movl	(%rax), %eax
	shll	$5, %eax
	orl	$79, %eax
	movq	(%r14), %rcx
	movl	%eax, 16(%rcx)
	jmp	LBB0_6
LBB0_5:
	movl	$1, 8(%rax)
	movl	$1, (%rax)
	movl	$64, 16(%rcx)
	xorl	%eax, %eax
	callq	_SmpcINTBACKPeripheral
	movq	(%r14), %rax
	movq	24(%rax), %rax
	movl	$16, 124(%rax)
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ScuSendSystemManager           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SmpcRegs,8,3                   ## @SmpcRegs
	.comm	_SmpcInternalVars,8,3           ## @SmpcInternalVars
	.no_dead_strip	_SmpcINTBACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SmpcINTBACK
_SmpcINTBACK:                           ; @SmpcINTBACK
	.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
Lloh0:
	adrp	x19, _SmpcRegs@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SmpcRegs@GOTPAGEOFF]
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x20, _SmpcInternalVars@GOTPAGE
Lloh3:
	ldr	x20, [x20, _SmpcInternalVars@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w10, [x9]
	cbz	w10, LBB0_2
; %bb.1:
	bl	_SmpcINTBACKPeripheral
	b	LBB0_7
LBB0_2:
	ldr	x10, [x8, #8]
	ldr	w11, [x10]
	and	w12, w11, #0x1
	str	w12, [x9, #4]
	tbnz	w11, #0, LBB0_5
; %bb.3:
	ldrb	w10, [x10, #4]
	tbnz	w10, #3, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w8, #1
	str	w8, [x9, #8]
	ldr	w8, [x10, #4]
	ubfx	w8, w8, #3, #1
	str	w8, [x9]
	bl	_SmpcINTBACKStatus
	ldr	x8, [x20]
	ldr	w8, [x8]
	mov	w9, #79
	orr	w8, w9, w8, lsl #5
	ldr	x9, [x19]
	str	w8, [x9, #16]
	b	LBB0_7
LBB0_6:
	mov	w10, #1
	str	w10, [x9, #8]
	str	w10, [x9]
	mov	w9, #64
	str	w9, [x8, #16]
	bl	_SmpcINTBACKPeripheral
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
	mov	w9, #16
	str	w9, [x8, #124]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ScuSendSystemManager
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SmpcRegs,8,3                   ; @SmpcRegs
	.comm	_SmpcInternalVars,8,3           ; @SmpcInternalVars
	.no_dead_strip	_SmpcINTBACK
.subsections_via_symbols
