	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp_link_train_init
_dp_link_train_init:                    ## @dp_link_train_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$1, -40(%rbp)
	movl	8(%rdi), %eax
	movl	%eax, -32(%rbp)
	movl	12(%rdi), %eax
	movl	%eax, -28(%rbp)
	movl	16(%rdi), %edi
	callq	_nouveau_bios
	movl	%eax, -24(%rbp)
	movl	16(%rbx), %edi
	callq	_nv_subdev
	movl	%eax, -20(%rbp)
	xorl	%eax, %eax
	testl	%r14d, %r14d
	sete	%al
	movq	(%rbx), %rcx
	movl	8(%rcx,%rax,4), %eax
	movl	%eax, -36(%rbp)
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	callq	_nvbios_exec
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	%r14, %rdi
	callq	_nvbios_exec
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dp_link_train_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp_link_train_init
_dp_link_train_init:                    ; @dp_link_train_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	mov	w8, #1
	str	w8, [sp, #8]
	ldr	d0, [x0, #8]
	str	d0, [sp, #16]
	ldr	w0, [x0, #16]
	bl	_nouveau_bios
	str	w0, [sp, #24]
	ldr	w0, [x20, #16]
	bl	_nv_subdev
	str	w0, [sp, #28]
	ldr	x8, [x20]
	cmp	w19, #0
	mov	w9, #8
	mov	w10, #12
	csel	x9, x10, x9, eq
	ldr	w8, [x8, x9]
	str	w8, [sp, #12]
	add	x0, sp, #8
	bl	_nvbios_exec
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x0, sp, #8
	bl	_nvbios_exec
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dp_link_train_init
.subsections_via_symbols
