	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExtractSourcePicture
_ExtractSourcePicture:                  ## @ExtractSourcePicture
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	_kImgAlphaData@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_kImgGridData@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_kImgPeakData@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_kImgAlphaWidth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_kImgGridWidth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_kImgPeakWidth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_kImgAlphaHeight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_kImgGridHeight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_kImgPeakHeight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$2, %edi
	callq	_Extract
	movq	-48(%rbp,%rax,8), %rsi
	movl	-60(%rbp,%rax,4), %edx
	movl	%edx, (%rbx)
	movl	-72(%rbp,%rax,4), %eax
	movl	%eax, 4(%rbx)
	shll	$4, %edx
	movl	%edx, 8(%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WebPPictureImportRGBA          ## TAILCALL
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_kImgAlphaData,8,3              ## @kImgAlphaData
	.comm	_kImgGridData,8,3               ## @kImgGridData
	.comm	_kImgPeakData,8,3               ## @kImgPeakData
	.comm	_kImgAlphaWidth,4,2             ## @kImgAlphaWidth
	.comm	_kImgGridWidth,4,2              ## @kImgGridWidth
	.comm	_kImgPeakWidth,4,2              ## @kImgPeakWidth
	.comm	_kImgAlphaHeight,4,2            ## @kImgAlphaHeight
	.comm	_kImgGridHeight,4,2             ## @kImgGridHeight
	.comm	_kImgPeakHeight,4,2             ## @kImgPeakHeight
	.no_dead_strip	_ExtractSourcePicture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExtractSourcePicture
_ExtractSourcePicture:                  ; @ExtractSourcePicture
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _kImgAlphaData@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kImgAlphaData@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _kImgGridData@GOTPAGE
Lloh7:
	ldr	x9, [x9, _kImgGridData@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	stp	x8, x9, [sp, #32]
Lloh9:
	adrp	x8, _kImgPeakData@GOTPAGE
Lloh10:
	ldr	x8, [x8, _kImgPeakData@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [sp, #48]
Lloh12:
	adrp	x8, _kImgAlphaWidth@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kImgAlphaWidth@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _kImgGridWidth@GOTPAGE
Lloh16:
	ldr	x9, [x9, _kImgGridWidth@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #20]
Lloh18:
	adrp	x8, _kImgPeakWidth@GOTPAGE
Lloh19:
	ldr	x8, [x8, _kImgPeakWidth@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh21:
	adrp	x8, _kImgAlphaHeight@GOTPAGE
Lloh22:
	ldr	x8, [x8, _kImgAlphaHeight@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _kImgGridHeight@GOTPAGE
Lloh25:
	ldr	x9, [x9, _kImgGridHeight@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
Lloh27:
	adrp	x8, _kImgPeakHeight@GOTPAGE
Lloh28:
	ldr	x8, [x8, _kImgPeakHeight@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	mov	w0, #2
	bl	_Extract
	add	x8, sp, #32
	ldr	x1, [x8, x0, lsl #3]
	lsl	x8, x0, #2
	add	x9, sp, #20
	ldr	w9, [x9, x8]
	add	x10, sp, #8
	ldr	w8, [x10, x8]
	stp	w9, w8, [x19]
	lsl	w2, w9, #4
	str	w2, [x19, #8]
	ldur	x8, [x29, #-24]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_WebPPictureImportRGBA
LBB0_3:
	ldur	x8, [x29, #-24]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_kImgAlphaData,8,3              ; @kImgAlphaData
	.comm	_kImgGridData,8,3               ; @kImgGridData
	.comm	_kImgPeakData,8,3               ; @kImgPeakData
	.comm	_kImgAlphaWidth,4,2             ; @kImgAlphaWidth
	.comm	_kImgGridWidth,4,2              ; @kImgGridWidth
	.comm	_kImgPeakWidth,4,2              ; @kImgPeakWidth
	.comm	_kImgAlphaHeight,4,2            ; @kImgAlphaHeight
	.comm	_kImgGridHeight,4,2             ; @kImgGridHeight
	.comm	_kImgPeakHeight,4,2             ; @kImgPeakHeight
	.no_dead_strip	_ExtractSourcePicture
.subsections_via_symbols
