	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_entry_flags_common
_change_entry_flags_common:             ## @change_entry_flags_common
	.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
	movl	%edx, %r13d
	movq	_SUBCATS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	decl	%r15d
	andl	%r15d, %r13d
	andl	%ecx, %r15d
	cmpl	%r13d, %r15d
	je	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	movl	%edi, %ebx
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_load_o_tree_sub
	leaq	-48(%rbp), %rdi
	movl	%r15d, %esi
	callq	_load_o_tree_sub
	leaq	-44(%rbp), %rdi
	movl	%r13d, %esi
	callq	_load_g_tree_sub
	leaq	-52(%rbp), %r13
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_load_g_tree_sub
	xorl	%eax, %eax
	callq	_lrand48
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_listree_delete_small
	xorl	%eax, %eax
	callq	_lrand48
	leaq	-48(%rbp), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_listree_insert_small
	movq	_Y_MULT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	imull	%ebx, %edx
	leaq	-44(%rbp), %rdi
	movl	%r14d, %esi
	callq	_listree_delete_small
	imull	(%r15), %ebx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_listree_insert_small
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBCATS,4,2                    ## @SUBCATS
	.comm	_Y_MULT,4,2                     ## @Y_MULT
	.no_dead_strip	_change_entry_flags_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_entry_flags_common
_change_entry_flags_common:             ; @change_entry_flags_common
	.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	x8, _SUBCATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUBCATS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
	and	w22, w8, w2
	and	w21, w8, w3
	cmp	w21, w22
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #12
	mov	x1, x22
	bl	_load_o_tree_sub
	add	x0, sp, #8
	mov	x1, x21
	bl	_load_o_tree_sub
	add	x0, sp, #4
	mov	x1, x22
	bl	_load_g_tree_sub
	mov	x0, sp
	mov	x1, x21
	bl	_load_g_tree_sub
	bl	_lrand48
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x20
	bl	_listree_delete_small
	bl	_lrand48
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x20
	bl	_listree_insert_small
Lloh3:
	adrp	x21, _Y_MULT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Y_MULT@GOTPAGEOFF]
	ldr	w8, [x21]
	mul	w2, w8, w20
	add	x0, sp, #4
	mov	x1, x19
	bl	_listree_delete_small
	ldr	w8, [x21]
	mul	w2, w8, w20
	mov	x0, sp
	mov	x1, x19
	bl	_listree_insert_small
LBB0_2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBCATS,4,2                    ; @SUBCATS
	.comm	_Y_MULT,4,2                     ; @Y_MULT
	.no_dead_strip	_change_entry_flags_common
.subsections_via_symbols
