	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pwc_construct
LCPI0_0:
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	352                             ## 0x160
	.long	288                             ## 0x120
LCPI0_1:
	.long	3                               ## 0x3
	.long	5                               ## 0x5
	.long	640                             ## 0x280
	.long	480                             ## 0x1e0
LCPI0_2:
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	640                             ## 0x280
	.long	480                             ## 0x1e0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_pwc_construct
	.p2align	4, 0x90
_pwc_construct:                         ## @pwc_construct
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	72(%rdi), %edi
	callq	_DEVICE_USE_CODEC1
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movabsq	$412316860544, %rax             ## imm = 0x6000000080
	movq	%rax, 36(%rbx)
	movabsq	$1236950581600, %rax            ## imm = 0x12000000160
	movq	%rax, 24(%rbx)
	movq	_PSZ_SQCIF@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_PSZ_QCIF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%eax, %edx
	movq	_PSZ_CIF@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movl	%edx, (%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,4,352,288]
	movups	%xmm0, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movl	$128, %ecx
	movl	$96, %eax
	movl	$352, %esi                      ## imm = 0x160
	movl	$288, %edx                      ## imm = 0x120
	jmp	LBB0_6
LBB0_2:
	movl	72(%rbx), %edi
	callq	_DEVICE_USE_CODEC3
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movabsq	$515396075680, %rax             ## imm = 0x78000000A0
	movq	%rax, 36(%rbx)
	movabsq	$2061584302720, %rax            ## imm = 0x1E000000280
	movq	%rax, 24(%rbx)
	movq	_PSZ_QSIF@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_PSZ_SIF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%eax, %edx
	movq	_PSZ_VGA@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movl	%edx, (%rbx)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [3,5,640,480]
	movups	%xmm0, 4(%rbx)
	movq	_TOUCAM_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	movq	_TOUCAM_TRAILER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	movl	$160, %ecx
	movl	$120, %eax
	jmp	LBB0_5
LBB0_4:
	movabsq	$412316860544, %rax             ## imm = 0x6000000080
	movq	%rax, 36(%rbx)
	movabsq	$2061584302720, %rax            ## imm = 0x1E000000280
	movq	%rax, 24(%rbx)
	movq	_PSZ_QSIF@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movq	_PSZ_SQCIF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_PSZ_QCIF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_PSZ_SIF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_PSZ_CIF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_PSZ_VGA@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movl	%eax, (%rbx)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [3,4,640,480]
	movups	%xmm0, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movl	$128, %ecx
	movl	$96, %eax
LBB0_5:
	movl	$640, %esi                      ## imm = 0x280
	movl	$480, %edx                      ## imm = 0x1E0
