	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jpu_generate_hdr
_jpu_generate_hdr:                      ## @jpu_generate_hdr
	.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
	movq	%rsi, %r14
	movq	_JPU_JPEG_QTBL_LUM_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rsi, %rax
	movq	_qtbl_lum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edi, %ebx
	movq	(%rcx,%rbx,8), %rsi
	movq	%rax, %rdi
	callq	_put_qtbl
	movq	_JPU_JPEG_QTBL_CHR_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_qtbl_chr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rsi
	callq	_put_qtbl
	movq	_JPU_JPEG_HDCTBL_LUM_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_hdctbl_lum@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_JPU_JPEG_HDCTBL_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_put_htbl
	movq	_JPU_JPEG_HACTBL_LUM_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_hactbl_lum@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_JPU_JPEG_HACTBL_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_put_htbl
	movq	_JPU_JPEG_HDCTBL_CHR_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_hdctbl_chr@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r15), %edx
	callq	_put_htbl
	movq	_JPU_JPEG_HACTBL_CHR_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r14, %rdi
	movq	_hactbl_chr@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rbx), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_htbl                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_JPU_JPEG_QTBL_LUM_OFFSET,4,2   ## @JPU_JPEG_QTBL_LUM_OFFSET
	.comm	_qtbl_lum,8,3                   ## @qtbl_lum
	.comm	_JPU_JPEG_QTBL_CHR_OFFSET,4,2   ## @JPU_JPEG_QTBL_CHR_OFFSET
	.comm	_qtbl_chr,8,3                   ## @qtbl_chr
	.comm	_JPU_JPEG_HDCTBL_LUM_OFFSET,4,2 ## @JPU_JPEG_HDCTBL_LUM_OFFSET
	.comm	_hdctbl_lum,8,3                 ## @hdctbl_lum
	.comm	_JPU_JPEG_HDCTBL_SIZE,4,2       ## @JPU_JPEG_HDCTBL_SIZE
	.comm	_JPU_JPEG_HACTBL_LUM_OFFSET,4,2 ## @JPU_JPEG_HACTBL_LUM_OFFSET
	.comm	_hactbl_lum,8,3                 ## @hactbl_lum
	.comm	_JPU_JPEG_HACTBL_SIZE,4,2       ## @JPU_JPEG_HACTBL_SIZE
	.comm	_JPU_JPEG_HDCTBL_CHR_OFFSET,4,2 ## @JPU_JPEG_HDCTBL_CHR_OFFSET
	.comm	_hdctbl_chr,8,3                 ## @hdctbl_chr
	.comm	_JPU_JPEG_HACTBL_CHR_OFFSET,4,2 ## @JPU_JPEG_HACTBL_CHR_OFFSET
	.comm	_hactbl_chr,8,3                 ## @hactbl_chr
	.no_dead_strip	_jpu_generate_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jpu_generate_hdr
_jpu_generate_hdr:                      ; @jpu_generate_hdr
	.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
Lloh0:
	adrp	x8, _JPU_JPEG_QTBL_LUM_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JPU_JPEG_QTBL_LUM_OFFSET@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
Lloh3:
	adrp	x9, _qtbl_lum@GOTPAGE
Lloh4:
	ldr	x9, [x9, _qtbl_lum@GOTPAGEOFF]
	add	x8, x1, x8
Lloh5:
	ldr	x9, [x9]
	mov	w10, w0
	lsl	x20, x10, #3
	ldr	x1, [x9, x20]
	mov	x0, x8
	bl	_put_qtbl
Lloh6:
	adrp	x8, _JPU_JPEG_QTBL_CHR_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JPU_JPEG_QTBL_CHR_OFFSET@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x0, x19, x8
Lloh9:
	adrp	x8, _qtbl_chr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qtbl_chr@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x1, [x8, x20]
	bl	_put_qtbl
Lloh12:
	adrp	x8, _JPU_JPEG_HDCTBL_LUM_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _JPU_JPEG_HDCTBL_LUM_OFFSET@GOTPAGEOFF]
Lloh14:
	ldrsw	x8, [x8]
	add	x0, x19, x8
