	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cd9660_pad_string_spaces       ## -- Begin function cd9660_pad_string_spaces
	.p2align	4, 0x90
_cd9660_pad_string_spaces:              ## @cd9660_pad_string_spaces
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_63
## %bb.1:
	movl	%esi, %eax
	cmpl	$8, %esi
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_60
LBB0_3:
	cmpl	$16, %esi
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_41
LBB0_5:
	movl	%eax, %ecx
	andl	$-16, %ecx
	xorl	%edx, %edx
	pxor	%xmm0, %xmm0
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	je	LBB0_39
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rdx), %xmm1
	pcmpeqb	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$1, %sil
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, (%rdi,%rdx)
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$1, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 1(%rdi,%rdx)
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$2, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 2(%rdi,%rdx)
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$3, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 3(%rdi,%rdx)
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$4, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 4(%rdi,%rdx)
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$5, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 5(%rdi,%rdx)
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$6, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 6(%rdi,%rdx)
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$7, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 7(%rdi,%rdx)
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$8, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 8(%rdi,%rdx)
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$9, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 9(%rdi,%rdx)
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$10, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 10(%rdi,%rdx)
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$11, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 11(%rdi,%rdx)
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$12, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 12(%rdi,%rdx)
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$13, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 13(%rdi,%rdx)
LBB0_34:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$14, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 14(%rdi,%rdx)
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=1
	pextrb	$15, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$32, 15(%rdi,%rdx)
	jmp	LBB0_38
LBB0_39:
	cmpq	%rax, %rcx
	je	LBB0_63
## %bb.40:
	testb	$8, %al
	je	LBB0_60
LBB0_41:
	movq	%rcx, %rdx
	movl	%eax, %ecx
	andl	$-8, %ecx
	pxor	%xmm0, %xmm0
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_42 Depth=1
	addq	$8, %rdx
	cmpq	%rdx, %rcx
	je	LBB0_59
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rdx), %xmm1              ## xmm1 = mem[0],zero
	pcmpeqb	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$1, %sil
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, (%rdi,%rdx)
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$1, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, 1(%rdi,%rdx)
LBB0_46:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$2, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, 2(%rdi,%rdx)
LBB0_48:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$3, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, 3(%rdi,%rdx)
LBB0_50:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$4, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, 4(%rdi,%rdx)
LBB0_52:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$5, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, 5(%rdi,%rdx)
LBB0_54:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$6, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, 6(%rdi,%rdx)
LBB0_56:                                ##   in Loop: Header=BB0_42 Depth=1
	pextrb	$7, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_42 Depth=1
	movb	$32, 7(%rdi,%rdx)
	jmp	LBB0_58
LBB0_59:
	cmpq	%rax, %rcx
	jne	LBB0_60
LBB0_63:
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_62:                                ##   in Loop: Header=BB0_60 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_63
LBB0_60:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rdi,%rcx)
	jne	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_60 Depth=1
	movb	$32, (%rdi,%rcx)
	jmp	LBB0_62
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cd9660_pad_string_spaces       ; -- Begin function cd9660_pad_string_spaces
	.p2align	2
_cd9660_pad_string_spaces:              ; @cd9660_pad_string_spaces
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_60
; %bb.1:
	mov	w8, w1
	cmp	w1, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_61
LBB0_3:
	cmp	w1, #16
	b.hs	LBB0_5
; %bb.4:
	mov	x9, #0
	b	LBB0_41
