	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_output_conv_privacy            ## -- Begin function output_conv_privacy
	.p2align	4, 0x90
_output_conv_privacy:                   ## @output_conv_privacy
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movl	%edi, %r14d
	callq	_assert
	testl	%ebx, %ebx
	js	LBB0_1
## %bb.4:
	addl	%ebx, %ebx
	movq	%r15, %rdi
	callq	_strlen
	movl	$-1, %r12d
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.6:
	movslq	%ebx, %rax
	addq	%rax, %r15
	cmpb	$42, (%r15)
	je	LBB0_8
	jmp	LBB0_15
LBB0_1:
	negl	%ebx
	shrl	%ebx
	movzbl	%bl, %r12d
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.2:
	movq	_CAT_FR_PACKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	movq	_PL_M_CAT@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_PL_M_ALLOW@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	leaq	L_.str(%rip), %r15
	cmpb	$42, (%r15)
	je	LBB0_8
	jmp	LBB0_15
LBB0_5:
	leaq	L_.str.1(%rip), %r15
	cmpb	$42, (%r15)
	jne	LBB0_15
LBB0_8:
	movsbl	1(%r15), %eax
	cmpl	$71, %eax
	je	LBB0_13
## %bb.9:
	cmpl	$65, %eax
	je	LBB0_12
## %bb.10:
	cmpl	$48, %eax
	jne	LBB0_15
## %bb.11:
	movq	_PL_M_ALLOW@GOTPCREL(%rip), %rax
	movq	_PL_M_CAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	addl	(%rax), %r12d
	movq	_CAT_FR_PACKED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_PL_M_ALLOW@GOTPCREL(%rip), %rax
	movq	_PL_M_CAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	addl	(%rax), %r12d
	movq	_CAT_FR_FR@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_PL_M_ALLOW@GOTPCREL(%rip), %rax
	movq	_PL_M_CAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	addl	(%rax), %r12d
	movq	_CAT_FR_ALL@GOTPCREL(%rip), %rax
LBB0_14:
	addl	(%rax), %r12d
LBB0_15:
	xorl	%eax, %eax
	cmpl	$-1, %r12d
	setne	%al
	leal	16(,%rax,4), %edi
	callq	_write_alloc
	movq	_LEV_FR_SET_PRIVACY_FORCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_user_id@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rax)
	movl	%r14d, 12(%rax)
	cmpl	$-1, %r12d
	je	LBB0_17
## %bb.16:
	incl	%ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rax
	movl	%r12d, (%rax)
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_CAT_FR_PACKED,4,2              ## @CAT_FR_PACKED
	.comm	_PL_M_CAT,4,2                   ## @PL_M_CAT
	.comm	_PL_M_ALLOW,4,2                 ## @PL_M_ALLOW
L_.str.1:                               ## @.str.1
	.asciz	"*A"

	.comm	_CAT_FR_ALL,4,2                 ## @CAT_FR_ALL
	.comm	_CAT_FR_FR,4,2                  ## @CAT_FR_FR
	.comm	_LEV_FR_SET_PRIVACY_FORCE,4,2   ## @LEV_FR_SET_PRIVACY_FORCE
	.comm	_user_id,4,2                    ## @user_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_output_conv_privacy            ; -- Begin function output_conv_privacy
	.p2align	2
_output_conv_privacy:                   ; @output_conv_privacy
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_assert
	tbnz	w21, #31, LBB0_2
; %bb.1:
	lsl	w21, w21, #1
	mov	x0, x20
	bl	_strlen
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	mov	w9, #-1
	add	x10, x20, w21, sxtw
	mov	w11, #-1
	cmp	w21, w0
	csel	w20, w9, w11, ge
	csel	x8, x8, x10, ge
	b	LBB0_3
LBB0_2:
	neg	w8, w21
Lloh2:
	adrp	x9, _CAT_FR_PACKED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CAT_FR_PACKED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	mov	w10, #255
	ands	w8, w10, w8, lsr #1
	csel	w8, w9, w8, eq
Lloh5:
	adrp	x9, _PL_M_CAT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PL_M_CAT@GOTPAGEOFF]
Lloh7:
	adrp	x10, _PL_M_ALLOW@GOTPAGE
Lloh8:
	ldr	x10, [x10, _PL_M_ALLOW@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w20, w8, w10
Lloh11:
	adrp	x8, l_.str@PAGE
Lloh12:
	add	x8, x8, l_.str@PAGEOFF
LBB0_3:
	ldrb	w9, [x8]
	cmp	w9, #42
	b.ne	LBB0_11
; %bb.4:
	ldrsb	w8, [x8, #1]
	cmp	w8, #71
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #65
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #48
	b.ne	LBB0_11
; %bb.7:
Lloh13:
	adrp	x8, _PL_M_ALLOW@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PL_M_ALLOW@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _PL_M_CAT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PL_M_CAT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _CAT_FR_PACKED@GOTPAGE
Lloh20:
	ldr	x10, [x10, _CAT_FR_PACKED@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh21:
	adrp	x8, _PL_M_ALLOW@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PL_M_ALLOW@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _PL_M_CAT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PL_M_CAT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _CAT_FR_FR@GOTPAGE
Lloh28:
	ldr	x10, [x10, _CAT_FR_FR@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh29:
	adrp	x8, _PL_M_ALLOW@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PL_M_ALLOW@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _PL_M_CAT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _PL_M_CAT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _CAT_FR_ALL@GOTPAGE
Lloh36:
	ldr	x10, [x10, _CAT_FR_ALL@GOTPAGEOFF]
LBB0_10:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w20, w8, w10
LBB0_11:
	cmn	w20, #1
	mov	w8, #20
	mov	w9, #16
	csel	w0, w9, w8, eq
	bl	_write_alloc
Lloh37:
	adrp	x8, _LEV_FR_SET_PRIVACY_FORCE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LEV_FR_SET_PRIVACY_FORCE@GOTPAGEOFF]
Lloh39:
	adrp	x9, _user_id@GOTPAGE
Lloh40:
	ldr	x9, [x9, _user_id@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	ldr	w9, [x9]
	stp	w19, w9, [x0, #12]
	str	w8, [x0, #8]
	cmn	w20, #1
	b.eq	LBB0_13
; %bb.12:
	add	w8, w8, #1
	str	w8, [x0, #8]
	ldr	x8, [x0]
	str	w20, [x8]
LBB0_13:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_CAT_FR_PACKED,4,2              ; @CAT_FR_PACKED
	.comm	_PL_M_CAT,4,2                   ; @PL_M_CAT
	.comm	_PL_M_ALLOW,4,2                 ; @PL_M_ALLOW
l_.str.1:                               ; @.str.1
	.asciz	"*A"

	.comm	_CAT_FR_ALL,4,2                 ; @CAT_FR_ALL
	.comm	_CAT_FR_FR,4,2                  ; @CAT_FR_FR
	.comm	_LEV_FR_SET_PRIVACY_FORCE,4,2   ; @LEV_FR_SET_PRIVACY_FORCE
	.comm	_user_id,4,2                    ; @user_id
.subsections_via_symbols
