	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_privacy                   ## -- Begin function load_privacy
	.p2align	4, 0x90
_load_privacy:                          ## @load_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
	movq	_idx_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_load_privacy.x(%rip), %rbx
	movq	%rbx, %rsi
	movl	$1048576, %edx                  ## imm = 0x100000
	callq	_read
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	%eax, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_idx_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1048576, %edx                  ## imm = 0x100000
	callq	_read
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	xorl	%edi, %edi
	testb	$7, %r14b
	sete	%dil
	callq	_assert
	cmpl	$8, %r14d
	jl	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	shrl	$3, %r14d
	addq	%r14, %r14
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r14,%r14), %r15
	leaq	(%r14,%r14), %r13
	incq	%r13
	movl	(%rbx,%r12,4), %edx
	movl	4(%rbx,%r12,4), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx,%r15,4), %edi
	movl	$1, %esi
	callq	_get_user_f
	movl	(%rbx,%r13,4), %edi
	movl	%edi, (%rax)
	andl	$1, %edi
	callq	_assert
	incq	%r14
	addq	$2, %r12
	cmpq	%r12, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_2
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	leaq	1(%r12), %r13
	movq	%r12, %r15
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_load_privacy.x,4194304,4 ## @load_privacy.x
	.comm	_idx_fd,4,2                     ## @idx_fd
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uid = %d, priv_mask = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_privacy                   ; -- Begin function load_privacy
	.p2align	2
_load_privacy:                          ; @load_privacy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _idx_fd@GOTPAGE
Lloh1:
	ldr	x22, [x22, _idx_fd@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x19, _load_privacy.x@PAGE
Lloh3:
	add	x19, x19, _load_privacy.x@PAGEOFF
	mov	x1, x19
	mov	w2, #1048576
	bl	_read
	cbz	w0, LBB0_9
; %bb.1:
	mov	x21, x0
Lloh4:
	adrp	x23, _verbosity@GOTPAGE
Lloh5:
	ldr	x23, [x23, _verbosity@GOTPAGEOFF]
Lloh6:
	adrp	x24, _stderr@GOTPAGE
Lloh7:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x22]
	mov	x1, x19
	mov	w2, #1048576
	bl	_read
	mov	x21, x0
	cbz	w0, LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	tst	w21, #0x7
	cset	w0, eq
	bl	_assert
	cmp	w21, #8
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	mov	x26, #0
	lsr	w8, w21, #3
	lsl	x21, x8, #1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w0, [x24]
	lsl	x28, x26, #1
	add	x8, x19, x25, lsl #2
	mov	w27, #1
	bfi	x27, x26, #1, #63
	ldp	w2, w3, [x8]
	mov	x1, x20
	bl	_fprintf
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w0, [x19, x28, lsl #2]
	mov	w1, #1
	bl	_get_user_f
	ldr	w8, [x19, x27, lsl #2]
	str	w8, [x0]
	and	w0, w8, #0x1
	bl	_assert
	add	x26, x26, #1
	add	x25, x25, #2
	cmp	x21, x25
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x23]
	cmp	w8, #2
	b.gt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x27, x25, #1
	mov	x28, x25
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_load_privacy.x,4194304,2 ; @load_privacy.x
	.comm	_idx_fd,4,2                     ; @idx_fd
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uid = %d, priv_mask = %d\n"

.subsections_via_symbols
