	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jpeg_stdio_dest                ## -- Begin function jpeg_stdio_dest
	.p2align	4, 0x90
_jpeg_stdio_dest:                       ## @jpeg_stdio_dest
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movq	_JPOOL_PERMANENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_my_destination_mgr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SIZEOF
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	*%r12
	movq	%rax, (%rbx)
LBB0_2:
	movq	_init_destination@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_empty_output_buffer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_term_destination@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%r14, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JPOOL_PERMANENT,4,2            ## @JPOOL_PERMANENT
	.comm	_my_destination_mgr,4,2         ## @my_destination_mgr
	.comm	_init_destination,4,2           ## @init_destination
	.comm	_empty_output_buffer,4,2        ## @empty_output_buffer
	.comm	_term_destination,4,2           ## @term_destination
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jpeg_stdio_dest                ; -- Begin function jpeg_stdio_dest
	.p2align	2
_jpeg_stdio_dest:                       ; @jpeg_stdio_dest
	.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, x1
	mov	x20, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x22, [x8]
Lloh0:
	adrp	x8, _JPOOL_PERMANENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JPOOL_PERMANENT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _my_destination_mgr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _my_destination_mgr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SIZEOF
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	blr	x22
	str	x0, [x20]
LBB0_2:
Lloh6:
	adrp	x8, _init_destination@GOTPAGE
Lloh7:
	ldr	x8, [x8, _init_destination@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #16]
Lloh9:
	adrp	x8, _empty_output_buffer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _empty_output_buffer@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _term_destination@GOTPAGE
Lloh13:
	ldr	x9, [x9, _term_destination@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	str	x19, [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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_JPOOL_PERMANENT,4,2            ; @JPOOL_PERMANENT
	.comm	_my_destination_mgr,4,2         ; @my_destination_mgr
	.comm	_init_destination,4,2           ; @init_destination
	.comm	_empty_output_buffer,4,2        ; @empty_output_buffer
	.comm	_term_destination,4,2           ; @term_destination
.subsections_via_symbols
