	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_i2c_submit_command_hw      ## -- Begin function dce_i2c_submit_command_hw
	.p2align	4, 0x90
_dce_i2c_submit_command_hw:             ## @dce_i2c_submit_command_hw
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %r14
	movl	16(%rdx), %esi
	movq	%rcx, %rdi
	callq	_set_speed
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%eax
	xorl	%edx, %edx
	cmpq	%rax, %rbx
	setne	%dl
	movq	8(%r12), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_dce_i2c_hw_engine_submit_payload
	incq	%rbx
	addq	$4, %r13
	testl	%eax, %eax
	jne	LBB0_1
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_2:
	movl	$1, %ebx
LBB0_5:
	movl	$0, (%r14)
	movq	%r15, %rdi
	callq	_release_engine
	movq	(%r15), %rdi
	callq	_dal_ddc_close
	movq	$0, (%r15)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_i2c_submit_command_hw      ; -- Begin function dce_i2c_submit_command_hw
	.p2align	2
_dce_i2c_submit_command_hw:             ; @dce_i2c_submit_command_hw
	.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	x19, x3
	mov	x21, x2
	mov	x20, x0
	ldr	w1, [x2, #16]
	mov	x0, x3
	bl	_set_speed
	mov	x22, #0
	mov	x23, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w8, w8, #1
	cmp	x23, x8
	cset	w2, ne
	ldr	x8, [x21, #8]
	add	x1, x8, x22
	mov	x0, x19
	bl	_dce_i2c_hw_engine_submit_payload
	add	x23, x23, #1
	add	x22, x22, #4
	cbnz	w0, LBB0_1
; %bb.3:
	mov	w21, #0
	b	LBB0_5
LBB0_4:
	mov	w21, #1
LBB0_5:
	str	wzr, [x20]
	mov	x0, x19
	bl	_release_engine
	ldr	x0, [x19]
	bl	_dal_ddc_close
	str	xzr, [x19]
	mov	x0, x21
	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
.subsections_via_symbols
