	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvo_awg_configure
_dvo_awg_configure:                     ## @dvo_awg_configure
	.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
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.1:
	movl	%r13d, %r12d
	shlq	$2, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx), %edi
	movq	(%r14), %rsi
	movq	_DVO_DIGSYNC_INSTR_I@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	addq	%rbx, %rsi
	callq	_writel
	addq	$4, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_2
LBB0_3:
	movq	_AWG_MAX_INST@GOTPCREL(%rip), %r15
	cmpl	%r13d, (%r15)
	jle	LBB0_6
## %bb.4:
	movslq	%r13d, %r12
	shll	$2, %r13d
	movq	_DVO_DIGSYNC_INSTR_I@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %r13
	movq	(%r14), %rsi
	addq	%r13, %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	incq	%r12
	movslq	(%r15), %rax
	addl	$4, %r13d
	cmpq	%rax, %r12
	jl	LBB0_5
LBB0_6:
	movq	_DVO_AWG_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DVO_AWG_DIGSYNC_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_DVO_DIGSYNC_INSTR_I,8,3        ## @DVO_DIGSYNC_INSTR_I
	.comm	_AWG_MAX_INST,4,2               ## @AWG_MAX_INST
	.comm	_DVO_AWG_CTRL_EN,4,2            ## @DVO_AWG_CTRL_EN
	.comm	_DVO_AWG_DIGSYNC_CTRL,8,3       ## @DVO_AWG_DIGSYNC_CTRL
	.no_dead_strip	_dvo_awg_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvo_awg_configure
_dvo_awg_configure:                     ; @dvo_awg_configure
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
Lloh2:
	adrp	x22, _DVO_DIGSYNC_INSTR_I@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DVO_DIGSYNC_INSTR_I@GOTPAGEOFF]
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	w8, w20
	lsl	x24, x8, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, x23]
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x8, x8, x9
	add	x1, x23, x8
	bl	_writel
	add	x23, x23, #4
	cmp	x24, x23
	b.ne	LBB0_2
LBB0_3:
Lloh4:
	adrp	x21, _AWG_MAX_INST@GOTPAGE
Lloh5:
	ldr	x21, [x21, _AWG_MAX_INST@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w20
	b.le	LBB0_6
; %bb.4:
	sxtw	x23, w20
	lsl	w20, w20, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x8, x8, w20, sxtw
	add	x1, x8, x9
	mov	w0, #0
	bl	_writel
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	w20, w20, #4
	cmp	x23, x8
	b.lt	LBB0_5
LBB0_6:
Lloh6:
	adrp	x8, _DVO_AWG_CTRL_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DVO_AWG_CTRL_EN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _DVO_AWG_DIGSYNC_CTRL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DVO_AWG_DIGSYNC_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	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
	b	_writel
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_DVO_DIGSYNC_INSTR_I,8,3        ; @DVO_DIGSYNC_INSTR_I
	.comm	_AWG_MAX_INST,4,2               ; @AWG_MAX_INST
	.comm	_DVO_AWG_CTRL_EN,4,2            ; @DVO_AWG_CTRL_EN
	.comm	_DVO_AWG_DIGSYNC_CTRL,8,3       ; @DVO_AWG_DIGSYNC_CTRL
	.no_dead_strip	_dvo_awg_configure
.subsections_via_symbols
