	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resource_alignment_show
_resource_alignment_show:               ## @resource_alignment_show
	.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
	movq	%rsi, %r14
	movq	_resource_alignment_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_resource_alignment_param@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_snprintf
	movq	%rax, %rbx
	movq	_resource_alignment_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	cmpq	$2, %rbx
	jb	LBB0_6
## %bb.3:
	cmpb	$10, -2(%rbx,%r14)
	je	LBB0_6
## %bb.4:
	movslq	(%r15), %rax
	decq	%rax
	cmpq	%rax, %rbx
	jae	LBB0_6
## %bb.5:
	movw	$10, -1(%rbx,%r14)
	incq	%rbx
	jmp	LBB0_6
LBB0_1:
	movq	_resource_alignment_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_resource_alignment_lock,4,2    ## @resource_alignment_lock
	.comm	_resource_alignment_param,8,3   ## @resource_alignment_param
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_resource_alignment_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resource_alignment_show
_resource_alignment_show:               ; @resource_alignment_show
	.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
	mov	x19, x1
Lloh0:
	adrp	x0, _resource_alignment_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _resource_alignment_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh2:
	adrp	x8, _resource_alignment_param@GOTPAGE
Lloh3:
	ldr	x8, [x8, _resource_alignment_param@GOTPAGEOFF]
Lloh4:
	ldr	x3, [x8]
	cbz	x3, LBB0_5
; %bb.1:
Lloh5:
	adrp	x21, _PAGE_SIZE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snprintf
	mov	x20, x0
Lloh9:
	adrp	x0, _resource_alignment_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _resource_alignment_lock@GOTPAGEOFF]
	bl	_spin_unlock
	cmp	x20, #2
	b.lo	LBB0_6
; %bb.2:
	add	x8, x20, x19
	ldurb	w8, [x8, #-2]
	cmp	w8, #10
	b.eq	LBB0_6
; %bb.3:
	ldrsw	x8, [x21]
	sub	x8, x8, #1
	cmp	x20, x8
	b.hs	LBB0_6
; %bb.4:
	add	x8, x20, x19
	mov	w9, #10
	sturh	w9, [x8, #-1]
	add	x20, x20, #1
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x0, _resource_alignment_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _resource_alignment_lock@GOTPAGEOFF]
	bl	_spin_unlock
	mov	x20, #0
LBB0_6:
	mov	x0, x20
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_resource_alignment_lock,4,2    ; @resource_alignment_lock
	.comm	_resource_alignment_param,8,3   ; @resource_alignment_param
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_resource_alignment_show
.subsections_via_symbols
