	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_ctrl_send_slave_event
_uvc_ctrl_send_slave_event:             ## @uvc_ctrl_send_slave_event
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	_V4L2_EVENT_CTRL_CH_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$0, -36(%rbp)
	movl	(%rdx), %edi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rax
	xorl	%ebx, %ebx
	movl	%ecx, %esi
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	callq	___uvc_find_control
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	-56(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movq	%r15, %rdi
	callq	___uvc_ctrl_get
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_V4L2_EVENT_CTRL_CH_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	orl	%r12d, %ebx
	movq	-48(%rbp), %rdx
	movq	-56(%rbp), %rcx
	movl	-36(%rbp), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %r9d
	callq	_uvc_ctrl_send_event
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_EVENT_CTRL_CH_FLAGS,4,2   ## @V4L2_EVENT_CTRL_CH_FLAGS
	.comm	_V4L2_EVENT_CTRL_CH_VALUE,4,2   ## @V4L2_EVENT_CTRL_CH_VALUE
	.no_dead_strip	_uvc_ctrl_send_slave_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_ctrl_send_slave_event
_uvc_ctrl_send_slave_event:             ; @uvc_ctrl_send_slave_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x8, x3
	mov	x19, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x9, _V4L2_EVENT_CTRL_CH_FLAGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_EVENT_CTRL_CH_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x9]
	str	wzr, [sp, #12]
	ldr	w0, [x2]
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x1, x8
	mov	w4, #0
	bl	___uvc_find_control
	ldr	x1, [sp, #16]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x2, [sp, #24]
	add	x3, sp, #12
	mov	x0, x20
	bl	___uvc_ctrl_get
Lloh3:
	adrp	x8, _V4L2_EVENT_CTRL_CH_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_EVENT_CTRL_CH_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w8, wzr, eq
	orr	w5, w8, w21
	ldp	x2, x3, [sp, #16]
	ldr	w4, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_uvc_ctrl_send_event
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_EVENT_CTRL_CH_FLAGS,4,2   ; @V4L2_EVENT_CTRL_CH_FLAGS
	.comm	_V4L2_EVENT_CTRL_CH_VALUE,4,2   ; @V4L2_EVENT_CTRL_CH_VALUE
	.no_dead_strip	_uvc_ctrl_send_slave_event
.subsections_via_symbols
