	.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	%rbx
	subq	$520, %rsp                      ## imm = 0x208
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	testl	%ecx, %ecx
	jne	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rdx), %ecx
	movl	12(%rdx), %r8d
	movl	8(%rdx), %r9d
	movl	(%rdx), %eax
	movl	4(%rdx), %r10d
	leaq	-544(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	pushq	%rax
	pushq	%r10
	callq	_tarCreateHeader
	addq	$16, %rsp
	cmpl	$128, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$129, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	jmp	LBB0_5
LBB0_6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
LBB0_5:
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_8
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
LBB0_8:
	leaq	-544(%rbp), %rsi
	movl	$100, %edi
	movl	$512, %edx                      ## imm = 0x200
	callq	_pq_putmessage
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	$512, %eax                      ## imm = 0x200
	addq	$520, %rsp                      ## imm = 0x208
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file name too long for tar format: \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"symbolic link target too long for tar format: file name \"%s\", target \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"unrecognized tar error: %d"

	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbnz	w3, LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldp	w4, w3, [x2, #12]
	ldp	w6, w5, [x2, #4]
	ldr	w7, [x2]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	bl	_tarCreateHeader
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.2:
	mov	x2, x0
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
	cmp	w2, #130
	b.ne	LBB0_6
; %bb.4:
	ldr	w20, [x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	str	x20, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	b	LBB0_7
LBB0_6:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_7:
	add	x1, sp, #8
	mov	w0, #100
	mov	w2, #512
	bl	_pq_putmessage
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #512
	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_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file name too long for tar format: \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"symbolic link target too long for tar format: file name \"%s\", target \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"unrecognized tar error: %d"

	.no_dead_strip	__tarWriteHeader
.subsections_via_symbols