LBB0_5:
	and	x9, x8, #0xfffffff0
	add	x10, x0, #7
	mov	w11, #32
	mov	x12, x9
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x10, #16
	subs	x12, x12, #16
	b.eq	LBB0_39
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q0, [x10, #-7]
	cmeq.16b	v0, v0, #0
	umov.b	w13, v0[0]
	tbnz	w13, #0, LBB0_23
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[1]
	tbnz	w13, #0, LBB0_24
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[2]
	tbnz	w13, #0, LBB0_25
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[3]
	tbnz	w13, #0, LBB0_26
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[4]
	tbnz	w13, #0, LBB0_27
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[5]
	tbnz	w13, #0, LBB0_28
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[6]
	tbnz	w13, #0, LBB0_29
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[7]
	tbnz	w13, #0, LBB0_30
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[8]
	tbnz	w13, #0, LBB0_31
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[9]
	tbnz	w13, #0, LBB0_32
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[10]
	tbnz	w13, #0, LBB0_33
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[11]
	tbnz	w13, #0, LBB0_34
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[12]
	tbnz	w13, #0, LBB0_35
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[13]
	tbnz	w13, #0, LBB0_36
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[14]
	tbnz	w13, #0, LBB0_37
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	umov.b	w13, v0[15]
	tbz	w13, #0, LBB0_6
	b	LBB0_38
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	sturb	w11, [x10, #-7]
	umov.b	w13, v0[1]
	tbz	w13, #0, LBB0_9
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	sturb	w11, [x10, #-6]
	umov.b	w13, v0[2]
	tbz	w13, #0, LBB0_10
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	sturb	w11, [x10, #-5]
	umov.b	w13, v0[3]
	tbz	w13, #0, LBB0_11
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
	sturb	w11, [x10, #-4]
	umov.b	w13, v0[4]
	tbz	w13, #0, LBB0_12
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=1
	sturb	w11, [x10, #-3]
	umov.b	w13, v0[5]
	tbz	w13, #0, LBB0_13
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=1
	sturb	w11, [x10, #-2]
	umov.b	w13, v0[6]
	tbz	w13, #0, LBB0_14
LBB0_29:                                ;   in Loop: Header=BB0_7 Depth=1
	sturb	w11, [x10, #-1]
	umov.b	w13, v0[7]
	tbz	w13, #0, LBB0_15
LBB0_30:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10]
	umov.b	w13, v0[8]
	tbz	w13, #0, LBB0_16
LBB0_31:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #1]
	umov.b	w13, v0[9]
	tbz	w13, #0, LBB0_17
LBB0_32:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #2]
	umov.b	w13, v0[10]
	tbz	w13, #0, LBB0_18
LBB0_33:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #3]
	umov.b	w13, v0[11]
	tbz	w13, #0, LBB0_19
LBB0_34:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #4]
	umov.b	w13, v0[12]
	tbz	w13, #0, LBB0_20
LBB0_35:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #5]
	umov.b	w13, v0[13]
	tbz	w13, #0, LBB0_21
LBB0_36:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #6]
	umov.b	w13, v0[14]
	tbz	w13, #0, LBB0_22
LBB0_37:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #7]
	umov.b	w13, v0[15]
	tbz	w13, #0, LBB0_6
LBB0_38:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w11, [x10, #8]
	b	LBB0_6
LBB0_39:
	cmp	x9, x8
	b.eq	LBB0_60
; %bb.40:
	tbz	w8, #3, LBB0_61
LBB0_41:
	mov	x11, x9
	and	x9, x8, #0xfffffff8
	sub	x10, x11, x9
	add	x11, x11, x0
	add	x11, x11, #3
	mov	w12, #32
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=1
	add	x11, x11, #8
	adds	x10, x10, #8
	b.eq	LBB0_59
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldur	d0, [x11, #-3]
	cmeq.8b	v0, v0, #0
	umov.b	w13, v0[0]
	tbnz	w13, #0, LBB0_51
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	umov.b	w13, v0[1]
	tbnz	w13, #0, LBB0_52
LBB0_45:                                ;   in Loop: Header=BB0_43 Depth=1
	umov.b	w13, v0[2]
	tbnz	w13, #0, LBB0_53
LBB0_46:                                ;   in Loop: Header=BB0_43 Depth=1
	umov.b	w13, v0[3]
	tbnz	w13, #0, LBB0_54
LBB0_47:                                ;   in Loop: Header=BB0_43 Depth=1
	umov.b	w13, v0[4]
	tbnz	w13, #0, LBB0_55
LBB0_48:                                ;   in Loop: Header=BB0_43 Depth=1
	umov.b	w13, v0[5]
	tbnz	w13, #0, LBB0_56
LBB0_49:                                ;   in Loop: Header=BB0_43 Depth=1
	umov.b	w13, v0[6]
	tbnz	w13, #0, LBB0_57
LBB0_50:                                ;   in Loop: Header=BB0_43 Depth=1
	umov.b	w13, v0[7]
	tbz	w13, #0, LBB0_42
	b	LBB0_58
LBB0_51:                                ;   in Loop: Header=BB0_43 Depth=1
	sturb	w12, [x11, #-3]
	umov.b	w13, v0[1]
	tbz	w13, #0, LBB0_45
LBB0_52:                                ;   in Loop: Header=BB0_43 Depth=1
	sturb	w12, [x11, #-2]
	umov.b	w13, v0[2]
	tbz	w13, #0, LBB0_46
LBB0_53:                                ;   in Loop: Header=BB0_43 Depth=1
	sturb	w12, [x11, #-1]
	umov.b	w13, v0[3]
	tbz	w13, #0, LBB0_47
LBB0_54:                                ;   in Loop: Header=BB0_43 Depth=1
	strb	w12, [x11]
	umov.b	w13, v0[4]
	tbz	w13, #0, LBB0_48
LBB0_55:                                ;   in Loop: Header=BB0_43 Depth=1
	strb	w12, [x11, #1]
	umov.b	w13, v0[5]
	tbz	w13, #0, LBB0_49
LBB0_56:                                ;   in Loop: Header=BB0_43 Depth=1
	strb	w12, [x11, #2]
	umov.b	w13, v0[6]
	tbz	w13, #0, LBB0_50
LBB0_57:                                ;   in Loop: Header=BB0_43 Depth=1
	strb	w12, [x11, #3]
	umov.b	w13, v0[7]
	tbz	w13, #0, LBB0_42
LBB0_58:                                ;   in Loop: Header=BB0_43 Depth=1
	strb	w12, [x11, #4]
	b	LBB0_42
LBB0_59:
	cmp	x9, x8
	b.ne	LBB0_61
LBB0_60:
	ret
LBB0_61:
	add	x10, x0, x9
	sub	x8, x8, x9
	mov	w9, #32
	b	LBB0_63
LBB0_62:                                ;   in Loop: Header=BB0_63 Depth=1
	add	x10, x10, #1
	subs	x8, x8, #1
	b.eq	LBB0_60
LBB0_63:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10]
	cbnz	w11, LBB0_62
; %bb.64:                               ;   in Loop: Header=BB0_63 Depth=1
	strb	w9, [x10]
	b	LBB0_62
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
