	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_dqt
_set_dqt:                               ## @set_dqt
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_D_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rdi), %ecx
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %r8d
	callq	_gspca_dbg
	movl	%r14d, (%rbx)
	cmpl	$16, %r14d
	movl	$16, %eax
	cmovll	%r14d, %eax
	movq	_SENSOR_SOI763A@GOTPCREL(%rip), %rcx
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rdi
	cmpq	(%rcx), %rdx
	jne	LBB0_2
## %bb.1:
	movq	_jpeg_q@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_jpeg_set_qual                  ## TAILCALL
LBB0_2:
	movq	_JPEG_QT0_OFFSET@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rdi,%rcx,4), %rdi
	addq	$-4, %rdi
	movq	_DQT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %esi
	movl	$4, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_D_STREAM,4,2                   ## @D_STREAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"q %d -> %d\n"

	.comm	_SENSOR_SOI763A,8,3             ## @SENSOR_SOI763A
	.comm	_jpeg_q,8,3                     ## @jpeg_q
	.comm	_JPEG_QT0_OFFSET,4,2            ## @JPEG_QT0_OFFSET
	.comm	_DQT,8,3                        ## @DQT
	.no_dead_strip	_set_dqt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_dqt
_set_dqt:                               ; @set_dqt
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _D_STREAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_STREAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x0]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x19
	bl	_gspca_dbg
	str	w19, [x20]
	mov	w8, #16
	cmp	w19, #16
	csel	w8, w19, w8, lt
Lloh5:
	adrp	x9, _SENSOR_SOI763A@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SENSOR_SOI763A@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldp	x10, x0, [x20, #8]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x9, _jpeg_q@GOTPAGE
Lloh9:
	ldr	x9, [x9, _jpeg_q@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w1, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_jpeg_set_qual
LBB0_2:
Lloh11:
	adrp	x9, _JPEG_QT0_OFFSET@GOTPAGE
Lloh12:
	ldr	x9, [x9, _JPEG_QT0_OFFSET@GOTPAGEOFF]
Lloh13:
	ldrsw	x9, [x9]
	add	x9, x0, x9, lsl #2
	sub	x0, x9, #4
Lloh14:
	adrp	x9, _DQT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DQT@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w1, [x9, w8, sxtw #2]
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_D_STREAM,4,2                   ; @D_STREAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"q %d -> %d\n"

	.comm	_SENSOR_SOI763A,8,3             ; @SENSOR_SOI763A
	.comm	_jpeg_q,8,3                     ; @jpeg_q
	.comm	_JPEG_QT0_OFFSET,4,2            ; @JPEG_QT0_OFFSET
	.comm	_DQT,8,3                        ; @DQT
	.no_dead_strip	_set_dqt
.subsections_via_symbols
