	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tarOpen
_tarOpen:                               ## @tarOpen
	.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, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	cmpb	$114, %r14b
	jne	LBB0_6
## %bb.1:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	__tarPositionTo
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_5:
	movq	(%r13), %rax
	movq	%rax, 40(%rbx)
	jmp	LBB0_9
LBB0_6:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	$56, %edi
	callq	_pg_malloc0
	movq	%rax, %rbx
	movq	_S_IRWXG@GOTPCREL(%rip), %rax
	movq	_S_IRWXO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_umask
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_tmpfile
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_8:
	movl	%r13d, %edi
	callq	_umask
	movq	32(%rbx), %rax
	movq	%rax, 40(%rbx)
	movq	%r12, 24(%rbx)
	movq	%r15, %rdi
	callq	_pg_strdup
	movl	%eax, 16(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
LBB0_9:
	movb	%r14b, (%rbx)
	movq	%rax, 8(%rbx)
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not find file \"%s\" in archive"

	.comm	_S_IRWXG,4,2                    ## @S_IRWXG
	.comm	_S_IRWXO,4,2                    ## @S_IRWXO
L_.str.1:                               ## @.str.1
	.asciz	"could not generate temporary file name: %m"

	.comm	_EEXIST,8,3                     ## @EEXIST
	.comm	_O_BINARY,4,2                   ## @O_BINARY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_TEMPORARY,4,2                ## @O_TEMPORARY
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	_tarOpen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tarOpen
_tarOpen:                               ; @tarOpen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x24, [x0, #8]
	cmp	w2, #114
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	bl	__tarPositionTo
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.2:
	cbz	x21, LBB0_10
; %bb.3:
	str	x21, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_4:
	ldr	x8, [x24]
	str	x8, [x20, #40]
	b	LBB0_8
LBB0_5:
	mov	w0, #56
	bl	_pg_malloc0
	mov	x20, x0
Lloh2:
	adrp	x8, _S_IRWXG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_IRWXG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _S_IRWXO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _S_IRWXO@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_umask
	mov	x23, x0
	bl	_tmpfile
	str	x0, [x20, #32]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_7:
	mov	x0, x23
	bl	_umask
	ldr	x8, [x20, #32]
	str	x8, [x20, #40]
	str	x22, [x20, #24]
	mov	x0, x21
	bl	_pg_strdup
	str	w0, [x20, #16]
	ldr	x8, [x24]
LBB0_8:
	strb	w19, [x20]
	str	x8, [x20, #8]
LBB0_9:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_10:
	mov	x20, #0
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not find file \"%s\" in archive"

	.comm	_S_IRWXG,4,2                    ; @S_IRWXG
	.comm	_S_IRWXO,4,2                    ; @S_IRWXO
l_.str.1:                               ; @.str.1
	.asciz	"could not generate temporary file name: %m"

	.comm	_EEXIST,8,3                     ; @EEXIST
	.comm	_O_BINARY,4,2                   ; @O_BINARY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_TEMPORARY,4,2                ; @O_TEMPORARY
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	_tarOpen
.subsections_via_symbols
