	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function winbond_gpio_configure_port1_check_i2c
_winbond_gpio_configure_port1_check_i2c: ## @winbond_gpio_configure_port1_check_i2c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WB_SIO_REG_I2C_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WB_SIO_REG_I2CPS_I2CFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_winbond_sio_reg_btest
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movq	_params@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WB_SIO_REG_I2C_PS,4,2          ## @WB_SIO_REG_I2C_PS
	.comm	_WB_SIO_REG_I2CPS_I2CFS,4,2     ## @WB_SIO_REG_I2CPS_I2CFS
	.comm	_params,4,2                     ## @params
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disabling GPIO2.5 and GPIO2.6 as I2C is enabled\n"

	.no_dead_strip	_winbond_gpio_configure_port1_check_i2c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function winbond_gpio_configure_port1_check_i2c
_winbond_gpio_configure_port1_check_i2c: ; @winbond_gpio_configure_port1_check_i2c
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _WB_SIO_REG_I2C_PS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WB_SIO_REG_I2C_PS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _WB_SIO_REG_I2CPS_I2CFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WB_SIO_REG_I2CPS_I2CFS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_winbond_sio_reg_btest
	cmp	w0, #0
	cset	w8, eq
Lloh6:
	adrp	x9, _params@GOTPAGE
Lloh7:
	ldr	x9, [x9, _params@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	cbz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_pr_warn
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WB_SIO_REG_I2C_PS,4,2          ; @WB_SIO_REG_I2C_PS
	.comm	_WB_SIO_REG_I2CPS_I2CFS,4,2     ; @WB_SIO_REG_I2CPS_I2CFS
	.comm	_params,4,2                     ; @params
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disabling GPIO2.5 and GPIO2.6 as I2C is enabled\n"

	.no_dead_strip	_winbond_gpio_configure_port1_check_i2c
.subsections_via_symbols