Lloh15:
	adrp	x8, _hdctbl_lum@GOTPAGE
Lloh16:
	ldr	x8, [x8, _hdctbl_lum@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
Lloh18:
	adrp	x20, _JPU_JPEG_HDCTBL_SIZE@GOTPAGE
Lloh19:
	ldr	x20, [x20, _JPU_JPEG_HDCTBL_SIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_put_htbl
Lloh20:
	adrp	x8, _JPU_JPEG_HACTBL_LUM_OFFSET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _JPU_JPEG_HACTBL_LUM_OFFSET@GOTPAGEOFF]
Lloh22:
	ldrsw	x8, [x8]
	add	x0, x19, x8
Lloh23:
	adrp	x8, _hactbl_lum@GOTPAGE
Lloh24:
	ldr	x8, [x8, _hactbl_lum@GOTPAGEOFF]
Lloh25:
	ldr	x1, [x8]
Lloh26:
	adrp	x21, _JPU_JPEG_HACTBL_SIZE@GOTPAGE
Lloh27:
	ldr	x21, [x21, _JPU_JPEG_HACTBL_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_put_htbl
Lloh28:
	adrp	x8, _JPU_JPEG_HDCTBL_CHR_OFFSET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _JPU_JPEG_HDCTBL_CHR_OFFSET@GOTPAGEOFF]
Lloh30:
	ldrsw	x8, [x8]
	add	x0, x19, x8
Lloh31:
	adrp	x8, _hdctbl_chr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _hdctbl_chr@GOTPAGEOFF]
Lloh33:
	ldr	x1, [x8]
	ldr	w2, [x20]
	bl	_put_htbl
Lloh34:
	adrp	x8, _JPU_JPEG_HACTBL_CHR_OFFSET@GOTPAGE
Lloh35:
	ldr	x8, [x8, _JPU_JPEG_HACTBL_CHR_OFFSET@GOTPAGEOFF]
Lloh36:
	ldrsw	x8, [x8]
Lloh37:
	adrp	x9, _hactbl_chr@GOTPAGE
Lloh38:
	ldr	x9, [x9, _hactbl_chr@GOTPAGEOFF]
	add	x0, x19, x8
Lloh39:
	ldr	x1, [x9]
	ldr	w2, [x21]
	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
	b	_put_htbl
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JPU_JPEG_QTBL_LUM_OFFSET,4,2   ; @JPU_JPEG_QTBL_LUM_OFFSET
	.comm	_qtbl_lum,8,3                   ; @qtbl_lum
	.comm	_JPU_JPEG_QTBL_CHR_OFFSET,4,2   ; @JPU_JPEG_QTBL_CHR_OFFSET
	.comm	_qtbl_chr,8,3                   ; @qtbl_chr
	.comm	_JPU_JPEG_HDCTBL_LUM_OFFSET,4,2 ; @JPU_JPEG_HDCTBL_LUM_OFFSET
	.comm	_hdctbl_lum,8,3                 ; @hdctbl_lum
	.comm	_JPU_JPEG_HDCTBL_SIZE,4,2       ; @JPU_JPEG_HDCTBL_SIZE
	.comm	_JPU_JPEG_HACTBL_LUM_OFFSET,4,2 ; @JPU_JPEG_HACTBL_LUM_OFFSET
	.comm	_hactbl_lum,8,3                 ; @hactbl_lum
	.comm	_JPU_JPEG_HACTBL_SIZE,4,2       ; @JPU_JPEG_HACTBL_SIZE
	.comm	_JPU_JPEG_HDCTBL_CHR_OFFSET,4,2 ; @JPU_JPEG_HDCTBL_CHR_OFFSET
	.comm	_hdctbl_chr,8,3                 ; @hdctbl_chr
	.comm	_JPU_JPEG_HACTBL_CHR_OFFSET,4,2 ; @JPU_JPEG_HACTBL_CHR_OFFSET
	.comm	_hactbl_chr,8,3                 ; @hactbl_chr
	.no_dead_strip	_jpu_generate_hdr
.subsections_via_symbols
