	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_unused_cats
_remove_unused_cats:                    ## @remove_unused_cats
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	cmpl	$-1, %esi
	je	LBB0_15
## %bb.1:
	movq	_CAT_FR_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	testl	%r12d, %r12d
	je	LBB0_15
## %bb.2:
	xorl	%r14d, %r14d
	movq	_PL_M_CAT@GOTPCREL(%rip), %r9
	movq	_PL_M_MASK@GOTPCREL(%rip), %rdx
	movq	_CAT_FR_FR@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	movq	%rax, %rdi
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r9, %r10
	movl	(%r9), %ebx
	movq	%rdx, %r11
	movl	(%rdx), %edx
	movq	%rcx, %r8
	movl	(%rcx), %r13d
	addq	$4, %rdi
	movq	%rdi, %rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%ecx, %r14d
	jl	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=2
	movl	(%rdi), %esi
	leaq	4(%rdi), %rcx
	cmpl	$-1, %esi
	je	LBB0_16
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rdi
	testl	%esi, %ebx
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%edx, %ecx
	andl	%esi, %ecx
	cmpl	%r12d, %ecx
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%r13d, %ecx
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	andl	$31, %ecx
	movl	$1, %r9d
	shll	%cl, %r9d
	btl	%ecx, %r15d
	jb	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %ecx
	movl	$0, %ecx
	sbbl	%ecx, %ecx
	orl	%r9d, %ecx
	orl	%ecx, %r15d
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	%ecx, %r14d
	movl	$-1, %r15d
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r10, %r9
	movq	%r11, %rdx
	movq	%r8, %rcx
	movl	%esi, (%rax)
	addq	$4, %rax
	movl	(%rdi), %esi
	cmpl	$-1, %esi
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CAT_FR_ALL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	cmpl	%r12d, %r14d
	jne	LBB0_3
	jmp	LBB0_16
LBB0_15:
	movq	%rax, %rdi
LBB0_16:
	movl	$-1, (%rax)
	subq	%rdi, %rax
	shrq	$2, %rax
	movq	_PL@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P,8,3                          ## @P
	.comm	_CAT_FR_ALL,4,2                 ## @CAT_FR_ALL
	.comm	_PL_M_CAT,4,2                   ## @PL_M_CAT
	.comm	_PL_M_MASK,4,2                  ## @PL_M_MASK
	.comm	_CAT_FR_FR,4,2                  ## @CAT_FR_FR
	.comm	_PL,4,2                         ## @PL
	.no_dead_strip	_remove_unused_cats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_unused_cats
_remove_unused_cats:                    ; @remove_unused_cats
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _P@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CAT_FR_ALL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAT_FR_ALL@GOTPAGEOFF]
	ldr	w0, [x9]
	ldr	w11, [x8]
	cmn	w11, #1
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x17, x8
LBB0_2:
	mov	w9, #-1
	str	w9, [x8]
	sub	x8, x8, x17
	lsr	x0, x8, #2
Lloh5:
	adrp	x8, _PL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PL@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_3:
	mov	w10, #0
	mov	w12, #0
Lloh8:
	adrp	x13, _PL_M_CAT@GOTPAGE
Lloh9:
	ldr	x13, [x13, _PL_M_CAT@GOTPAGEOFF]
Lloh10:
	adrp	x14, _PL_M_MASK@GOTPAGE
Lloh11:
	ldr	x14, [x14, _PL_M_MASK@GOTPAGEOFF]
Lloh12:
	adrp	x15, _CAT_FR_FR@GOTPAGE
Lloh13:
	ldr	x15, [x15, _CAT_FR_FR@GOTPAGEOFF]
	mov	w16, #1
	mov	x17, x8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	orr	w10, w4, w10
	mov	w12, #-1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w11, [x8], #4
	ldr	w0, [x9]
	ldr	w11, [x17]
	cmn	w11, #1
	ccmp	w10, w0, #4, ne
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w1, [x13]
	ldr	w2, [x14]
	add	x4, x17, #4
	ldr	w3, [x15]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	cmp	w10, w4
	b.lt	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	x4, x17
	ldr	w11, [x4], #4
	cmn	w11, #1
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x17, x4
	tst	w1, w11
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	and	w4, w2, w11
	cmp	w4, w0
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w4, w3
	b.eq	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	lsl	w5, w16, w4
	tst	w5, w12
	b.ne	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	tst	w4, #0x1f
	csinv	w0, w5, wzr, ne
	orr	w12, w0, w12
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_P,8,3                          ; @P
	.comm	_CAT_FR_ALL,4,2                 ; @CAT_FR_ALL
	.comm	_PL_M_CAT,4,2                   ; @PL_M_CAT
	.comm	_PL_M_MASK,4,2                  ; @PL_M_MASK
	.comm	_CAT_FR_FR,4,2                  ; @CAT_FR_FR
	.comm	_PL,4,2                         ; @PL
	.no_dead_strip	_remove_unused_cats
.subsections_via_symbols
