	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtcs033_setexposure
_dtcs033_setexposure:                   ## @dtcs033_setexposure
	.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	%rdi, %r14
	imull	$544, %edx, %eax                ## imm = 0x220
	addl	$-7616, %eax                    ## imm = 0xE240
	cltq
	imulq	$1808407283, %rax, %rax         ## imm = 0x6BCA1AF3
	movq	%rax, %rcx
	sarq	$35, %rcx
	shrq	$63, %rax
	addl	%ecx, %eax
	addl	$224, %eax
	movzbl	%al, %r8d
	orl	$256, %r8d                      ## imm = 0x100
	movzbl	%ah, %ecx
	movl	$151, %eax
	subl	%esi, %eax
	imull	$524, %eax, %eax                ## imm = 0x20C
	cltq
	imulq	$458129845, %rax, %rbx          ## imm = 0x1B4E81B5
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rax
	movq	_USB_TYPE_VENDOR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	orl	(%rax), %r15d
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$36, %rbx
	addl	%eax, %ebx
	movq	_USB_RECIP_DEVICE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, %esi
	movl	$24, %edx
	xorl	%r9d, %r9d
	callq	_reg_rw
	cmpq	$0, (%r14)
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_gspca_err
LBB0_2:
	shll	$4, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$24, %edx
	movl	%ebx, %ecx
	movl	$25344, %r8d                    ## imm = 0x6300
	xorl	%r9d, %r9d
	callq	_reg_rw
	cmpq	$0, (%r14)
	js	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gspca_err                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_USB_TYPE_VENDOR,4,2            ## @USB_TYPE_VENDOR
	.comm	_USB_RECIP_DEVICE,4,2           ## @USB_RECIP_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usb error in setexposure(gain) sequence\n"

L_.str.1:                               ## @.str.1
	.asciz	"usb error in setexposure(time) sequence\n"

	.no_dead_strip	_dtcs033_setexposure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtcs033_setexposure
_dtcs033_setexposure:                   ; @dtcs033_setexposure
	.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
	mov	x19, x0
	mov	w8, #544
	mov	w9, #-7616
	madd	w8, w2, w8, w9
	mov	w9, #6899
	movk	w9, #27594, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #35
	add	w8, w8, w9
	add	w8, w8, #224
	mov	w4, #256
	bfxil	w4, w8, #0, #8
	ubfx	w3, w8, #8, #8
	mov	w8, #151
	sub	w8, w8, w1
	mov	w9, #524
	mul	w8, w8, w9
	mov	w9, #33205
	movk	w9, #6990, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w21, w8, w9
Lloh0:
	adrp	x8, _USB_DIR_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_DIR_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _USB_TYPE_VENDOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USB_TYPE_VENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _USB_RECIP_DEVICE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USB_RECIP_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	x1, x20
	mov	w2, #24
	mov	w5, #0
	bl	_reg_rw
	ldr	x8, [x19]
	tbz	x8, #63, LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gspca_err
LBB0_2:
	lsl	w3, w21, #4
	mov	x0, x19
	mov	x1, x20
	mov	w2, #24
	mov	w4, #25344
	mov	w5, #0
	bl	_reg_rw
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_4
; %bb.3:
	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_4:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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	_gspca_err
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_USB_TYPE_VENDOR,4,2            ; @USB_TYPE_VENDOR
	.comm	_USB_RECIP_DEVICE,4,2           ; @USB_RECIP_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usb error in setexposure(gain) sequence\n"

l_.str.1:                               ; @.str.1
	.asciz	"usb error in setexposure(time) sequence\n"

	.no_dead_strip	_dtcs033_setexposure
.subsections_via_symbols
