	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isoent_create_boot_catalog
_isoent_create_boot_catalog:            ## @isoent_create_boot_catalog
	.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	%rdi, %r15
	movq	8(%rdi), %r14
	xorl	%esi, %esi
	callq	_isofile_new
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	movl	8(%rax), %edi
	movl	56(%r14), %esi
	callq	_archive_entry_set_pathname
	movl	8(%rbx), %edi
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_archive_entry_set_size
	movl	8(%rbx), %edi
	movl	80(%r14), %esi
	xorl	%edx, %edx
	callq	_archive_entry_set_mtime
	movl	8(%rbx), %edi
	movl	80(%r14), %esi
	xorl	%edx, %edx
	callq	_archive_entry_set_atime
	movl	8(%rbx), %edi
	movl	80(%r14), %esi
	xorl	%edx, %edx
	callq	_archive_entry_set_ctime
	movl	8(%rbx), %r12d
	xorl	%eax, %eax
	callq	_getuid
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_archive_entry_set_uid
	movl	8(%rbx), %r12d
	xorl	%eax, %eax
	callq	_getgid
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_archive_entry_set_gid
	movl	8(%rbx), %edi
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	$292, %esi                      ## imm = 0x124
	orl	(%rax), %esi
	callq	_archive_entry_set_mode
	movl	8(%rbx), %edi
	movl	$1, %esi
	callq	_archive_entry_set_nlink
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_isofile_gen_utility_names
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_isofile_free
	jmp	LBB0_13
