	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_get_edid_phys_addr        ## -- Begin function v4l2_get_edid_phys_addr
	.p2align	4, 0x90
_v4l2_get_edid_phys_addr:               ## @v4l2_get_edid_phys_addr
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	callq	_cec_get_edid_spa_location
                                        ## kill: def $eax killed $eax def $rax
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	%eax, (%rbx)
LBB0_2:
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ecx
	movl	(%r14,%rcx,4), %ecx
	shll	$8, %ecx
	incl	%eax
	orl	(%r14,%rax,4), %ecx
	jmp	LBB0_5
LBB0_3:
	movq	_CEC_PHYS_ADDR_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_5:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_PHYS_ADDR_INVALID,4,2      ## @CEC_PHYS_ADDR_INVALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_get_edid_phys_addr        ; -- Begin function v4l2_get_edid_phys_addr
	.p2align	2
_v4l2_get_edid_phys_addr:               ; @v4l2_get_edid_phys_addr
	.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	x20, x2
	mov	x19, x0
	bl	_cec_get_edid_spa_location
	cbz	x20, LBB0_2
; %bb.1:
	str	w0, [x20]
LBB0_2:
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19, w0, uxtw #2]
	add	w9, w0, #1
	ldr	w9, [x19, w9, uxtw #2]
	orr	w0, w9, w8, lsl #8
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _CEC_PHYS_ADDR_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CEC_PHYS_ADDR_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_PHYS_ADDR_INVALID,4,2      ; @CEC_PHYS_ADDR_INVALID
.subsections_via_symbols
