	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _tarWriteHeader
__tarWriteHeader:                       ## @_tarWriteHeader
	.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	$528, %rsp                      ## imm = 0x210
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	4(%rdi), %r14d
	movl	8(%rdi), %r15d
	xorl	%edi, %edi
	callq	_time
                                        ## kill: def $eax killed $eax def $rax
	leaq	-560(%rbp), %r12
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	movl	$384, %r8d                      ## imm = 0x180
	movl	$2048, %r9d                     ## imm = 0x800
	pushq	%rax
	pushq	$1024                           ## imm = 0x400
	callq	_tarCreateHeader
	addq	$16, %rsp
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_fwrite
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE_ERROR_EXIT,4,2           ## @WRITE_ERROR_EXIT
	.no_dead_strip	__tarWriteHeader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _tarWriteHeader
__tarWriteHeader:                       ; @_tarWriteHeader
	.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
	sub	sp, sp, #528
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldp	w21, w20, [x0, #4]
	mov	x0, #0
	bl	_time
	mov	x7, x0
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, #0
	mov	x3, x21
	mov	w4, #384
	mov	w5, #2048
	mov	w6, #1024
	bl	_tarCreateHeader
	ldr	w3, [x19]
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #512
	bl	_fwrite
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	add	sp, sp, #528
	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
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE_ERROR_EXIT,4,2           ; @WRITE_ERROR_EXIT
	.no_dead_strip	__tarWriteHeader
.subsections_via_symbols
