	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_set_privacy                 ## -- Begin function do_set_privacy
	.p2align	4, 0x90
_do_set_privacy:                        ## @do_set_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	%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	%r8d, %r14d
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	%edi, %r12d
	callq	_conv_uid
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	testq	%rax, %rax
	js	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_parse_prepare_privacy
	testq	%rax, %rax
	js	LBB0_10
## %bb.3:
	xorl	%eax, %eax
	callq	_pack_privacy
	movq	_QL@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	cmpq	$255, %rax
	jg	LBB0_5
## %bb.4:
	movq	_LEV_FR_SET_PRIVACY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	testl	%r14d, %r14d
	setne	%dil
	shlq	$8, %rdi
	addq	%rax, %rdi
	addq	(%rcx), %rdi
	leal	16(,%rax,4), %esi
	movl	%r12d, %edx
	callq	_alloc_log_event
	movq	%r15, 8(%rax)
	jmp	LBB0_6
LBB0_10:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_LEV_FR_SET_PRIVACY_LONG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpl	$1, %r14d
	sbbq	$-1, %rdi
	leal	20(,%rax,4), %esi
	movl	%r12d, %edx
	callq	_alloc_log_event
	movq	%r15, 8(%rax)
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
	addq	$4, %rax
LBB0_6:
	movl	(%rax), %edi
	movq	_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	shll	$2, %edx
	callq	_memcpy
	movl	%r12d, %edi
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.8:
	callq	_get_user_f
	jmp	LBB0_9
LBB0_7:
	callq	_get_user
LBB0_9:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_privacy                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QL,4,2                         ## @QL
	.comm	_LEV_FR_SET_PRIVACY,8,3         ## @LEV_FR_SET_PRIVACY
	.comm	_Q,4,2                          ## @Q
	.comm	_LEV_FR_SET_PRIVACY_LONG,8,3    ## @LEV_FR_SET_PRIVACY_LONG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_set_privacy                 ; -- Begin function do_set_privacy
	.p2align	2
_do_set_privacy:                        ; @do_set_privacy
	.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	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	bl	_conv_uid
	cbz	x20, LBB0_5
; %bb.1:
	tbnz	x0, #63, LBB0_5
; %bb.2:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_parse_prepare_privacy
	tbnz	x0, #63, LBB0_5
; %bb.3:
	bl	_pack_privacy
Lloh0:
	adrp	x22, _QL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QL@GOTPAGEOFF]
	ldrsw	x8, [x22]
	cmp	w8, #255
	b.gt	LBB0_6
; %bb.4:
Lloh2:
	adrp	x9, _LEV_FR_SET_PRIVACY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LEV_FR_SET_PRIVACY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	w19, #0
	cset	w10, ne
	add	x10, x8, x10, lsl #8
	add	x0, x10, x9
	lsl	w8, w8, #2
	add	w1, w8, #16
	mov	x2, x21
	bl	_alloc_log_event
	str	x20, [x0, #8]
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
	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
LBB0_6:
Lloh5:
	adrp	x9, _LEV_FR_SET_PRIVACY_LONG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LEV_FR_SET_PRIVACY_LONG@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	w19, #0
	cinc	x0, x9, ne
	lsl	w8, w8, #2
	add	w1, w8, #20
	mov	x2, x21
	bl	_alloc_log_event
	str	x20, [x0, #8]
	ldr	w8, [x22]
	str	w8, [x0], #4
LBB0_7:
	ldr	w0, [x0]
Lloh8:
	adrp	x8, _Q@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Q@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w8, [x22]
	lsl	w2, w8, #2
	bl	_memcpy
	mov	x0, x21
	cbz	w19, LBB0_9
; %bb.8:
	bl	_get_user_f
	b	LBB0_10
LBB0_9:
	bl	_get_user
LBB0_10:
	mov	x1, x20
	mov	x2, x19
	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
	b	_set_privacy
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_QL,4,2                         ; @QL
	.comm	_LEV_FR_SET_PRIVACY,8,3         ; @LEV_FR_SET_PRIVACY
	.comm	_Q,4,2                          ; @Q
	.comm	_LEV_FR_SET_PRIVACY_LONG,8,3    ; @LEV_FR_SET_PRIVACY_LONG
.subsections_via_symbols
