	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx25840_querystd
_cx25840_querystd:                      ## @cx25840_querystd
	.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	%rsi, %r14
	callq	_v4l2_get_subdevdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$1036, %esi                     ## imm = 0x40C
	callq	_cx25840_read4
                                        ## kill: def $eax killed $eax def $rax
	shrl	$8, %eax
	andl	$15, %eax
	leaq	_cx25840_querystd.stds(%rip), %rcx
	movq	(%rcx,%rax,8), %r9
	movq	%r9, (%r14)
	movq	_cx25840_debug@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%rbx, %rdx
	movq	%rax, %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_v4l_dbg
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @cx25840_querystd.stds
_cx25840_querystd.stds:
	.quad	128                             ## 0x80
	.quad	136                             ## 0x88
	.quad	135                             ## 0x87
	.quad	137                             ## 0x89
	.quad	134                             ## 0x86
	.quad	132                             ## 0x84
	.quad	131                             ## 0x83
	.quad	130                             ## 0x82
	.quad	133                             ## 0x85
	.quad	128                             ## 0x80
	.quad	128                             ## 0x80
	.quad	128                             ## 0x80
	.quad	129                             ## 0x81
	.quad	128                             ## 0x80
	.quad	128                             ## 0x80
	.quad	128                             ## 0x80

	.comm	_cx25840_debug,4,2              ## @cx25840_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"querystd fmt = %x, v4l2_std_id = 0x%x\n"

	.no_dead_strip	_cx25840_querystd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx25840_querystd
_cx25840_querystd:                      ; @cx25840_querystd
	.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
	mov	x20, x0
	mov	w1, #1036
	bl	_cx25840_read4
	ubfx	w4, w0, #8, #4
Lloh0:
	adrp	x8, _cx25840_querystd.stds@PAGE
Lloh1:
	add	x8, x8, _cx25840_querystd.stds@PAGEOFF
	ldr	x5, [x8, w4, uxtw #3]
	str	x5, [x19]
Lloh2:
	adrp	x8, _cx25840_debug@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cx25840_debug@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x20
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_v4l_dbg
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @cx25840_querystd.stds
_cx25840_querystd.stds:
	.quad	128                             ; 0x80
	.quad	136                             ; 0x88
	.quad	135                             ; 0x87
	.quad	137                             ; 0x89
	.quad	134                             ; 0x86
	.quad	132                             ; 0x84
	.quad	131                             ; 0x83
	.quad	130                             ; 0x82
	.quad	133                             ; 0x85
	.quad	128                             ; 0x80
	.quad	128                             ; 0x80
	.quad	128                             ; 0x80
	.quad	129                             ; 0x81
	.quad	128                             ; 0x80
	.quad	128                             ; 0x80
	.quad	128                             ; 0x80

	.comm	_cx25840_debug,4,2              ; @cx25840_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"querystd fmt = %x, v4l2_std_id = 0x%x\n"

	.no_dead_strip	_cx25840_querystd
.subsections_via_symbols
