	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dibx000_i2c_gate_ctrl
_dibx000_i2c_gate_ctrl:                 ## @dibx000_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
	shll	$8, %edx
	testl	%ecx, %ecx
	movl	$128, %eax
	cmovnel	%edx, %eax
	movq	(%rdi), %rcx
	movq	_DIB7000@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	setg	%cl
	shll	%cl, %eax
	movl	8(%rdi), %ecx
	incl	%ecx
	movzbl	%ch, %ecx
	movl	%ecx, (%rsi)
	movl	8(%rdi), %ecx
	incl	%ecx
	movzbl	%cl, %ecx
	movl	%ecx, 4(%rsi)
	movzbl	%al, %ecx
	sarl	$8, %eax
	movl	%eax, 8(%rsi)
	movl	%ecx, 12(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIB7000,8,3                    ## @DIB7000
	.no_dead_strip	_dibx000_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 dibx000_i2c_gate_ctrl
_dibx000_i2c_gate_ctrl:                 ; @dibx000_i2c_gate_ctrl
	.cfi_startproc
; %bb.0:
	lsl	w8, w2, #8
	mov	w9, #128
	cmp	w3, #0
	csel	w8, w9, w8, eq
Lloh0:
	adrp	x9, _DIB7000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DIB7000@GOTPAGEOFF]
	ldr	x10, [x0]
Lloh2:
	ldr	x9, [x9]
	cmp	x10, x9
	cset	w9, gt
	lsl	w8, w8, w9
	ldr	w9, [x0, #8]
	add	w9, w9, #1
	ubfx	w9, w9, #8, #8
	str	w9, [x1]
	ldr	w9, [x0, #8]
	add	w9, w9, #1
	and	w9, w9, #0xff
	asr	w10, w8, #8
	stp	w9, w10, [x1, #4]
	and	w8, w8, #0x80
	str	w8, [x1, #12]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIB7000,8,3                    ; @DIB7000
	.no_dead_strip	_dibx000_i2c_gate_ctrl
.subsections_via_symbols
