	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XzStatInfo_SetStat
_XzStatInfo_SetStat:                    ## @XzStatInfo_SetStat
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	24(%rbp), %r12
	xorl	%eax, %eax
	cmpq	$0, 16(%rbp)
	setne	%al
	movq	%rax, 56(%r12)
	movq	%rcx, (%r12)
	movl	4(%rdi), %eax
	movl	%eax, 52(%r12)
	movl	(%rdi), %eax
	movl	%eax, 48(%r12)
	movq	_True@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movq	%rax, 32(%r12)
	movq	%rax, 24(%r12)
	callq	_XzUnpacker_GetExtraSize
	movq	_SZ_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%r13, %rcx
	jne	LBB0_4
## %bb.1:
	movq	_CODER_STATUS_NEEDS_MORE_INPUT@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_XzUnpacker_IsStreamWasFinished
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	_SZ_ERROR_INPUT_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_8
LBB0_4:
	movq	_SZ_ERROR_NO_ARCHIVE@GOTPCREL(%rip), %rdx
	cmpq	%r13, (%rdx)
	jne	LBB0_10
## %bb.5:
	cmpq	%r15, %rax
	je	LBB0_10
## %bb.6:
	cmpq	%r15, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.7:
	testq	%rax, %rax
	jne	LBB0_11
LBB0_8:
	xorl	%eax, %eax
	movq	%r13, %rcx
	jmp	LBB0_12
LBB0_9:
	cmpq	$0, 16(%rbp)
	movq	_SZ_ERROR_DATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmoveq	%rcx, %r13
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	cmovneq	%rcx, %r13
LBB0_10:
	movq	%r13, %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_True@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 16(%r12)
LBB0_12:
	movq	%rcx, 8(%r12)
	subq	%rax, (%r12)
	movq	%rcx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_True,8,3                       ## @True
	.comm	_SZ_OK,8,3                      ## @SZ_OK
	.comm	_CODER_STATUS_NEEDS_MORE_INPUT,8,3 ## @CODER_STATUS_NEEDS_MORE_INPUT
	.comm	_SZ_ERROR_INPUT_EOF,8,3         ## @SZ_ERROR_INPUT_EOF
	.comm	_SZ_ERROR_DATA,8,3              ## @SZ_ERROR_DATA
	.comm	_SZ_ERROR_NO_ARCHIVE,8,3        ## @SZ_ERROR_NO_ARCHIVE
	.no_dead_strip	_XzStatInfo_SetStat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XzStatInfo_SetStat
_XzStatInfo_SetStat:                    ; @XzStatInfo_SetStat
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x21, x6
	mov	x26, x5
	mov	x20, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x25, x0
	cmp	x6, #0
	cset	w8, ne
	str	x8, [x7, #56]
	str	x3, [x7]
	ldr	d0, [x0]
	str	d0, [x7, #48]
Lloh0:
	adrp	x27, _True@GOTPAGE
Lloh1:
	ldr	x27, [x27, _True@GOTPAGEOFF]
	ldr	x8, [x27]
	stp	x8, x8, [x7, #32]
	str	x8, [x7, #24]
	bl	_XzUnpacker_GetExtraSize
Lloh2:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _CODER_STATUS_NEEDS_MORE_INPUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CODER_STATUS_NEEDS_MORE_INPUT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x26
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x25
	bl	_XzUnpacker_IsStreamWasFinished
	mov	x8, x0
	mov	x0, #0
Lloh8:
	adrp	x9, _SZ_ERROR_INPUT_EOF@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SZ_ERROR_INPUT_EOF@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	w8, #0
	csel	x20, x9, x20, eq
	b	LBB0_8
LBB0_3:
Lloh11:
	adrp	x9, _SZ_ERROR_NO_ARCHIVE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SZ_ERROR_NO_ARCHIVE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x20
	ccmp	x0, x22, #4, eq
	b.eq	LBB0_8
; %bb.4:
	cmp	x24, x22
	b.ne	LBB0_6
; %bb.5:
	cbz	x0, LBB0_8
LBB0_6:
	ldr	x9, [x27]
	str	x9, [x19, #16]
	mov	x20, x8
	b	LBB0_8
LBB0_7:
	cmp	x21, #0
	ccmp	w23, #0, #0, ne
Lloh14:
	adrp	x8, _SZ_ERROR_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SZ_ERROR_DATA@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	csel	x20, x8, x20, ne
LBB0_8:
	ldr	x8, [x19]
	sub	x8, x8, x0
	stp	x8, x20, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_True,8,3                       ; @True
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.comm	_CODER_STATUS_NEEDS_MORE_INPUT,8,3 ; @CODER_STATUS_NEEDS_MORE_INPUT
	.comm	_SZ_ERROR_INPUT_EOF,8,3         ; @SZ_ERROR_INPUT_EOF
	.comm	_SZ_ERROR_DATA,8,3              ; @SZ_ERROR_DATA
	.comm	_SZ_ERROR_NO_ARCHIVE,8,3        ; @SZ_ERROR_NO_ARCHIVE
	.no_dead_strip	_XzStatInfo_SetStat
.subsections_via_symbols
