	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxcpld_i2c_lpc_read_buf
_mlxcpld_i2c_lpc_read_buf:              ## @mlxcpld_i2c_lpc_read_buf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	3(%r14), %r13d
	testl	%esi, %esi
	cmovnsl	%esi, %r13d
	xorl	%ebx, %ebx
	andl	$-4, %r13d
	jle	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rdi
	callq	_inl
	movq	%rax, (%r15,%rbx,4)
	addq	$4, %rbx
	cmpl	%ebx, %r13d
	jg	LBB0_5
LBB0_1:
	cmpl	%r14d, %ebx
	jge	LBB0_4
## %bb.2:
	movl	%ebx, %eax
	leaq	(%r15,%rax,4), %r15
	addq	%rax, %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_inb
	movl	%eax, (%r15)
	addq	$4, %r15
	incq	%r12
	incl	%ebx
	cmpl	%r14d, %ebx
	jl	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxcpld_i2c_lpc_read_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxcpld_i2c_lpc_read_buf
_mlxcpld_i2c_lpc_read_buf:              ; @mlxcpld_i2c_lpc_read_buf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	negs	w8, w1
	and	w8, w8, #0x3
	and	w9, w1, #0x3
	csneg	w8, w9, w8, mi
	sub	w23, w1, w8
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x24, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, x22
	bl	_inl
	str	x0, [x24], #16
	add	x22, x22, #4
	cmp	w23, w22
	b.gt	LBB0_2
; %bb.3:
	cmp	w22, w19
	b.lt	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w22, #0
	cmp	w22, w19
	b.ge	LBB0_7
LBB0_5:
	add	x21, x21, w22, uxtw #2
	add	x20, x20, w22, uxtw
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_inb
	str	w0, [x21], #4
	add	x20, x20, #1
	add	w22, w22, #1
	cmp	w22, w19
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxcpld_i2c_lpc_read_buf
.subsections_via_symbols