LBB0_6:
	imull	%esi, %edx
	imull	%ecx, %eax
	movq	_V4L2_PIX_FMT_YUV420@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rbx)
	movl	%eax, 44(%rbx)
	movl	%edx, 32(%rbx)
	leal	(%rdx,%rdx,2), %edi
	shrl	%edi
	callq	_PAGE_ALIGN
	movl	%eax, 20(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSZ_SQCIF,4,2                  ## @PSZ_SQCIF
	.comm	_PSZ_QCIF,4,2                   ## @PSZ_QCIF
	.comm	_PSZ_CIF,4,2                    ## @PSZ_CIF
	.comm	_PSZ_QSIF,4,2                   ## @PSZ_QSIF
	.comm	_PSZ_SIF,4,2                    ## @PSZ_SIF
	.comm	_PSZ_VGA,4,2                    ## @PSZ_VGA
	.comm	_TOUCAM_HEADER_SIZE,8,3         ## @TOUCAM_HEADER_SIZE
	.comm	_TOUCAM_TRAILER_SIZE,8,3        ## @TOUCAM_TRAILER_SIZE
	.comm	_V4L2_PIX_FMT_YUV420,4,2        ## @V4L2_PIX_FMT_YUV420
.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 pwc_construct
lCPI0_0:
	.long	128                             ; 0x80
	.long	96                              ; 0x60
lCPI0_1:
	.long	352                             ; 0x160
	.long	288                             ; 0x120
lCPI0_3:
	.long	160                             ; 0xa0
	.long	120                             ; 0x78
lCPI0_4:
	.long	640                             ; 0x280
	.long	480                             ; 0x1e0
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_2:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	352                             ; 0x160
	.long	288                             ; 0x120
lCPI0_5:
	.long	3                               ; 0x3
	.long	5                               ; 0x5
	.long	640                             ; 0x280
	.long	480                             ; 0x1e0
lCPI0_6:
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	640                             ; 0x280
	.long	480                             ; 0x1e0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_pwc_construct
	.p2align	2
_pwc_construct:                         ; @pwc_construct
	.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, x0
	ldr	w0, [x0, #72]
	bl	_DEVICE_USE_CODEC1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #36]
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
Lloh4:
	adrp	x8, _PSZ_SQCIF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PSZ_SQCIF@GOTPAGEOFF]
	str	d0, [x19, #24]
Lloh6:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh7:
	adrp	x10, _PSZ_QCIF@GOTPAGE
Lloh8:
	ldr	x10, [x10, _PSZ_QCIF@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh10:
	adrp	x10, _PSZ_CIF@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PSZ_CIF@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19]
Lloh13:
	adrp	x8, lCPI0_2@PAGE
Lloh14:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	stur	q0, [x19, #4]
	stp	xzr, xzr, [x19, #56]
	mov	w8, #128
	mov	w9, #96
	mov	w10, #352
	mov	w11, #288
	b	LBB0_6
LBB0_2:
	ldr	w0, [x19, #72]
	bl	_DEVICE_USE_CODEC3
	cbz	x0, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, lCPI0_3@PAGE
Lloh16:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	stur	d0, [x19, #36]
Lloh17:
	adrp	x8, lCPI0_4@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
Lloh19:
	adrp	x8, _PSZ_QSIF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PSZ_QSIF@GOTPAGEOFF]
	str	d0, [x19, #24]
Lloh21:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh22:
	adrp	x10, _PSZ_SIF@GOTPAGE
Lloh23:
	ldr	x10, [x10, _PSZ_SIF@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh25:
	adrp	x10, _PSZ_VGA@GOTPAGE
Lloh26:
	ldr	x10, [x10, _PSZ_VGA@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19]
Lloh28:
	adrp	x8, lCPI0_5@PAGE
Lloh29:
	ldr	q0, [x8, lCPI0_5@PAGEOFF]
	stur	q0, [x19, #4]
Lloh30:
	adrp	x8, _TOUCAM_HEADER_SIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TOUCAM_HEADER_SIZE@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _TOUCAM_TRAILER_SIZE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _TOUCAM_TRAILER_SIZE@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #56]
	mov	w8, #160
	mov	w9, #120
	b	LBB0_5
LBB0_4:
Lloh36:
	adrp	x8, lCPI0_0@PAGE
Lloh37:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #36]
Lloh38:
	adrp	x8, lCPI0_4@PAGE
Lloh39:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
	str	d0, [x19, #24]
Lloh40:
	adrp	x8, _PSZ_SQCIF@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PSZ_SQCIF@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh43:
	adrp	x10, _PSZ_QSIF@GOTPAGE
Lloh44:
	ldr	x10, [x10, _PSZ_QSIF@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh46:
	adrp	x10, _PSZ_QCIF@GOTPAGE
Lloh47:
	ldr	x10, [x10, _PSZ_QCIF@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
	lsl	w10, w9, w10
Lloh49:
	adrp	x11, _PSZ_SIF@GOTPAGE
Lloh50:
	ldr	x11, [x11, _PSZ_SIF@GOTPAGEOFF]
	orr	w8, w8, w10
Lloh51:
	ldr	w10, [x11]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh52:
	adrp	x10, _PSZ_CIF@GOTPAGE
Lloh53:
	ldr	x10, [x10, _PSZ_CIF@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh55:
	adrp	x10, _PSZ_VGA@GOTPAGE
Lloh56:
	ldr	x10, [x10, _PSZ_VGA@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19]
Lloh58:
	adrp	x8, lCPI0_6@PAGE
Lloh59:
	ldr	q0, [x8, lCPI0_6@PAGEOFF]
	stur	q0, [x19, #4]
	stp	xzr, xzr, [x19, #56]
	mov	w8, #128
	mov	w9, #96
LBB0_5:
	mov	w10, #640
	mov	w11, #480
LBB0_6:
Lloh60:
	adrp	x12, _V4L2_PIX_FMT_YUV420@GOTPAGE
Lloh61:
	ldr	x12, [x12, _V4L2_PIX_FMT_YUV420@GOTPAGEOFF]
Lloh62:
	ldr	w12, [x12]
	mul	w8, w9, w8
	stp	w8, w12, [x19, #44]
	mul	w8, w11, w10
	str	w8, [x19, #32]
	add	w8, w8, w8, lsl #1
	lsr	w0, w8, #1
	bl	_PAGE_ALIGN
	str	w0, [x19, #20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdrp	Lloh28, Lloh30
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdrp	Lloh17, Lloh19
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpAdrp	Lloh15, Lloh17
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdr	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdrp	Lloh38, Lloh40
	.loh AdrpLdr	Lloh38, Lloh39
	.loh AdrpAdrp	Lloh36, Lloh38
	.loh AdrpLdr	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_PSZ_SQCIF,4,2                  ; @PSZ_SQCIF
	.comm	_PSZ_QCIF,4,2                   ; @PSZ_QCIF
	.comm	_PSZ_CIF,4,2                    ; @PSZ_CIF
	.comm	_PSZ_QSIF,4,2                   ; @PSZ_QSIF
	.comm	_PSZ_SIF,4,2                    ; @PSZ_SIF
	.comm	_PSZ_VGA,4,2                    ; @PSZ_VGA
	.comm	_TOUCAM_HEADER_SIZE,8,3         ; @TOUCAM_HEADER_SIZE
	.comm	_TOUCAM_TRAILER_SIZE,8,3        ; @TOUCAM_TRAILER_SIZE
	.comm	_V4L2_PIX_FMT_YUV420,4,2        ; @V4L2_PIX_FMT_YUV420
.subsections_via_symbols
