	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_hides_smbus_lpc
_asus_hides_smbus_lpc:                  ## @asus_hides_smbus_lpc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_asus_hides_smbus@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$242, %esi
	callq	_pci_read_config_word
	movl	-12(%rbp), %edx
	testb	$8, %dl
	je	LBB0_5
## %bb.2:
	andl	$-9, %edx
	movq	%rbx, %rdi
	movl	$242, %esi
	callq	_pci_write_config_word
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$242, %esi
	callq	_pci_read_config_word
	movl	-12(%rbp), %edx
	testb	$8, %dl
	jne	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_pci_info
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_pci_info
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_asus_hides_smbus,4,2           ## @asus_hides_smbus
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i801 SMBus device continues to play 'hide and seek'! 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Enabled i801 SMBus device\n"

	.no_dead_strip	_asus_hides_smbus_lpc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_hides_smbus_lpc
_asus_hides_smbus_lpc:                  ; @asus_hides_smbus_lpc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _asus_hides_smbus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _asus_hides_smbus@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_6
; %bb.1:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #242
	bl	_pci_read_config_word
	ldr	w8, [sp, #12]
	tbz	w8, #3, LBB0_6
; %bb.2:
	and	w2, w8, #0xfffffff7
	mov	x0, x19
	mov	w1, #242
	bl	_pci_write_config_word
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #242
	bl	_pci_read_config_word
	ldr	w8, [sp, #12]
	tbnz	w8, #3, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_pci_info
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_asus_hides_smbus,4,2           ; @asus_hides_smbus
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i801 SMBus device continues to play 'hide and seek'! 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Enabled i801 SMBus device\n"

	.no_dead_strip	_asus_hides_smbus_lpc
.subsections_via_symbols
