	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_phys_addr_for_input       ## -- Begin function v4l2_phys_addr_for_input
	.p2align	4, 0x90
_v4l2_phys_addr_for_input:              ## @v4l2_phys_addr_for_input
	.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
	movl	%esi, %ebx
	movl	%edi, %r14d
	testl	%esi, %esi
	sete	%al
	cmpl	$16, %esi
	setge	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	movq	_CEC_PHYS_ADDR_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.3:
	testl	$4095, %r14d                    ## imm = 0xFFF
	je	LBB0_4
## %bb.5:
	testb	%r14b, %r14b
	je	LBB0_6
## %bb.7:
	testb	$15, %r14b
	jne	LBB0_9
## %bb.8:
	orl	%r14d, %ebx
	jmp	LBB0_10
LBB0_2:
	shll	$12, %ebx
	jmp	LBB0_10
LBB0_4:
	shll	$8, %ebx
	orl	%r14d, %ebx
	jmp	LBB0_10
LBB0_6:
	shll	$4, %ebx
	orl	%r14d, %ebx
	jmp	LBB0_10
	.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_phys_addr_for_input       ; -- Begin function v4l2_phys_addr_for_input
	.p2align	2
_v4l2_phys_addr_for_input:              ; @v4l2_phys_addr_for_input
	.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, x1
	mov	x20, x0
	cmp	w1, #0
	ccmp	w1, #15, #0, ne
	cset	w0, gt
	bl	_WARN_ON
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _CEC_PHYS_ADDR_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CEC_PHYS_ADDR_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	cbz	w20, LBB0_8
; %bb.4:
	tst	w20, #0xfff
	b.eq	LBB0_9
; %bb.5:
	tst	w20, #0xff
	b.eq	LBB0_10
; %bb.6:
	tst	w20, #0xf
	b.ne	LBB0_1
; %bb.7:
	orr	w0, w19, w20
	b	LBB0_2
LBB0_8:
	lsl	w0, w19, #12
	b	LBB0_2
LBB0_9:
	orr	w0, w20, w19, lsl #8
	b	LBB0_2
LBB0_10:
	orr	w0, w20, w19, lsl #4
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_PHYS_ADDR_INVALID,4,2      ; @CEC_PHYS_ADDR_INVALID
.subsections_via_symbols
