	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iso9660_write_header
_iso9660_write_header:                  ## @iso9660_write_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	8(%rdi), %r12
	movl	$0, (%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movq	%rsi, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFLNK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	40(%r12), %rax
	movq	_OPT_RR_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_archive_entry_size
	movq	_MULTI_EXTENT_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_9
## %bb.5:
	cmpl	$2, 48(%r12)
	jg	LBB0_8
## %bb.6:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_7:
	movq	$0, 32(%r12)
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_8:
	movl	$1, (%r12)
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_isofile_new
	testq	%rax, %rax
	je	LBB0_26
## %bb.10:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_isofile_gen_utility_names
	movl	%eax, %ebx
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	callq	_isofile_free
	jmp	LBB0_30
LBB0_12:
	cmpl	%r13d, %ebx
	cmovll	%ebx, %r13d
	leaq	36(%r15), %rdi
	callq	_archive_strlen
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	leaq	32(%r15), %rdi
	callq	_archive_strlen
	testq	%rax, %rax
	je	LBB0_11
LBB0_14:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_isofile_add_entry
	movq	%r15, %rdi
	callq	_isoent_new
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_26
## %bb.15:
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jle	LBB0_17
## %bb.16:
	movq	%rax, 8(%r12)
LBB0_17:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_isoent_tree
	movl	%eax, %ebx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_30
## %bb.18:
	movq	-48(%rbp), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_30
## %bb.19:
	movq	8(%r15), %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.20:
	movq	%r15, 32(%r12)
	movq	8(%r15), %rdi
	callq	_archive_entry_nlink
	cmpl	$2, %eax
	jl	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_isofile_register_hardlink
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
LBB0_22:
	cmpq	$0, 16(%r12)
	jns	LBB0_24
## %bb.23:
	xorl	%edi, %edi
	callq	___archive_mktemp
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	js	LBB0_31
LBB0_24:
	addq	$24, %r12
	movq	%r14, %rdi
	callq	_wb_offset
	movq	%r15, %rcx
	addq	$16, %rcx
	movl	%eax, 16(%r15)
	movq	%rcx, 24(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_zisofs_init
	cmpl	%r13d, %eax
	cmovll	%eax, %r13d
	movq	8(%r15), %rdi
	callq	_archive_entry_size
	movq	%rax, (%r12)
LBB0_25:
	movl	%r13d, %ebx
	jmp	LBB0_30
LBB0_26:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_27:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_28:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %ebx
LBB0_30:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_AE_IFLNK,8,3                   ## @AE_IFLNK
	.comm	_OPT_RR_DISABLED,8,3            ## @OPT_RR_DISABLED
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignore symlink file."

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_AE_IFREG,8,3                   ## @AE_IFREG
	.comm	_MULTI_EXTENT_SIZE,8,3          ## @MULTI_EXTENT_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Ignore over %lld bytes file. This file too large."

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Can't allocate data"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"Couldn't create temporary file"

	.no_dead_strip	_iso9660_write_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iso9660_write_header
_iso9660_write_header:                  ; @iso9660_write_header
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w25, [x24]
	ldr	x20, [x0, #8]
	mov	x23, x20
	str	xzr, [x23, #24]!
	str	wzr, [x20]
	str	xzr, [x20, #32]
	mov	x0, x1
	bl	_archive_entry_filetype
Lloh2:
	adrp	x8, _AE_IFLNK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_IFLNK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20, #40]
Lloh5:
	adrp	x9, _OPT_RR_DISABLED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OPT_RR_DISABLED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_7
LBB0_3:
	mov	x0, x21
	bl	_archive_entry_filetype
Lloh13:
	adrp	x26, _AE_IFREG@GOTPAGE
Lloh14:
	ldr	x26, [x26, _AE_IFREG@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x21
	bl	_archive_entry_size
Lloh15:
	adrp	x8, _MULTI_EXTENT_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MULTI_EXTENT_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_9
; %bb.5:
	ldr	w9, [x20, #48]
	cmp	w9, #2
	b.gt	LBB0_8
; %bb.6:
Lloh18:
	adrp	x9, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_archive_set_error
	str	xzr, [x20, #32]
Lloh23:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
	b	LBB0_28
LBB0_8:
	mov	w8, #1
	str	w8, [x20]
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	bl	_isofile_new
	cbz	x0, LBB0_25
; %bb.10:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_isofile_gen_utility_names
	mov	x22, x0
Lloh25:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_12
LBB0_11:
	mov	x0, x21
	bl	_isofile_free
	b	LBB0_29
LBB0_12:
	cmp	w22, w25
	csel	w25, w22, w25, lt
	add	x0, x21, #36
	bl	_archive_strlen
	cbnz	x0, LBB0_14
; %bb.13:
	add	x0, x21, #32
	bl	_archive_strlen
	cbz	x0, LBB0_11
LBB0_14:
	mov	x0, x20
	mov	x1, x21
	bl	_isofile_add_entry
	mov	x0, x21
	bl	_isoent_new
	str	x0, [sp, #8]
	cbz	x0, LBB0_25
; %bb.15:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.le	LBB0_17
; %bb.16:
	str	x8, [x20, #8]
LBB0_17:
	add	x1, sp, #8
	mov	x0, x19
	bl	_isoent_tree
	mov	x22, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_29
; %bb.18:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_29
; %bb.19:
	ldr	x0, [x21, #8]
	bl	_archive_entry_filetype
	ldr	x8, [x26]
	mov	x22, x25
	cmp	x0, x8
	b.ne	LBB0_29
; %bb.20:
	str	x21, [x20, #32]
	ldr	x0, [x21, #8]
	bl	_archive_entry_nlink
	cmp	w0, #2
	b.lt	LBB0_22
; %bb.21:
	mov	x0, x19
	mov	x1, x21
	bl	_isofile_register_hardlink
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_27
LBB0_22:
	ldr	x8, [x20, #16]
	tbz	x8, #63, LBB0_24
; %bb.23:
	mov	x0, #0
	bl	___archive_mktemp
	str	x0, [x20, #16]
	tbnz	x0, #63, LBB0_30
LBB0_24:
	mov	x0, x19
	bl	_wb_offset
	mov	x8, x21
	str	w0, [x8, #16]!
	str	x8, [x21, #24]
	mov	x0, x19
	mov	x1, x21
	bl	_zisofs_init
	cmp	w0, w25
	csel	w22, w0, w25, lt
	ldr	x0, [x21, #8]
	bl	_archive_entry_size
	str	x0, [x23]
	b	LBB0_29
LBB0_25:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x2, l_.str.2@PAGE
Lloh32:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_26:
	mov	x0, x19
	bl	_archive_set_error
LBB0_27:
Lloh33:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_28:
	ldr	w22, [x8]
LBB0_29:
	mov	x0, x22
	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_30:
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.3@PAGE
Lloh39:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_AE_IFLNK,8,3                   ; @AE_IFLNK
	.comm	_OPT_RR_DISABLED,8,3            ; @OPT_RR_DISABLED
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignore symlink file."

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_AE_IFREG,8,3                   ; @AE_IFREG
	.comm	_MULTI_EXTENT_SIZE,8,3          ; @MULTI_EXTENT_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Ignore over %lld bytes file. This file too large."

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Can't allocate data"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"Couldn't create temporary file"

	.no_dead_strip	_iso9660_write_header
.subsections_via_symbols
