	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_iso_headers
_copy_iso_headers:                      ## @copy_iso_headers
	.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
	movslq	(%rdi), %r15
	movq	8(%rdi), %rdx
	leaq	(%rdx,%r15), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	jle	LBB0_5
## %bb.2:
	movq	%rsi, %r14
	movl	4(%rsi), %edi
	callq	___swab32
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx,%r15)
	movq	8(%rbx), %rdx
	cmpq	$5, %rdx
	jl	LBB0_5
## %bb.3:
	movl	(%r14), %edi
	callq	___swab32
	movq	16(%rbx), %rcx
	movl	%eax, 4(%r15,%rcx)
	movq	8(%rbx), %rdx
	cmpq	$9, %rdx
	jl	LBB0_5
## %bb.4:
	leaq	(%r15,%rcx), %rdi
	addq	$8, %rdi
	addq	$8, %r14
	addl	$-8, %edx
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	8(%rbx), %rdx
LBB0_5:
	addl	%edx, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_copy_iso_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_iso_headers
_copy_iso_headers:                      ; @copy_iso_headers
	.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
	ldrsw	x21, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x10, x8, x21
	cmp	x10, x9
	b.gt	LBB0_6
; %bb.1:
	mov	x19, x0
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x20, x1
	ldr	w0, [x1, #4]
	bl	___swab32
	ldp	x8, x9, [x19, #8]
	str	w0, [x9, x21]
	cmp	x8, #5
	b.lt	LBB0_5
; %bb.3:
	ldr	w0, [x20]
	bl	___swab32
	ldp	x8, x9, [x19, #8]
	add	x9, x21, x9
	str	w0, [x9, #4]
	cmp	x8, #9
	b.lt	LBB0_5
; %bb.4:
	add	x0, x9, #8
	add	x1, x20, #8
	sub	w2, w8, #8
	bl	_memcpy
	ldr	x8, [x19, #8]
LBB0_5:
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_copy_iso_headers
.subsections_via_symbols
