	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ml86v7667_g_input_status
_ml86v7667_g_input_status:              ## @ml86v7667_g_input_status
	.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	%rsi, %rbx
	callq	_v4l2_get_subdevdata
	movq	_STATUS_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ecx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_STATUS_HLOCK_DETECT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	movl	(%rdx), %esi
	movl	$0, %edx
	andl	%ecx, %esi
	jne	LBB0_4
## %bb.3:
	movq	_V4L2_IN_ST_NO_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_4:
	movl	%edx, (%rbx)
	jmp	LBB0_5
LBB0_1:
	movl	%ecx, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_REG,4,2                 ## @STATUS_REG
	.comm	_STATUS_HLOCK_DETECT,4,2        ## @STATUS_HLOCK_DETECT
	.comm	_V4L2_IN_ST_NO_SIGNAL,4,2       ## @V4L2_IN_ST_NO_SIGNAL
	.no_dead_strip	_ml86v7667_g_input_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ml86v7667_g_input_status
_ml86v7667_g_input_status:              ; @ml86v7667_g_input_status
	.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
	bl	_v4l2_get_subdevdata
Lloh0:
	adrp	x8, _STATUS_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _STATUS_HLOCK_DETECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STATUS_HLOCK_DETECT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _V4L2_IN_ST_NO_SIGNAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_IN_ST_NO_SIGNAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, w9, wzr, eq
	str	w8, [x19]
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_REG,4,2                 ; @STATUS_REG
	.comm	_STATUS_HLOCK_DETECT,4,2        ; @STATUS_HLOCK_DETECT
	.comm	_V4L2_IN_ST_NO_SIGNAL,4,2       ; @V4L2_IN_ST_NO_SIGNAL
	.no_dead_strip	_ml86v7667_g_input_status
.subsections_via_symbols
