	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zr364xx_vidioc_queryctrl
_zr364xx_vidioc_queryctrl:              ## @zr364xx_vidioc_queryctrl
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	callq	_video_drvdata
	cmpl	$128, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rax, %r14
	movq	_V4L2_CTRL_TYPE_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	24(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movl	$0, 20(%rbx)
	movabsq	$4294967423, %rax               ## imm = 0x10000007F
	movq	%rax, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	$0, 12(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_V4L2_CTRL_TYPE_INTEGER,4,2     ## @V4L2_CTRL_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Brightness"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_zr364xx_vidioc_queryctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function zr364xx_vidioc_queryctrl
lCPI0_0:
	.long	127                             ; 0x7f
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_zr364xx_vidioc_queryctrl:              ; @zr364xx_vidioc_queryctrl
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x2
	bl	_video_drvdata
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x8, _V4L2_CTRL_TYPE_INTEGER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CTRL_TYPE_INTEGER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	ldr	w0, [x19, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	mov	w0, #0
	str	wzr, [x19, #20]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
	ldr	w8, [x20]
	stp	wzr, w8, [x19, #12]
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_V4L2_CTRL_TYPE_INTEGER,4,2     ; @V4L2_CTRL_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Brightness"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_zr364xx_vidioc_queryctrl
.subsections_via_symbols
