	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edp_voltage_pre_emphasise_set
_edp_voltage_pre_emphasise_set:         ## @edp_voltage_pre_emphasise_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	movq	8(%rdi), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	_vm_pre_emphasis@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	8(%rbx), %rax
	movq	(%rcx,%rax,8), %rdx
	movslq	(%rbx), %rcx
	movl	(%rdx,%rcx,4), %esi
	cmpl	$255, %esi
	je	LBB0_2
## %bb.1:
	movq	_vm_voltage_swing@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	(%rax,%rcx,4), %edx
	cmpl	$255, %edx
	je	LBB0_2
## %bb.3:
	movl	16(%rbx), %edi
	callq	_msm_edp_phy_vm_pe_cfg
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_edp_lane_set_write             ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"v=%d p=%d"

	.comm	_vm_pre_emphasis,8,3            ## @vm_pre_emphasis
	.comm	_vm_voltage_swing,8,3           ## @vm_voltage_swing
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_edp_voltage_pre_emphasise_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edp_voltage_pre_emphasise_set
_edp_voltage_pre_emphasise_set:         ; @edp_voltage_pre_emphasise_set
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x2, x1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
Lloh2:
	adrp	x8, _vm_pre_emphasis@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vm_pre_emphasis@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldp	x10, x9, [x19]
	sbfiz	x9, x9, #3, #32
	ldr	x11, [x8, x9]
	sbfiz	x8, x10, #2, #32
	ldr	w1, [x11, x8]
	cmp	w1, #255
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x10, _vm_voltage_swing@GOTPAGE
Lloh6:
	ldr	x10, [x10, _vm_voltage_swing@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ldr	x9, [x10, x9]
	ldr	w2, [x9, x8]
	cmp	w2, #255
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
	bl	_msm_edp_phy_vm_pe_cfg
	ldp	x2, x1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_edp_lane_set_write
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"v=%d p=%d"

	.comm	_vm_pre_emphasis,8,3            ; @vm_pre_emphasis
	.comm	_vm_voltage_swing,8,3           ; @vm_voltage_swing
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_edp_voltage_pre_emphasise_set
.subsections_via_symbols
