	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dyn_user_header                ## -- Begin function dyn_user_header
	.p2align	4, 0x90
_dyn_user_header:                       ## @dyn_user_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edi, %eax
	cltd
	idivl	%ecx
	movl	%edx, %ebx
	decl	%ecx
	movl	%edi, %eax
	cltd
	idivl	%ecx
	movl	%edx, %r12d
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setg	%dil
	callq	_assert
	movq	_Users@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rax
	movslq	%ebx, %r13
	movl	(%rax,%r13,4), %edx
	cmpl	%r15d, %edx
	sete	%cl
	testl	%edx, %edx
	je	LBB0_7
## %bb.1:
	cmpl	%r15d, %edx
	je	LBB0_7
## %bb.2:
	incl	%r12d
	movq	_PRIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addl	%r12d, %ebx
	xorl	%ecx, %ecx
	cmpl	%edx, %ebx
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	subl	%ecx, %ebx
	movslq	%ebx, %r13
	movl	(%rax,%r13,4), %esi
	cmpl	%r15d, %esi
	sete	%cl
	testl	%esi, %esi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r15d, %esi
	jne	LBB0_3
LBB0_7:
	testb	%cl, %cl
	je	LBB0_11
## %bb.8:
	testl	%r14d, %r14d
	jns	LBB0_10
## %bb.9:
	movq	_UserModHeaders@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%r13,8)
LBB0_10:
	movq	_UserModHeaders@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rbx
	jmp	LBB0_16
LBB0_11:
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.12:
	movq	%rdi, %r12
	movl	$4, %edi
	movl	$4, %esi
	callq	_dyn_alloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_u_cnt@GOTPCREL(%rip), %r14
	movq	_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %eax
	addl	$3, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	xorl	%edi, %edi
	cmpl	%eax, (%r14)
	setle	%dil
	callq	_assert
	incl	(%r14)
	movq	(%r12), %rax
	movl	%r15d, (%rax,%r13,4)
	movq	_UserModHeaders@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, (%rax,%r13,8)
	jmp	LBB0_16
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRIME,4,2                      ## @PRIME
	.comm	_Users,8,3                      ## @Users
	.comm	_UserModHeaders,8,3             ## @UserModHeaders
	.comm	_u_cnt,4,2                      ## @u_cnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dyn_user_header                ; -- Begin function dyn_user_header
	.p2align	2
_dyn_user_header:                       ; @dyn_user_header
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _PRIME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PRIME@GOTPAGEOFF]
	ldr	w24, [x22]
	sdiv	w8, w0, w24
	msub	w23, w8, w24, w0
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
Lloh2:
	adrp	x21, _Users@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Users@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w10, [x8, w23, sxtw #2]
	cmp	w10, w19
	cset	w9, eq
	cmp	w10, #0
	ccmp	w10, w19, #4, ne
	b.ne	LBB0_5
; %bb.1:
	sxtw	x23, w23
	cbz	w9, LBB0_8
LBB0_2:
	tbz	w20, #31, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _UserModHeaders@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UserModHeaders@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	xzr, [x8, x23, lsl #3]
LBB0_4:
Lloh7:
	adrp	x8, _UserModHeaders@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UserModHeaders@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x20, [x8, x23, lsl #3]
	b	LBB0_12
LBB0_5:
	sub	w9, w24, #1
	sdiv	w10, w19, w9
	msub	w9, w10, w9, w19
	add	w10, w9, #1
	ldr	w11, [x22]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w10, w23
	cmp	w9, w11
	csel	w12, wzr, w11, lt
	sub	w23, w9, w12
	ldr	w12, [x8, w23, sxtw #2]
	cmp	w12, w19
	cset	w9, eq
	cmp	w12, #0
	ccmp	w12, w19, #4, ne
	b.ne	LBB0_6
; %bb.7:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x23, w23
	cbnz	w9, LBB0_2
LBB0_8:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w0, #4
	mov	w1, #4
	bl	_dyn_alloc
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh10:
	adrp	x24, _u_cnt@GOTPAGE
Lloh11:
	ldr	x24, [x24, _u_cnt@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [x22]
	add	w9, w9, w9, lsl #1
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	cmp	w8, w9, asr #2
	cset	w0, le
	bl	_assert
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
	ldr	x8, [x21]
	str	w19, [x8, x23, lsl #2]
Lloh12:
	adrp	x8, _UserModHeaders@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UserModHeaders@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x20, [x8, x23, lsl #3]
	b	LBB0_12
LBB0_11:
	mov	x20, #0
LBB0_12:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PRIME,4,2                      ; @PRIME
	.comm	_Users,8,3                      ; @Users
	.comm	_UserModHeaders,8,3             ; @UserModHeaders
	.comm	_u_cnt,4,2                      ; @u_cnt
.subsections_via_symbols
