	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cab_consume_cfdata
_cab_consume_cfdata:                    ## @cab_consume_cfdata
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	callq	_cab_minimum_consume_cfdata
	testq	%rax, %rax
	js	LBB0_23
## %bb.1:
	je	LBB0_24
## %bb.2:
	movq	%rax, %r15
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r12
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	subq	%r14, %r15
	testq	%r15, %r15
	jle	LBB0_27
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %rax
	cmpq	%r15, %rax
	movq	%r15, %r14
	cmovlq	%rax, %r14
	cmpq	$0, 16(%r12)
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rcx
	movl	(%rcx), %ecx
	movl	$-129, %edx
	addl	%edx, %ecx
	cmpl	$1, %ecx
	ja	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r15, %rax
	jg	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	___archive_read_consume
	movl	(%r12), %eax
	addl	%eax, 16(%r13)
	movq	$0, 40(%r12)
	movq	$0, 8(%r12)
	movq	%rbx, %rdi
	callq	_cab_next_cfdata
	testl	%eax, %eax
	js	LBB0_28
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %r12
	cmpq	$0, 24(%r12)
	jne	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_4
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%r14, %r14
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r13
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	callq	_cab_read_ahead_cfdata
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	jle	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpq	%r13, %rsi
	jbe	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%r13, -56(%rbp)
	movq	%r13, %rsi
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	%rbx, %rdi
	callq	_cab_minimum_consume_cfdata
	testq	%rax, %rax
	js	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=2
	subq	-56(%rbp), %r13
	jg	LBB0_14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_cab_next_cfdata
	testl	%eax, %eax
	js	LBB0_28
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %r12
	cmpq	$0, 24(%r12)
	jne	LBB0_4
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_4
	jmp	LBB0_23
LBB0_22:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_archive_set_error
LBB0_23:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_24:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movslq	%eax, %r14
	jmp	LBB0_24
LBB0_26:
	addl	%r14d, 32(%r12)
	subq	%r14, %rax
	movq	%rax, 8(%r12)
LBB0_27:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_FATAL,8,3              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid CFDATA"

	.no_dead_strip	_cab_consume_cfdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cab_consume_cfdata
_cab_consume_cfdata:                    ; @cab_consume_cfdata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	bl	_cab_minimum_consume_cfdata
	tbnz	x0, #63, LBB0_22
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_23
; %bb.2:
	ldr	x23, [x22, #8]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x21, x21, x24
	cmp	x21, #0
	b.le	LBB0_23
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x1, [x23]
	cbz	x1, LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x9, [x23, #8]
	cmp	x8, x21
	csel	x24, x8, x21, lt
	cbnz	x9, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22]
	ldr	w9, [x9]
	sub	w9, w9, #129
	cmp	w9, #1
	b.hi	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x21
	b.gt	LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	___archive_read_consume
	ldr	w8, [x23]
	ldr	w9, [x22, #16]
	add	w8, w9, w8
	str	w8, [x22, #16]
	str	xzr, [x23, #40]
	str	xzr, [x23, #8]
	mov	x0, x20
	bl	_cab_next_cfdata
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x23, [x22, #8]
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_3
	b	LBB0_23
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x24, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x24
	cmp	x24, #1
	b.lt	LBB0_3
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, sp, #8
	mov	x0, x20
	bl	_cab_read_ahead_cfdata
	ldr	x1, [sp, #8]
	cmp	x1, #0
	b.le	LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	cmp	x1, x25
	b.ls	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	str	x25, [sp, #8]
	mov	x1, x25
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x20
	bl	_cab_minimum_consume_cfdata
	tbnz	x0, #63, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [sp, #8]
	sub	x25, x25, x8
	cmp	x25, #0
	b.gt	LBB0_13
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_cab_next_cfdata
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x23, [x22, #8]
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_3
	b	LBB0_22
LBB0_21:
Lloh0:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
LBB0_22:
Lloh5:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
LBB0_23:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
LBB0_24:
	sxtw	x19, w0
	b	LBB0_23
LBB0_25:
	ldr	w9, [x23, #32]
	add	w9, w9, w24
	str	w9, [x23, #32]
	sub	x8, x8, x24
	str	x8, [x23, #8]
	b	LBB0_23
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_FATAL,8,3              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid CFDATA"

	.no_dead_strip	_cab_consume_cfdata
.subsections_via_symbols