LBB0_3:
	movq	_BOOT_CATALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%r13), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_isofile_add_entry
	movq	%rbx, %rdi
	callq	_isoent_new
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movl	$1, (%rax)
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_isoent_tree
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_13
## %bb.5:
	movq	-48(%rbp), %rax
	movq	%rax, 48(%r14)
	movl	64(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_26
## %bb.6:
	cmpl	$129, %eax
	je	LBB0_16
## %bb.7:
	cmpl	$130, %eax
	jne	LBB0_17
## %bb.8:
	movq	40(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_archive_entry_size
	movq	_FD_1_2M_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_19
## %bb.9:
	movq	%r12, %rdi
	callq	_archive_entry_size
	movq	_FD_1_44M_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_22
## %bb.10:
	movq	%r12, %rdi
	callq	_archive_entry_size
	movq	_FD_2_88M_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_25
## %bb.11:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_13
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_13:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_BOOT_MEDIA_HARD_DISK@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_17:
	movq	40(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_archive_entry_size
	movq	_FD_1_2M_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
LBB0_19:
	movq	_BOOT_MEDIA_1_2M_DISKETTE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_20:
	movq	%r15, %rdi
	callq	_archive_entry_size
	movq	_FD_1_44M_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
LBB0_22:
	movq	_BOOT_MEDIA_1_44M_DISKETTE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_23:
	movq	%r15, %rdi
	callq	_archive_entry_size
	movq	_FD_2_88M_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_26
LBB0_25:
	movq	_BOOT_MEDIA_2_88M_DISKETTE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_26:
	movq	_BOOT_MEDIA_NO_EMULATION@GOTPCREL(%rip), %rax
LBB0_27:
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	movq	$0, 16(%r14)
	cmpq	$0, 72(%r14)
	je	LBB0_29
## %bb.28:
	leaq	8(%r14), %rdi
	movq	%r14, %rsi
	callq	_archive_string_copy
LBB0_29:
	movl	(%rbx), %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate memory"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ## @LOGICAL_BLOCK_SIZE
	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.comm	_ARCHIVE_WARN,8,3               ## @ARCHIVE_WARN
	.comm	_BOOT_CATALOG,4,2               ## @BOOT_CATALOG
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.comm	_FD_1_2M_SIZE,4,2               ## @FD_1_2M_SIZE
	.comm	_BOOT_MEDIA_1_2M_DISKETTE,8,3   ## @BOOT_MEDIA_1_2M_DISKETTE
	.comm	_FD_1_44M_SIZE,4,2              ## @FD_1_44M_SIZE
	.comm	_BOOT_MEDIA_1_44M_DISKETTE,8,3  ## @BOOT_MEDIA_1_44M_DISKETTE
	.comm	_FD_2_88M_SIZE,4,2              ## @FD_2_88M_SIZE
	.comm	_BOOT_MEDIA_2_88M_DISKETTE,8,3  ## @BOOT_MEDIA_2_88M_DISKETTE
	.comm	_BOOT_MEDIA_NO_EMULATION,8,3    ## @BOOT_MEDIA_NO_EMULATION
	.comm	_BOOT_MEDIA_HARD_DISK,8,3       ## @BOOT_MEDIA_HARD_DISK
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.1:                               ## @.str.1
	.asciz	"Boot image file(``%s'') size is too big for fd type."

	.no_dead_strip	_isoent_create_boot_catalog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isoent_create_boot_catalog
_isoent_create_boot_catalog:            ; @isoent_create_boot_catalog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x1, #0
	bl	_isofile_new
	cbz	x0, LBB0_12
; %bb.1:
	mov	x21, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x19, #56]
	bl	_archive_entry_set_pathname
	ldr	w0, [x21, #8]
Lloh0:
	adrp	x23, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_archive_entry_set_size
	ldr	w0, [x21, #8]
	ldr	w1, [x19, #80]
	mov	w2, #0
	bl	_archive_entry_set_mtime
	ldr	w0, [x21, #8]
	ldr	w1, [x19, #80]
	mov	w2, #0
	bl	_archive_entry_set_atime
	ldr	w0, [x21, #8]
	ldr	w1, [x19, #80]
	mov	w2, #0
	bl	_archive_entry_set_ctime
	ldr	w22, [x21, #8]
	bl	_getuid
	mov	x1, x0
	mov	x0, x22
	bl	_archive_entry_set_uid
	ldr	w22, [x21, #8]
	bl	_getgid
	mov	x1, x0
	mov	x0, x22
	bl	_archive_entry_set_gid
	ldr	w0, [x21, #8]
Lloh2:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #292
	orr	w1, w8, w9
	bl	_archive_entry_set_mode
	ldr	w0, [x21, #8]
	mov	w1, #1
	bl	_archive_entry_set_nlink
	mov	x0, x20
	mov	x1, x21
	bl	_isofile_gen_utility_names
Lloh5:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_isofile_free
	b	LBB0_14
LBB0_3:
Lloh8:
	adrp	x8, _BOOT_CATALOG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BOOT_CATALOG@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x23]
	stp	w9, w8, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_isofile_add_entry
	mov	x0, x21
	bl	_isoent_new
	str	x0, [sp, #8]
	cbz	x0, LBB0_12
; %bb.4:
	mov	w8, #1
	str	w8, [x0]
	add	x1, sp, #8
	mov	x0, x20
	bl	_isoent_tree
Lloh11:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh12:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.5:
	ldr	x8, [sp, #8]
	str	x8, [x19, #48]
	ldr	w8, [x19, #64]
Lloh13:
	adrp	x21, _BOOT_MEDIA_NO_EMULATION@GOTPAGE
Lloh14:
	ldr	x21, [x21, _BOOT_MEDIA_NO_EMULATION@GOTPAGEOFF]
	cmp	w8, #128
	b.eq	LBB0_23
; %bb.6:
	cmp	w8, #129
	b.eq	LBB0_16
; %bb.7:
	cmp	w8, #130
	b.ne	LBB0_17
; %bb.8:
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x21, [x8]
	mov	x0, x21
	bl	_archive_entry_size
Lloh15:
	adrp	x8, _FD_1_2M_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FD_1_2M_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_18
; %bb.9:
	mov	x0, x21
	bl	_archive_entry_size
Lloh18:
	adrp	x8, _FD_1_44M_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FD_1_44M_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_20
; %bb.10:
	mov	x0, x21
	bl	_archive_entry_size
Lloh21:
	adrp	x8, _FD_2_88M_SIZE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FD_2_88M_SIZE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_22
; %bb.11:
Lloh24:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w8, [x19, #24]
	str	x8, [sp]
Lloh27:
	adrp	x2, l_.str.1@PAGE
Lloh28:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str@PAGE
Lloh33:
	add	x2, x2, l_.str@PAGEOFF
LBB0_13:
	mov	x0, x20
	bl	_archive_set_error
LBB0_14:
Lloh34:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
Lloh37:
	adrp	x21, _BOOT_MEDIA_HARD_DISK@GOTPAGE
Lloh38:
	ldr	x21, [x21, _BOOT_MEDIA_HARD_DISK@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_archive_entry_size
Lloh39:
	adrp	x8, _FD_1_2M_SIZE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FD_1_2M_SIZE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_19
LBB0_18:
Lloh42:
	adrp	x21, _BOOT_MEDIA_1_2M_DISKETTE@GOTPAGE
Lloh43:
	ldr	x21, [x21, _BOOT_MEDIA_1_2M_DISKETTE@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
	mov	x0, x20
	bl	_archive_entry_size
Lloh44:
	adrp	x8, _FD_1_44M_SIZE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _FD_1_44M_SIZE@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_21
LBB0_20:
Lloh47:
	adrp	x21, _BOOT_MEDIA_1_44M_DISKETTE@GOTPAGE
Lloh48:
	ldr	x21, [x21, _BOOT_MEDIA_1_44M_DISKETTE@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
	mov	x0, x20
	bl	_archive_entry_size
Lloh49:
	adrp	x8, _FD_2_88M_SIZE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _FD_2_88M_SIZE@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, _BOOT_MEDIA_2_88M_DISKETTE@GOTPAGE
Lloh53:
	ldr	x9, [x9, _BOOT_MEDIA_2_88M_DISKETTE@GOTPAGEOFF]
	cmp	w0, w8
	csel	x21, x9, x21, eq
	b	LBB0_23
LBB0_22:
Lloh54:
	adrp	x21, _BOOT_MEDIA_2_88M_DISKETTE@GOTPAGE
Lloh55:
	ldr	x21, [x21, _BOOT_MEDIA_2_88M_DISKETTE@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x21]
	str	x8, [x19, #32]
	str	xzr, [x19, #16]
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_25
; %bb.24:
	add	x0, x19, #8
	mov	x1, x19
	bl	_archive_string_copy
LBB0_25:
	ldr	w0, [x22]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate memory"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ; @LOGICAL_BLOCK_SIZE
	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.comm	_ARCHIVE_WARN,8,3               ; @ARCHIVE_WARN
	.comm	_BOOT_CATALOG,4,2               ; @BOOT_CATALOG
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.comm	_FD_1_2M_SIZE,4,2               ; @FD_1_2M_SIZE
	.comm	_BOOT_MEDIA_1_2M_DISKETTE,8,3   ; @BOOT_MEDIA_1_2M_DISKETTE
	.comm	_FD_1_44M_SIZE,4,2              ; @FD_1_44M_SIZE
	.comm	_BOOT_MEDIA_1_44M_DISKETTE,8,3  ; @BOOT_MEDIA_1_44M_DISKETTE
	.comm	_FD_2_88M_SIZE,4,2              ; @FD_2_88M_SIZE
	.comm	_BOOT_MEDIA_2_88M_DISKETTE,8,3  ; @BOOT_MEDIA_2_88M_DISKETTE
	.comm	_BOOT_MEDIA_NO_EMULATION,8,3    ; @BOOT_MEDIA_NO_EMULATION
	.comm	_BOOT_MEDIA_HARD_DISK,8,3       ; @BOOT_MEDIA_HARD_DISK
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.1:                               ; @.str.1
	.asciz	"Boot image file(``%s'') size is too big for fd type."

	.no_dead_strip	_isoent_create_boot_catalog
.subsections_via_symbols
