	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iso9660_finish_entry
_iso9660_finish_entry:                  ## @iso9660_finish_entry
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r14
	movq	8(%r14), %rax
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rdi, %r15
	movl	16(%rax), %edi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.2:
	movq	8(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_13
## %bb.3:
	movq	(%r14), %rax
	testq	%rax, %rax
	jle	LBB0_7
## %bb.4:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rbx
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
	movl	8(%r15), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_write_iso9660_data
	testq	%rax, %rax
	js	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rax
	subq	%rbx, %rax
	movq	%rax, (%r14)
	testq	%rax, %rax
	jg	LBB0_5
LBB0_7:
	cmpq	$0, 16(%r14)
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_zisofs_finish_entry
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
LBB0_9:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wb_write_padding_to_temp
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_12
## %bb.10:
	movq	8(%r14), %rsi
	movq	(%rsi), %rax
	movl	(%rax), %ecx
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	%ecx, %edx
	decl	%edx
	movq	_LOGICAL_BLOCK_BITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movl	%edx, 4(%rax)
	movq	%r14, %rdi
	callq	_isofile_add_data_file
	jmp	LBB0_13
LBB0_12:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r12
LBB0_13:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_AE_IFREG,8,3                   ## @AE_IFREG
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ## @LOGICAL_BLOCK_SIZE
	.comm	_LOGICAL_BLOCK_BITS,4,2         ## @LOGICAL_BLOCK_BITS
	.no_dead_strip	_iso9660_finish_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iso9660_finish_entry
_iso9660_finish_entry:                  ; @iso9660_finish_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	w0, [x8, #16]
	bl	_archive_entry_filetype
Lloh0:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
	cbz	x8, LBB0_12
; %bb.3:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.4:
Lloh5:
	adrp	x23, _ARCHIVE_FATAL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cmp	x8, x9
	csel	x21, x8, x9, lo
	ldr	w1, [x20, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_write_iso9660_data
	tbnz	x0, #63, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	sub	x8, x8, x21
	str	x8, [x19]
	cmp	x8, #0
	b.gt	LBB0_5
LBB0_7:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_zisofs_finish_entry
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_13
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wb_write_padding_to_temp
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.10:
	ldr	x1, [x19, #8]
	ldr	x8, [x1]
	ldr	w9, [x8]
Lloh7:
	adrp	x10, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	add	w9, w9, w10
	sub	w9, w9, #1
Lloh10:
	adrp	x10, _LOGICAL_BLOCK_BITS@GOTPAGE
Lloh11:
	ldr	x10, [x10, _LOGICAL_BLOCK_BITS@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	asr	w9, w9, w10
	str	w9, [x8, #4]
	mov	x0, x19
	bl	_isofile_add_data_file
LBB0_11:
Lloh13:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh14:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh15:
	adrp	x22, _ARCHIVE_FATAL@GOTPAGE
Lloh16:
	ldr	x22, [x22, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_14:
	mov	x22, x23
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_AE_IFREG,8,3                   ; @AE_IFREG
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ; @LOGICAL_BLOCK_SIZE
	.comm	_LOGICAL_BLOCK_BITS,4,2         ; @LOGICAL_BLOCK_BITS
	.no_dead_strip	_iso9660_finish_entry
.subsections_via_symbols
