	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i801_enable_host_notify
_i801_enable_host_notify:               ## @i801_enable_host_notify
	.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
	callq	_i2c_get_adapdata
	movq	%rax, %rbx
	movq	_FEATURE_HOST_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	_SMBSLVCMD_HST_NTFY_INTREN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%rbx), %r14d
	testl	%eax, %r14d
	jne	LBB0_3
## %bb.2:
	orl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_SMBSLVCMD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_outb_p
LBB0_3:
	movq	_SMBSLVSTS_HST_NTFY_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_SMBSLVSTS
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_outb_p                         ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FEATURE_HOST_NOTIFY,4,2        ## @FEATURE_HOST_NOTIFY
	.comm	_SMBSLVCMD_HST_NTFY_INTREN,4,2  ## @SMBSLVCMD_HST_NTFY_INTREN
	.comm	_SMBSLVSTS_HST_NTFY_STS,4,2     ## @SMBSLVSTS_HST_NTFY_STS
	.no_dead_strip	_i801_enable_host_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i801_enable_host_notify
_i801_enable_host_notify:               ; @i801_enable_host_notify
	.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
	bl	_i2c_get_adapdata
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FEATURE_HOST_NOTIFY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FEATURE_HOST_NOTIFY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _SMBSLVCMD_HST_NTFY_INTREN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMBSLVCMD_HST_NTFY_INTREN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	orr	w20, w9, w8
	mov	x0, x19
	bl	_SMBSLVCMD
	mov	x1, x0
	mov	x0, x20
	bl	_outb_p
LBB0_3:
Lloh6:
	adrp	x8, _SMBSLVSTS_HST_NTFY_STS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SMBSLVSTS_HST_NTFY_STS@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_SMBSLVSTS
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outb_p
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FEATURE_HOST_NOTIFY,4,2        ; @FEATURE_HOST_NOTIFY
	.comm	_SMBSLVCMD_HST_NTFY_INTREN,4,2  ; @SMBSLVCMD_HST_NTFY_INTREN
	.comm	_SMBSLVSTS_HST_NTFY_STS,4,2     ; @SMBSLVSTS_HST_NTFY_STS
	.no_dead_strip	_i801_enable_host_notify
.subsections_via_symbols
