	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_ddc_i2c_payloads_add       ## -- Begin function dal_ddc_i2c_payloads_add
	.p2align	4, 0x90
_dal_ddc_i2c_payloads_add:              ## @dal_ddc_i2c_payloads_add
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	jle	LBB0_3
## %bb.1:
	movl	%r8d, %r13d
	movq	%rcx, %rbx
	movq	_EDID_SEGMENT_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, -112(%rbp)
	movq	%rsi, -104(%rbp)
	movq	%rbx, -96(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_DDC_MIN
	movl	%eax, -88(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-112(%rbp), %rsi
	callq	_dal_vector_append
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	addq	%r14, %r12
	subq	%r14, %r15
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jl	LBB0_2
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDID_SEGMENT_SIZE,8,3          ## @EDID_SEGMENT_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_ddc_i2c_payloads_add       ; -- Begin function dal_ddc_i2c_payloads_add
	.p2align	2
_dal_ddc_i2c_payloads_add:              ; @dal_ddc_i2c_payloads_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	x2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x26, #0
Lloh0:
	adrp	x8, _EDID_SEGMENT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDID_SEGMENT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	lsl	x27, x24, #2
	mov	x25, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w19, [sp]
	stp	x22, x20, [sp, #8]
	mov	x0, x24
	mov	x1, x25
	bl	_DDC_MIN
	str	w0, [sp, #24]
	mov	x1, sp
	mov	x0, x23
	bl	_dal_vector_append
	sub	x25, x25, x24
	add	x20, x20, x27
	add	x26, x26, x24
	cmp	x26, x21
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EDID_SEGMENT_SIZE,8,3          ; @EDID_SEGMENT_SIZE
.subsections_via_symbols
