	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_copy_i2c_addr_list
_pvr2_copy_i2c_addr_list:               ## @pvr2_copy_i2c_addr_list
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rsi), %cl
	xorl	%eax, %eax
	testb	%cl, %cl
	je	LBB0_7
## %bb.3:
	cmpl	$2, %edx
	jb	LBB0_7
## %bb.4:
	movl	%edx, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %eax
	movw	%ax, (%rdi,%rdx,2)
	movzbl	1(%rsi,%rdx), %ecx
	leaq	1(%rdx), %rax
	testb	%cl, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdx
	cmpq	%r8, %rdx
	movq	%rax, %rdx
	jb	LBB0_5
LBB0_7:
	movl	%eax, %ecx
	movq	_I2C_CLIENT_END@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	movw	%dx, (%rdi,%rcx,2)
	popq	%rbp
                                        ## kill: def $eax killed $eax killed $rax
	retq
LBB0_1:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_CLIENT_END,2,1             ## @I2C_CLIENT_END
	.no_dead_strip	_pvr2_copy_i2c_addr_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_copy_i2c_addr_list
_pvr2_copy_i2c_addr_list:               ; @pvr2_copy_i2c_addr_list
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
	ldrb	w9, [x1]
	cmp	w9, #0
	ccmp	w2, #2, #0, ne
	b.hs	LBB0_4
; %bb.2:
	mov	w8, #0
	b	LBB0_6
LBB0_3:
	mov	w8, #0
	mov	x0, x8
	ret
LBB0_4:
	mov	x8, #0
	mov	w10, w2
	add	x11, x1, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	and	w9, w9, #0xff
	strh	w9, [x0, x8, lsl #1]
	ldrb	w9, [x11, x8]
	add	x12, x8, #2
	add	x8, x8, #1
	cmp	w9, #0
	ccmp	x12, x10, #2, ne
	b.lo	LBB0_5
LBB0_6:
Lloh0:
	adrp	x9, _I2C_CLIENT_END@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_CLIENT_END@GOTPAGEOFF]
	ldrh	w9, [x9]
	strh	w9, [x0, w8, uxtw #1]
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_CLIENT_END,2,1             ; @I2C_CLIENT_END
	.no_dead_strip	_pvr2_copy_i2c_addr_list
.subsections_via_symbols
