	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_ctrl
_log_ctrl:                              ## @log_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_V4L2_CTRL_FLAG_DISABLED@GOTPCREL(%rip), %rax
	movq	_V4L2_CTRL_FLAG_WRITE_ONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%rdi)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_V4L2_CTRL_TYPE_CTRL_CLASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	24(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	(%rbx), %eax
	movq	_V4L2_CTRL_FLAG_INACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_V4L2_CTRL_FLAG_GRABBED@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%ecx, %esi
	orl	%edx, %esi
	movq	_V4L2_CTRL_FLAG_VOLATILE@GOTPCREL(%rip), %r14
	orl	(%r14), %esi
	testl	%eax, %esi
	je	LBB0_9
## %bb.3:
	testl	%eax, %edx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_cont
	movl	(%rbx), %eax
	movl	(%r15), %ecx
LBB0_5:
	testl	%eax, %ecx
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_cont
	movl	(%rbx), %eax
LBB0_7:
	testl	%eax, (%r14)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_cont
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_cont                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CTRL_FLAG_DISABLED,4,2    ## @V4L2_CTRL_FLAG_DISABLED
	.comm	_V4L2_CTRL_FLAG_WRITE_ONLY,4,2  ## @V4L2_CTRL_FLAG_WRITE_ONLY
	.comm	_V4L2_CTRL_TYPE_CTRL_CLASS,8,3  ## @V4L2_CTRL_TYPE_CTRL_CLASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s%s: "

	.comm	_V4L2_CTRL_FLAG_INACTIVE,4,2    ## @V4L2_CTRL_FLAG_INACTIVE
	.comm	_V4L2_CTRL_FLAG_GRABBED,4,2     ## @V4L2_CTRL_FLAG_GRABBED
	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ## @V4L2_CTRL_FLAG_VOLATILE
L_.str.1:                               ## @.str.1
	.asciz	" inactive"

L_.str.2:                               ## @.str.2
	.asciz	" grabbed"

L_.str.3:                               ## @.str.3
	.asciz	" volatile"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_log_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function log_ctrl
_log_ctrl:                              ; @log_ctrl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _V4L2_CTRL_FLAG_DISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _V4L2_CTRL_FLAG_WRITE_ONLY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _V4L2_CTRL_FLAG_WRITE_ONLY@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh6:
	adrp	x9, _V4L2_CTRL_TYPE_CTRL_CLASS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_CTRL_CLASS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w3, [x19, #24]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _V4L2_CTRL_FLAG_INACTIVE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_INACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x9]
Lloh14:
	adrp	x21, _V4L2_CTRL_FLAG_GRABBED@GOTPAGE
Lloh15:
	ldr	x21, [x21, _V4L2_CTRL_FLAG_GRABBED@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w11, w9, w10
Lloh16:
	adrp	x20, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGE
Lloh17:
	ldr	x20, [x20, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGEOFF]
	ldr	w12, [x20]
	orr	w11, w11, w12
	tst	w11, w8
	b.eq	LBB0_10
; %bb.4:
	tst	w10, w8
	b.eq	LBB0_6
; %bb.5:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_cont
	ldr	w8, [x19]
	ldr	w9, [x21]
LBB0_6:
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_cont
	ldr	w8, [x19]
LBB0_8:
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_cont
LBB0_10:
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pr_cont
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CTRL_FLAG_DISABLED,4,2    ; @V4L2_CTRL_FLAG_DISABLED
	.comm	_V4L2_CTRL_FLAG_WRITE_ONLY,4,2  ; @V4L2_CTRL_FLAG_WRITE_ONLY
	.comm	_V4L2_CTRL_TYPE_CTRL_CLASS,8,3  ; @V4L2_CTRL_TYPE_CTRL_CLASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s%s: "

	.comm	_V4L2_CTRL_FLAG_INACTIVE,4,2    ; @V4L2_CTRL_FLAG_INACTIVE
	.comm	_V4L2_CTRL_FLAG_GRABBED,4,2     ; @V4L2_CTRL_FLAG_GRABBED
	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ; @V4L2_CTRL_FLAG_VOLATILE
l_.str.1:                               ; @.str.1
	.asciz	" inactive"

l_.str.2:                               ; @.str.2
	.asciz	" grabbed"

l_.str.3:                               ; @.str.3
	.asciz	" volatile"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_log_ctrl
.subsections_via_symbols
