	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coda_jpeg_write_tables         ## -- Begin function coda_jpeg_write_tables
	.p2align	4, 0x90
_coda_jpeg_write_tables:                ## @coda_jpeg_write_tables
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$512, -80(%rbp)                 ## imm = 0x200
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	movl	%ecx, -76(%rbp)
	movabsq	$2473901162560, %rcx            ## imm = 0x24000000040
	movq	%rcx, -72(%rbp)
	movl	4(%rax), %ecx
	movl	%ecx, -64(%rbp)
	movabsq	$2748779069504, %rcx            ## imm = 0x28000000040
	movq	%rcx, -60(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	$64, -48(%rbp)
	leaq	_coda_jpeg_write_tables.huff(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_coda_memcpy_parabuf
	incq	%r12
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$12, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_coda_memcpy_parabuf
	incq	%r12
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$12, %rbx
	cmpq	%rax, %r12
	jl	LBB0_5
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @coda_jpeg_write_tables.huff
_coda_jpeg_write_tables.huff:
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	4                               ## 0x4
	.long	16                              ## 0x10
	.long	128                             ## 0x80
	.long	4                               ## 0x4
	.long	32                              ## 0x20
	.long	131                             ## 0x83
	.long	4                               ## 0x4
	.long	48                              ## 0x30
	.long	130                             ## 0x82
	.long	4                               ## 0x4
	.long	216                             ## 0xd8
	.long	133                             ## 0x85
	.long	4                               ## 0x4
	.long	232                             ## 0xe8
	.long	132                             ## 0x84
	.long	4                               ## 0x4
	.long	248                             ## 0xf8
	.long	135                             ## 0x87
	.long	4                               ## 0x4
	.long	264                             ## 0x108
	.long	134                             ## 0x86
	.long	4                               ## 0x4

.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 coda_jpeg_write_tables
lCPI0_0:
	.long	64                              ; 0x40
	.long	576                             ; 0x240
lCPI0_1:
	.long	64                              ; 0x40
	.long	640                             ; 0x280
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_coda_jpeg_write_tables
	.p2align	2
_coda_jpeg_write_tables:                ; @coda_jpeg_write_tables
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w8, #512
	str	w8, [sp]
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	str	w9, [sp, #4]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	ldr	w9, [x8, #4]
	str	w9, [sp, #16]
Lloh5:
	adrp	x9, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	stur	d0, [sp, #20]
	ldr	w8, [x8, #4]
	mov	w9, #64
	stp	w8, w9, [sp, #28]
Lloh7:
	adrp	x0, _coda_jpeg_write_tables.huff@PAGE
Lloh8:
	add	x0, x0, _coda_jpeg_write_tables.huff@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
Lloh9:
	adrp	x20, _coda_jpeg_write_tables.huff@PAGE
Lloh10:
	add	x20, x20, _coda_jpeg_write_tables.huff@PAGEOFF
	mov	x21, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x21
	bl	_coda_memcpy_parabuf
	add	x22, x22, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	x21, x21, #12
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	mov	x0, sp
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
	mov	x20, sp
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x20
	bl	_coda_memcpy_parabuf
	add	x21, x21, #1
	mov	x0, sp
	bl	_ARRAY_SIZE
	add	x20, x20, #12
	cmp	x21, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @coda_jpeg_write_tables.huff
_coda_jpeg_write_tables.huff:
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	4                               ; 0x4
	.long	16                              ; 0x10
	.long	128                             ; 0x80
	.long	4                               ; 0x4
	.long	32                              ; 0x20
	.long	131                             ; 0x83
	.long	4                               ; 0x4
	.long	48                              ; 0x30
	.long	130                             ; 0x82
	.long	4                               ; 0x4
	.long	216                             ; 0xd8
	.long	133                             ; 0x85
	.long	4                               ; 0x4
	.long	232                             ; 0xe8
	.long	132                             ; 0x84
	.long	4                               ; 0x4
	.long	248                             ; 0xf8
	.long	135                             ; 0x87
	.long	4                               ; 0x4
	.long	264                             ; 0x108
	.long	134                             ; 0x86
	.long	4                               ; 0x4

.subsections_via_symbols
