	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jpegDest
_jpegDest:                              ## @jpegDest
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_JPOOL_PERMANENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	$4, %edx
	callq	*(%rax)
	movq	%rax, (%rbx)
LBB0_2:
	movq	_init_destination@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_empty_output_buffer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_term_destination@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	%r15, 8(%rax)
	movl	%r14d, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JPOOL_PERMANENT,4,2            ## @JPOOL_PERMANENT
	.comm	_init_destination,4,2           ## @init_destination
	.comm	_empty_output_buffer,4,2        ## @empty_output_buffer
	.comm	_term_destination,4,2           ## @term_destination
	.no_dead_strip	_jpegDest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jpegDest
_jpegDest:                              ; @jpegDest
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _JPOOL_PERMANENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JPOOL_PERMANENT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x21
	mov	w2, #4
	blr	x8
	str	x0, [x21]
LBB0_2:
Lloh3:
	adrp	x8, _init_destination@GOTPAGE
Lloh4:
	ldr	x8, [x8, _init_destination@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #24]
Lloh6:
	adrp	x8, _empty_output_buffer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _empty_output_buffer@GOTPAGEOFF]
Lloh8:
	adrp	x9, _term_destination@GOTPAGE
Lloh9:
	ldr	x9, [x9, _term_destination@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	str	x20, [x0, #8]
	str	w19, [x0]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_JPOOL_PERMANENT,4,2            ; @JPOOL_PERMANENT
	.comm	_init_destination,4,2           ; @init_destination
	.comm	_empty_output_buffer,4,2        ; @empty_output_buffer
	.comm	_term_destination,4,2           ; @term_destination
	.no_dead_strip	_jpegDest
.subsections_via_symbols
