	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateWalTarMethod             ## -- Begin function CreateWalTarMethod
	.p2align	4, 0x90
_CreateWalTarMethod:                    ## @CreateWalTarMethod
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	testl	%esi, %esi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %r13
	cmoveq	%rax, %r13
	movl	$36, %edi
	callq	_pg_malloc0
	movq	%rax, %rbx
	movq	_tar_open_for_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_tar_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_tar_get_current_pos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_tar_get_file_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_tar_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_tar_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_tar_existsfile@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_tar_finish@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_tar_getlasterror@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$4, %edi
	callq	_pg_malloc0
	movq	_tar_data@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r14,%rax), %edi
	incl	%edi
	callq	_pg_malloc0
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx)
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_sprintf
	movq	(%r15), %rax
	movl	$-1, (%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".tar.gz"

L_.str.1:                               ## @.str.1
	.asciz	".tar"

	.comm	_tar_open_for_write,4,2         ## @tar_open_for_write
	.comm	_tar_write,4,2                  ## @tar_write
	.comm	_tar_get_current_pos,4,2        ## @tar_get_current_pos
	.comm	_tar_get_file_size,4,2          ## @tar_get_file_size
	.comm	_tar_close,4,2                  ## @tar_close
	.comm	_tar_sync,4,2                   ## @tar_sync
	.comm	_tar_existsfile,4,2             ## @tar_existsfile
	.comm	_tar_finish,4,2                 ## @tar_finish
	.comm	_tar_getlasterror,4,2           ## @tar_getlasterror
	.comm	_tar_data,8,3                   ## @tar_data
L_.str.2:                               ## @.str.2
	.asciz	"%s%s"

	.comm	_ZLIB_OUT_SIZE,8,3              ## @ZLIB_OUT_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateWalTarMethod             ; -- Begin function CreateWalTarMethod
	.p2align	2
_CreateWalTarMethod:                    ; @CreateWalTarMethod
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w1, #0
	csel	x23, x9, x8, eq
	mov	w0, #36
	bl	_pg_malloc0
	mov	x22, x0
Lloh4:
	adrp	x8, _tar_open_for_write@GOTPAGE
Lloh5:
	ldr	x8, [x8, _tar_open_for_write@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh7:
	adrp	x8, _tar_write@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tar_write@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _tar_get_current_pos@GOTPAGE
Lloh11:
	ldr	x9, [x9, _tar_get_current_pos@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh13:
	adrp	x8, _tar_get_file_size@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tar_get_file_size@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _tar_close@GOTPAGE
Lloh17:
	ldr	x9, [x9, _tar_close@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh19:
	adrp	x8, _tar_sync@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tar_sync@GOTPAGEOFF]
Lloh21:
	adrp	x9, _tar_existsfile@GOTPAGE
Lloh22:
	ldr	x9, [x9, _tar_existsfile@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh25:
	adrp	x8, _tar_finish@GOTPAGE
Lloh26:
	ldr	x8, [x8, _tar_finish@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _tar_getlasterror@GOTPAGE
Lloh29:
	ldr	x9, [x9, _tar_getlasterror@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	mov	w0, #4
	bl	_pg_malloc0
Lloh31:
	adrp	x25, _tar_data@GOTPAGE
Lloh32:
	ldr	x25, [x25, _tar_data@GOTPAGEOFF]
	str	x0, [x25]
	mov	x0, x21
	bl	_strlen
	mov	x24, x0
	mov	x0, x23
	bl	_strlen
	add	w8, w24, w0
	add	w0, w8, #1
	bl	_pg_malloc0
	ldr	x8, [x25]
	str	x0, [x8, #24]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	mov	x3, x23
	bl	_sprintf
	ldr	x8, [x25]
	mov	w9, #-1
	stp	w9, w20, [x8]
	str	w19, [x8, #8]
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".tar.gz"

l_.str.1:                               ; @.str.1
	.asciz	".tar"

	.comm	_tar_open_for_write,4,2         ; @tar_open_for_write
	.comm	_tar_write,4,2                  ; @tar_write
	.comm	_tar_get_current_pos,4,2        ; @tar_get_current_pos
	.comm	_tar_get_file_size,4,2          ; @tar_get_file_size
	.comm	_tar_close,4,2                  ; @tar_close
	.comm	_tar_sync,4,2                   ; @tar_sync
	.comm	_tar_existsfile,4,2             ; @tar_existsfile
	.comm	_tar_finish,4,2                 ; @tar_finish
	.comm	_tar_getlasterror,4,2           ; @tar_getlasterror
	.comm	_tar_data,8,3                   ; @tar_data
l_.str.2:                               ; @.str.2
	.asciz	"%s%s"

	.comm	_ZLIB_OUT_SIZE,8,3              ; @ZLIB_OUT_SIZE
.subsections_via_symbols
