	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pwc_construct                  ## -- Begin function 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	32(%rdi), %edi
	callq	_DEVICE_USE_CODEC1
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	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)
	movabsq	$17179869186, %rax              ## imm = 0x400000002
LBB0_5:
	movq	%rax, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	jmp	LBB0_6
LBB0_2:
	movl	32(%rbx), %edi
	callq	_DEVICE_USE_CODEC3
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	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)
	movabsq	$21474836483, %rax              ## imm = 0x500000003
	movq	%rax, 4(%rbx)
	movq	_TOUCAM_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	_TOUCAM_TRAILER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	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)
	movabsq	$17179869187, %rax              ## imm = 0x400000003
	jmp	LBB0_5
	.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
.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	2                               ; 0x2
	.long	4                               ; 0x4
lCPI0_1:
	.long	3                               ; 0x3
	.long	5                               ; 0x5
lCPI0_2:
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.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, #32]
	bl	_DEVICE_USE_CODEC1
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _PSZ_SQCIF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSZ_SQCIF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _PSZ_QCIF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PSZ_QCIF@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh6:
	adrp	x10, _PSZ_CIF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PSZ_CIF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
LBB0_2:
	stur	d0, [x19, #4]
	stp	xzr, xzr, [x19, #16]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x19, #32]
	bl	_DEVICE_USE_CODEC3
	cbz	x0, LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _PSZ_QSIF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PSZ_QSIF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh14:
	adrp	x10, _PSZ_SIF@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PSZ_SIF@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh17:
	adrp	x10, _PSZ_VGA@GOTPAGE
Lloh18:
	ldr	x10, [x10, _PSZ_VGA@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19]
Lloh20:
	adrp	x8, lCPI0_1@PAGE
Lloh21:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [x19, #4]
Lloh22:
	adrp	x8, _TOUCAM_HEADER_SIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TOUCAM_HEADER_SIZE@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _TOUCAM_TRAILER_SIZE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TOUCAM_TRAILER_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #16]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh28:
	adrp	x8, _PSZ_SQCIF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PSZ_SQCIF@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	mov	w9, #1
Lloh31:
	adrp	x10, _PSZ_QSIF@GOTPAGE
Lloh32:
	ldr	x10, [x10, _PSZ_QSIF@GOTPAGEOFF]
	lsl	w8, w9, w8
Lloh33:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh34:
	adrp	x10, _PSZ_QCIF@GOTPAGE
Lloh35:
	ldr	x10, [x10, _PSZ_QCIF@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh37:
	adrp	x10, _PSZ_SIF@GOTPAGE
Lloh38:
	ldr	x10, [x10, _PSZ_SIF@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh40:
	adrp	x10, _PSZ_CIF@GOTPAGE
Lloh41:
	ldr	x10, [x10, _PSZ_CIF@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh43:
	adrp	x10, _PSZ_VGA@GOTPAGE
Lloh44:
	ldr	x10, [x10, _PSZ_VGA@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x19]
Lloh46:
	adrp	x8, lCPI0_2@PAGE
Lloh47:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	b	LBB0_2
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdrp	Lloh20, Lloh22
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.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
.subsections_via_symbols
