	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmbus_is_index_xfer
_gmbus_is_index_xfer:                   ## @gmbus_is_index_xfer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	1(%rsi), %ecx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	jge	LBB0_5
## %bb.1:
	movslq	%esi, %rdx
	shlq	$4, %rdx
	movq	(%rdi,%rdx), %rsi
	movslq	%ecx, %rcx
	shlq	$4, %rcx
	cmpq	(%rdi,%rcx), %rsi
	jne	LBB0_5
## %bb.2:
	movq	_I2C_M_RD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 8(%rdi,%rdx)
	je	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movl	12(%rdi,%rdx), %edx
	decl	%edx
	cmpl	$1, %edx
	ja	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	cmpl	$0, 12(%rdi,%rcx)
	setg	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.no_dead_strip	_gmbus_is_index_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmbus_is_index_xfer
_gmbus_is_index_xfer:                   ; @gmbus_is_index_xfer
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x9, w1
	add	x8, x9, #1
	cmp	w8, w2
	b.ge	LBB0_5
; %bb.1:
	lsl	x10, x9, #4
	ldr	x10, [x0, x10]
	lsl	x11, x8, #4
	ldr	x11, [x0, x11]
	cmp	x10, x11
	b.ne	LBB0_5
; %bb.2:
	add	x9, x0, x9, lsl #4
	ldr	w10, [x9, #8]
Lloh0:
	adrp	x11, _I2C_M_RD@GOTPAGE
Lloh1:
	ldr	x11, [x11, _I2C_M_RD@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_5
; %bb.3:
	ldr	w9, [x9, #12]
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_5
; %bb.4:
	add	x8, x0, x8, lsl #4
	ldr	w8, [x8, #12]
	cmp	w8, #0
	cset	w0, gt
	ret
LBB0_5:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.no_dead_strip	_gmbus_is_index_xfer
.subsections_via_symbols
