	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5h1420_i2c_gate_ctrl
_s5h1420_i2c_gate_ctrl:                 ## @s5h1420_i2c_gate_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movl	(%rdi), %edx
	movl	%edx, %eax
	andl	$254, %eax
	orl	$1, %edx
	testl	%esi, %esi
	cmovel	%eax, %edx
	movl	$2, %esi
	popq	%rbp
	jmp	_s5h1420_writereg               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_s5h1420_i2c_gate_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5h1420_i2c_gate_ctrl
_s5h1420_i2c_gate_ctrl:                 ; @s5h1420_i2c_gate_ctrl
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
	ldr	w8, [x0]
	and	w9, w8, #0xfe
	orr	w8, w8, #0x1
	cmp	w1, #0
	csel	w2, w9, w8, eq
	mov	w1, #2
	b	_s5h1420_writereg
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_s5h1420_i2c_gate_ctrl
.subsections_via_symbols
