	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function user_write
_user_write:                            ## @user_write
	.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	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdx), %r14
	movq	8(%rdx), %rbx
	callq	_strlen
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_cpu_to_le32
	movb	%al, -43(%rbp)
	movq	(%r15), %rdi
	callq	_cpu_to_le32
	movb	%al, -42(%rbp)
	movq	(%rbx), %rax
	movq	_POLICYDB_VERSION_BOUNDARY@GOTPCREL(%rip), %rcx
	movl	$2, %ebx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	8(%r15), %rdi
	callq	_cpu_to_le32
	movb	%al, -41(%rbp)
	movl	$3, %ebx
LBB0_2:
	xorl	%edi, %edi
	callq	_BUG_ON
	leaq	-43(%rbp), %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_put_entry
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_put_entry
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	leaq	24(%r15), %rdi
	movq	%r14, %rsi
	callq	_ebitmap_write
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	leaq	20(%r15), %rdi
	movq	%r14, %rsi
	callq	_mls_write_range_helper
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	addq	$16, %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mls_write_level
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POLICYDB_VERSION_BOUNDARY,8,3  ## @POLICYDB_VERSION_BOUNDARY
	.no_dead_strip	_user_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function user_write
_user_write:                            ; @user_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
	ldp	x19, x23, [x2]
	bl	_strlen
	mov	x22, x0
	bl	_cpu_to_le32
	strb	w0, [sp, #13]
	ldr	x0, [x20]
	bl	_cpu_to_le32
	strb	w0, [sp, #14]
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _POLICYDB_VERSION_BOUNDARY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _POLICYDB_VERSION_BOUNDARY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	w23, #2
	b	LBB0_3
LBB0_2:
	ldr	x0, [x20, #8]
	bl	_cpu_to_le32
	strb	w0, [sp, #15]
	mov	w23, #3
LBB0_3:
	mov	w0, #0
	bl	_BUG_ON
	add	x0, sp, #13
	mov	w1, #4
	mov	x2, x23
	mov	x3, x19
	bl	_put_entry
	cbnz	w0, LBB0_8
; %bb.4:
	mov	x0, x21
	mov	w1, #1
	mov	x2, x22
	mov	x3, x19
	bl	_put_entry
	cbnz	w0, LBB0_8
; %bb.5:
	add	x0, x20, #24
	mov	x1, x19
	bl	_ebitmap_write
	cbnz	w0, LBB0_8
; %bb.6:
	add	x0, x20, #20
	mov	x1, x19
	bl	_mls_write_range_helper
	cbnz	w0, LBB0_8
; %bb.7:
	add	x0, x20, #16
	mov	x1, x19
	bl	_mls_write_level
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_POLICYDB_VERSION_BOUNDARY,8,3  ; @POLICYDB_VERSION_BOUNDARY
	.no_dead_strip	_user_write
.subsections_via_symbols
