	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_chip_ident
_vidioc_g_chip_ident:                   ## @vidioc_g_chip_ident
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movq	(%rsi), %rdi
	movq	_V4L2_IDENT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movq	$0, 24(%rdx)
	movq	8(%rdx), %rax
	movq	_V4L2_CHIP_MATCH_HOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 16(%r8)
	je	LBB0_2
LBB0_3:
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_chip_ident@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	popq	%rbp
	jmp	_v4l2_device_call_until_err     ## TAILCALL
LBB0_2:
	movq	_V4L2_IDENT_SAA7146@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_IDENT_NONE,4,2            ## @V4L2_IDENT_NONE
	.comm	_V4L2_CHIP_MATCH_HOST,8,3       ## @V4L2_CHIP_MATCH_HOST
	.comm	_V4L2_IDENT_SAA7146,4,2         ## @V4L2_IDENT_SAA7146
	.comm	_core,4,2                       ## @core
	.comm	_g_chip_ident,4,2               ## @g_chip_ident
	.no_dead_strip	_vidioc_g_chip_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_g_chip_ident
_vidioc_g_chip_ident:                   ; @vidioc_g_chip_ident
	.cfi_startproc
; %bb.0:
	mov	x4, x2
	ldr	x0, [x1]
Lloh0:
	adrp	x8, _V4L2_IDENT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_IDENT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2]
	str	xzr, [x2, #24]
	ldr	x8, [x2, #8]
Lloh3:
	adrp	x9, _V4L2_CHIP_MATCH_HOST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_CHIP_MATCH_HOST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x4, #16]
	cbz	w8, LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _core@GOTPAGE
Lloh7:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _g_chip_ident@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_chip_ident@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	w1, #0
	b	_v4l2_device_call_until_err
LBB0_3:
Lloh12:
	adrp	x8, _V4L2_IDENT_SAA7146@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_IDENT_SAA7146@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x4]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_IDENT_NONE,4,2            ; @V4L2_IDENT_NONE
	.comm	_V4L2_CHIP_MATCH_HOST,8,3       ; @V4L2_CHIP_MATCH_HOST
	.comm	_V4L2_IDENT_SAA7146,4,2         ; @V4L2_IDENT_SAA7146
	.comm	_core,4,2                       ; @core
	.comm	_g_chip_ident,4,2               ; @g_chip_ident
	.no_dead_strip	_vidioc_g_chip_ident
.subsections_via_symbols
