	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jpeg_open_backing_store        ## -- Begin function jpeg_open_backing_store
	.p2align	4, 0x90
_jpeg_open_backing_store:               ## @jpeg_open_backing_store
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	(%rsi), %edi
	callq	_select_file_name
	movl	(%rbx), %edi
	movq	_RW_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fopen
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_JERR_TFILE_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movl	%r14d, %edi
	callq	_ERREXITS
LBB0_2:
	movq	_read_backing_store@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_write_backing_store@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_close_backing_store@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_JTRC_TFILE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movl	%r14d, %edi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_TRACEMSS                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RW_BINARY,4,2                  ## @RW_BINARY
	.comm	_JERR_TFILE_CREATE,4,2          ## @JERR_TFILE_CREATE
	.comm	_read_backing_store,4,2         ## @read_backing_store
	.comm	_write_backing_store,4,2        ## @write_backing_store
	.comm	_close_backing_store,4,2        ## @close_backing_store
	.comm	_JTRC_TFILE_OPEN,4,2            ## @JTRC_TFILE_OPEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jpeg_open_backing_store        ; -- Begin function jpeg_open_backing_store
	.p2align	2
_jpeg_open_backing_store:               ; @jpeg_open_backing_store
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_select_file_name
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _RW_BINARY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RW_BINARY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fopen
	str	x0, [x20, #16]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _JERR_TFILE_CREATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JERR_TFILE_CREATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ERREXITS
LBB0_2:
Lloh6:
	adrp	x8, _read_backing_store@GOTPAGE
Lloh7:
	ldr	x8, [x8, _read_backing_store@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #12]
Lloh9:
	adrp	x8, _write_backing_store@GOTPAGE
Lloh10:
	ldr	x8, [x8, _write_backing_store@GOTPAGEOFF]
Lloh11:
	adrp	x9, _close_backing_store@GOTPAGE
Lloh12:
	ldr	x9, [x9, _close_backing_store@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #4]
Lloh15:
	adrp	x8, _JTRC_TFILE_OPEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _JTRC_TFILE_OPEN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_TRACEMSS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RW_BINARY,4,2                  ; @RW_BINARY
	.comm	_JERR_TFILE_CREATE,4,2          ; @JERR_TFILE_CREATE
	.comm	_read_backing_store,4,2         ; @read_backing_store
	.comm	_write_backing_store,4,2        ; @write_backing_store
	.comm	_close_backing_store,4,2        ; @close_backing_store
	.comm	_JTRC_TFILE_OPEN,4,2            ; @JTRC_TFILE_OPEN
.subsections_via_symbols
