	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mkjcgheader                    ## -- Begin function mkjcgheader
	.p2align	4, 0x90
_mkjcgheader:                           ## @mkjcgheader
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	movq	_source_date_epoch@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	$-1, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, -48(%rbp)
	jmp	LBB0_4
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_time
	cmpq	$-1, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	testq	%r15, %r15
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movq	%r15, %rdi
	callq	_sscanf
	cmpl	$2, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_7:
	leaq	56(%rbx), %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_JH_MAGIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_htonl
	movq	%rax, 48(%rbx)
	movl	$1, %edi
	callq	_htonl
	movq	%rax, 40(%rbx)
	movq	-48(%rbp), %rdi
	callq	_htonl
	movq	%rax, 32(%rbx)
	movl	-40(%rbp), %edi
	callq	_htons
	movq	%rax, 24(%rbx)
	movl	-36(%rbp), %edi
	callq	_htons
	movq	%rax, 16(%rbx)
	movq	_Z_NULL@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_crc32
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_crc32
	movq	%rax, %rdi
	callq	_htonl
	movq	%rax, 8(%rbx)
	movq	(%r12), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_crc32
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	$56, %edx
	callq	_crc32
	movq	%rax, %rdi
	callq	_htonl
	movq	%rax, (%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_source_date_epoch,4,2          ## @source_date_epoch
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"time call failed"

L_.str.1:                               ## @.str.1
	.asciz	"%hu.%hu"

L_.str.2:                               ## @.str.2
	.asciz	"cannot parse version \"%s\""

	.comm	_JH_MAGIC,8,3                   ## @JH_MAGIC
	.comm	_Z_NULL,8,3                     ## @Z_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mkjcgheader                    ; -- Begin function mkjcgheader
	.p2align	2
_mkjcgheader:                           ; @mkjcgheader
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _source_date_epoch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _source_date_epoch@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	str	x8, [sp, #16]
	b	LBB0_4
LBB0_2:
	add	x0, sp, #16
	bl	_time
	cmn	x0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	cbz	x21, LBB0_7
; %bb.5:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #28
	add	x3, sp, #24
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #2
	b.eq	LBB0_7
; %bb.6:
	str	x21, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	add	x21, x19, #56
	mov	x0, x19
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh9:
	adrp	x8, _JH_MAGIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JH_MAGIC@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	bl	_htonl
	str	x0, [x19, #48]
	mov	w0, #1
	bl	_htonl
	str	x0, [x19, #40]
	ldr	x0, [sp, #16]
	bl	_htonl
	str	x0, [x19, #32]
	ldr	w0, [sp, #28]
	bl	_htons
	str	x0, [x19, #24]
	ldr	w0, [sp, #24]
	bl	_htons
	str	x0, [x19, #16]
Lloh12:
	adrp	x22, _Z_NULL@GOTPAGE
Lloh13:
	ldr	x22, [x22, _Z_NULL@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, #0
	mov	w2, #0
	bl	_crc32
	mov	x1, x21
	mov	x2, x20
	bl	_crc32
	bl	_htonl
	str	x0, [x19, #8]
	ldr	x1, [x22]
	mov	x0, #0
	mov	w2, #0
	bl	_crc32
	mov	x1, x19
	mov	w2, #56
	bl	_crc32
	bl	_htonl
	str	x0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_source_date_epoch,4,2          ; @source_date_epoch
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"time call failed"

l_.str.1:                               ; @.str.1
	.asciz	"%hu.%hu"

l_.str.2:                               ; @.str.2
	.asciz	"cannot parse version \"%s\""

	.comm	_JH_MAGIC,8,3                   ; @JH_MAGIC
	.comm	_Z_NULL,8,3                     ; @Z_NULL
.subsections_via_symbols
