	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function class_write
_class_write:                           ## @class_write
	.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
	subq	$24, %rsp
	.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, %r13
	movq	(%rdx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %r12
	callq	_strlen
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_strlen
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r15
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	callq	_cpu_to_le32
	movb	%al, -46(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpu_to_le32
	movb	%al, -45(%rbp)
	movq	8(%rbx), %rdi
	callq	_cpu_to_le32
	movb	%al, -44(%rbp)
	movq	32(%rbx), %rdi
	callq	_cpu_to_le32
	movb	%al, -43(%rbp)
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%rax), %rdi
	callq	_cpu_to_le32
                                        ## kill: def $al killed $al def $eax
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	movb	%al, -42(%rbp)
	movq	%r15, %rdi
	callq	_cpu_to_le32
	movb	%al, -41(%rbp)
	leaq	-46(%rbp), %rdi
	movl	$8, %esi
	movl	$6, %edx
	movq	%r12, %rcx
	callq	_put_entry
	testl	%eax, %eax
	jne	LBB0_20
## %bb.10:
	movq	%r13, %rdi
	movl	$1, %esi
	movl	%r14d, %edx
	movq	%r12, %rcx
	callq	_put_entry
	testl	%eax, %eax
	je	LBB0_11
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	movl	$1, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r12, %rcx
	callq	_put_entry
	testl	%eax, %eax
	jne	LBB0_20
LBB0_13:
	movq	40(%rbx), %rdi
	movq	_perm_write@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_hashtab_map
	testl	%eax, %eax
	jne	LBB0_20
## %bb.14:
	movq	24(%rbx), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_write_cons_helper
	testl	%eax, %eax
	jne	LBB0_20
## %bb.15:
	movq	16(%rbx), %rax
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	incq	%rdi
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_16
LBB0_18:
	callq	_cpu_to_le32
	movb	%al, -46(%rbp)
	leaq	-46(%rbp), %rdi
	movl	$8, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_put_entry
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:
	movq	16(%rbx), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_write_cons_helper
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_perm_write,4,2                 ## @perm_write
	.no_dead_strip	_class_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function class_write
_class_write:                           ; @class_write
	.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	x20, x1
	mov	x23, x0
	ldp	x21, x19, [x2]
	bl	_strlen
	mov	x24, x0
	ldr	x0, [x20]
	cbz	x0, LBB0_4
; %bb.1:
	bl	_strlen
	mov	x22, x0
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_5
LBB0_2:
	mov	x25, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x25, #1
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
	b	LBB0_6
LBB0_4:
	mov	x22, #0
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_2
LBB0_5:
	mov	x25, #0
LBB0_6:
	mov	x0, x24
	bl	_cpu_to_le32
	strb	w0, [sp, #10]
	mov	x0, x22
	bl	_cpu_to_le32
	strb	w0, [sp, #11]
	ldr	x0, [x20, #8]
	bl	_cpu_to_le32
	strb	w0, [sp, #12]
	ldr	x0, [x20, #32]
	bl	_cpu_to_le32
	strb	w0, [sp, #13]
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	x0, [x8]
	bl	_cpu_to_le32
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	strb	w0, [sp, #14]
	mov	x0, x25
	bl	_cpu_to_le32
	strb	w0, [sp, #15]
	add	x0, sp, #10
	mov	w1, #8
	mov	w2, #6
	mov	x3, x19
	bl	_put_entry
	cbnz	w0, LBB0_11
; %bb.10:
	mov	x0, x23
	mov	w1, #1
	mov	x2, x24
	mov	x3, x19
	bl	_put_entry
	cbz	w0, LBB0_12
LBB0_11:
	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_12:
	ldr	x0, [x20]
	cbz	x0, LBB0_14
; %bb.13:
	mov	w1, #1
	mov	x2, x22
	mov	x3, x19
	bl	_put_entry
	cbnz	w0, LBB0_11
LBB0_14:
	ldr	x0, [x20, #40]
Lloh0:
	adrp	x8, _perm_write@GOTPAGE
Lloh1:
	ldr	x8, [x8, _perm_write@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_hashtab_map
	cbnz	w0, LBB0_11
; %bb.15:
	ldr	x1, [x20, #24]
	mov	x0, x21
	mov	x2, x19
	bl	_write_cons_helper
	cbnz	w0, LBB0_11
; %bb.16:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_19
; %bb.17:
	mov	x0, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x0, #1
	ldr	x8, [x8]
	cbnz	x8, LBB0_18
	b	LBB0_20
LBB0_19:
	mov	x0, #0
LBB0_20:
	bl	_cpu_to_le32
	strb	w0, [sp, #10]
	add	x0, sp, #10
	mov	w1, #8
	mov	w2, #1
	mov	x3, x19
	bl	_put_entry
	cbnz	w0, LBB0_11
; %bb.21:
	ldr	x1, [x20, #16]
	mov	x0, x21
	mov	x2, x19
	bl	_write_cons_helper
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_perm_write,4,2                 ; @perm_write
	.no_dead_strip	_class_write
.subsections_via_symbols
