	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cab_read_ahead_cfdata
_cab_read_ahead_cfdata:                 ## @cab_read_ahead_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	callq	_cab_next_cfdata
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_8
## %bb.1:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	cmpl	$130, %ecx
	je	LBB0_6
## %bb.2:
	cmpl	$129, %ecx
	je	LBB0_5
## %bb.3:
	cmpl	$128, %ecx
	jne	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cab_read_ahead_cfdata_none     ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cab_read_ahead_cfdata_lzx      ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cab_read_ahead_cfdata_deflate  ## TAILCALL
LBB0_7:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	4(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported CAB compression : %s"

	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.no_dead_strip	_cab_read_ahead_cfdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cab_read_ahead_cfdata
_cab_read_ahead_cfdata:                 ; @cab_read_ahead_cfdata
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	bl	_cab_next_cfdata
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.1:
	str	w0, [x19]
	b	LBB0_9
LBB0_2:
	ldr	x8, [x21]
	ldr	w9, [x8]
	cmp	w9, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w9, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w9, #128
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cab_read_ahead_cfdata_none
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cab_read_ahead_cfdata_lzx
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cab_read_ahead_cfdata_deflate
LBB0_8:
Lloh3:
	adrp	x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	ldr	w3, [x8, #4]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
Lloh8:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_9:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported CAB compression : %s"

	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.no_dead_strip	_cab_read_ahead_cfdata
.subsections_via_symbols
