	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp_set_training_pattern
_dp_set_training_pattern:               ## @dp_set_training_pattern
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	16(%rbx), %rax
	movl	12(%rbx), %edi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movl	%r14d, %ecx
	callq	*(%rax)
	movl	(%rbx), %edi
	movq	_DPCD_LC02@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %r15
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_nv_rdaux
	movq	_DPCD_LC02_TRAINING_PATTERN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-36(%rbp), %eax
	orl	%r14d, %eax
	movl	%eax, -36(%rbp)
	movl	(%rbx), %edi
	movl	(%r12), %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_nv_wraux
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"training pattern %d\n"

	.comm	_DPCD_LC02,4,2                  ## @DPCD_LC02
	.comm	_DPCD_LC02_TRAINING_PATTERN_SET,4,2 ## @DPCD_LC02_TRAINING_PATTERN_SET
	.no_dead_strip	_dp_set_training_pattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp_set_training_pattern
_dp_set_training_pattern:               ; @dp_set_training_pattern
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldp	w1, w0, [x20, #8]
	ldr	w2, [x20, #4]
	mov	x3, x19
	blr	x8
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _DPCD_LC02@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DPCD_LC02@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	w3, #1
	bl	_nv_rdaux
Lloh4:
	adrp	x8, _DPCD_LC02_TRAINING_PATTERN_SET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DPCD_LC02_TRAINING_PATTERN_SET@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	orr	w8, w8, w19
	str	w8, [sp, #12]
	ldr	w0, [x20]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	w3, #1
	bl	_nv_wraux
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"training pattern %d\n"

	.comm	_DPCD_LC02,4,2                  ; @DPCD_LC02
	.comm	_DPCD_LC02_TRAINING_PATTERN_SET,4,2 ; @DPCD_LC02_TRAINING_PATTERN_SET
	.no_dead_strip	_dp_set_training_pattern
.subsections_via_symbols
