	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copyheader
_copyheader:                            ## @copyheader
	.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, %rbx
	movq	%rdi, %r14
	movq	_SEEK_CUR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%esi, %esi
	callq	_krb5_storage_seek
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_krb5_data_alloc
	movl	%eax, %edi
	callq	_CHECK
	xorl	%edi, %edi
	cmpq	(%rbx), %r15
	sete	%dil
	callq	_INSIST
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_krb5_storage_seek
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	callq	_krb5_storage_read
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_INSIST
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_krb5_storage_seek
	xorl	%edi, %edi
	cmpq	%rax, %r15
	sete	%dil
	callq	_INSIST
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_copyheader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copyheader
_copyheader:                            ; @copyheader
	.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
Lloh0:
	adrp	x22, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_krb5_storage_seek
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_krb5_data_alloc
	bl	_CHECK
	ldr	x8, [x19]
	cmp	x21, x8
	cset	w0, eq
	bl	_INSIST
Lloh2:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_krb5_storage_seek
	ldr	w1, [x19, #8]
	ldr	x2, [x19]
	mov	x0, x20
	bl	_krb5_storage_read
	cmp	x0, x21
	cset	w0, eq
	bl	_INSIST
	ldr	w2, [x22]
	mov	x0, x20
	mov	w1, #0
	bl	_krb5_storage_seek
	cmp	x21, x0
	cset	w0, eq
	bl	_INSIST
	mov	w0, #0
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_copyheader
.subsections_via_symbols
