	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phar_tar_octal
_phar_tar_octal:                        ## @phar_tar_octal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	movslq	%edx, %rax
	addq	%rax, %rdi
	leal	-1(%rdx), %r8d
	movl	%edx, %r9d
	andl	$3, %r9d
	je	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %r10d
	movl	%r10d, %ecx
	andb	$7, %cl
	orb	$48, %cl
	movb	%cl, -1(%rdi)
	decq	%rdi
	sarl	$3, %esi
	incl	%eax
	cmpl	%eax, %r9d
	jne	LBB0_3
## %bb.4:
	movl	%edx, %r9d
	subl	%eax, %r9d
	cmpl	$3, %r8d
	jae	LBB0_8
	jmp	LBB0_10
LBB0_5:
	testl	%esi, %esi
	jne	LBB0_15
## %bb.6:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_7:
	movl	%edx, %r9d
                                        ## implicit-def: $r10d
	cmpl	$3, %r8d
	jb	LBB0_10
LBB0_8:
	decl	%r9d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %eax
	andb	$7, %al
	orb	$48, %al
	movb	%al, -1(%rdi)
	movl	%esi, %eax
	shrb	$3, %al
	andb	$7, %al
	orb	$48, %al
	movb	%al, -2(%rdi)
	movl	%esi, %eax
	shrl	$6, %eax
	andb	$7, %al
	orb	$48, %al
	movb	%al, -3(%rdi)
	movl	%esi, %r10d
	sarl	$9, %r10d
	movl	%r10d, %eax
	andb	$7, %al
	orb	$48, %al
	movb	%al, -4(%rdi)
	addq	$-4, %rdi
	sarl	$12, %esi
	addl	$-4, %r9d
	cmpl	$-2, %r9d
	jb	LBB0_9
LBB0_10:
	cmpl	$8, %r10d
	jae	LBB0_12
## %bb.11:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jae	LBB0_13
	jmp	LBB0_16
LBB0_12:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jb	LBB0_16
LBB0_13:
	testl	%edx, %edx
	jle	LBB0_16
## %bb.14:
	movl	%edx, %edx
	movl	$55, %esi
	callq	_memset
LBB0_15:
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_phar_tar_octal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phar_tar_octal
_phar_tar_octal:                        ; @phar_tar_octal
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.1:
	add	x0, x0, w2, sxtw
	add	w8, w2, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x1
	mov	w10, #48
	bfxil	w10, w1, #0, #3
	strb	w10, [x0, #-1]!
	asr	w1, w1, #3
	sub	w8, w8, #1
	cmp	w8, #1
	b.hi	LBB0_2
; %bb.3:
Lloh0:
	adrp	x8, _FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _SUCCESS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SUCCESS@GOTPAGEOFF]
	cmp	w9, #8
	csel	x8, x10, x8, lo
	b.lo	LBB0_7
; %bb.4:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w2, w2
	mov	w1, #55
	bl	_memset
Lloh4:
	adrp	x8, _FAILURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh8:
	adrp	x9, _SUCCESS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SUCCESS@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_phar_tar_octal
.subsections_via_symbols
