	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_length_unit_log
_write_length_unit_log:                 ## @write_length_unit_log
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_length_str@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_find_attr
	movl	$0, -36(%rbp)
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r14
	movq	8(%rax), %rax
	movl	(%rax), %edi
	leaq	-36(%rbp), %rsi
	callq	_or_attr_value
	movl	%eax, %r12d
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.2:
	leaq	-36(%rbp), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	je	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_or_attr_value
	orl	%eax, %r12d
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_7:
	xorl	%esi, %esi
	cmpl	$0, -36(%rbp)
	jne	LBB0_11
## %bb.8:
	notl	%r12d
	testb	$1, %r12b
	je	LBB0_11
## %bb.9:
	xorl	%esi, %esi
	movl	%r12d, %eax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	incl	%esi
	shrl	%eax
	testb	$2, %r12b
	movl	%eax, %r12d
	jne	LBB0_10
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_length_str,4,2                 ## @length_str
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"const int length_unit_log = %u;\n"

	.no_dead_strip	_write_length_unit_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_length_unit_log
_write_length_unit_log:                 ; @write_length_unit_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x0, _length_str@GOTPAGE
Lloh1:
	ldr	x0, [x0, _length_str@GOTPAGEOFF]
	mov	w1, #0
	bl	_find_attr
	str	wzr, [sp, #12]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_or_attr_value
	mov	x19, x0
	ldr	x20, [x20]
	cbnz	x20, LBB0_5
LBB0_2:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_7
; %bb.3:
	mov	w1, #0
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_2
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x21, [x20, #8]
	cbz	x21, LBB0_4
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x20]
	add	x1, sp, #12
	bl	_or_attr_value
	orr	w19, w0, w19
	ldr	x21, [x21]
	cbnz	x21, LBB0_6
	b	LBB0_4
LBB0_7:
	mov	w1, #0
	mvn	w8, w19
	tbz	w8, #0, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	add	w1, w1, #1
	lsr	w8, w8, #1
	tbnz	w9, #1, LBB0_8
LBB0_9:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_length_str,4,2                 ; @length_str
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"const int length_unit_log = %u;\n"

	.no_dead_strip	_write_length_unit_log
.subsections_via_symbols
