	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pms_i2c_read
_pms_i2c_read:                          ## @pms_i2c_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_i2c_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movq	_i2cinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rax,%rcx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, 4(%rax,%rcx)
	jne	LBB0_5
## %bb.4:
	movl	8(%rax,%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i2c_count,4,2                  ## @i2c_count
	.comm	_i2cinfo,8,3                    ## @i2cinfo
	.no_dead_strip	_pms_i2c_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pms_i2c_read
_pms_i2c_read:                          ; @pms_i2c_read
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _i2c_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i2c_count@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x9, _i2cinfo@GOTPAGE
Lloh4:
	ldr	x9, [x9, _i2cinfo@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #12
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-8]
	cmp	w10, w0
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w1
	b.ne	LBB0_2
; %bb.5:
	ldr	w0, [x9]
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_i2c_count,4,2                  ; @i2c_count
	.comm	_i2cinfo,8,3                    ; @i2cinfo
	.no_dead_strip	_pms_i2c_read
.subsections_via_symbols
