	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vn_setlabel                    ## -- Begin function vn_setlabel
	.p2align	4, 0x90
_vn_setlabel:                           ## @vn_setlabel
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_MNT_MULTILABEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_mac_vnode_check_relabel
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movq	_VADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_curthread@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_VOP_ACCESS
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VOP_SETLABEL                   ## TAILCALL
LBB0_5:
	movq	(%rbx), %rax
	movq	_VNON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_7:
	movq	_EBADF@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VNON,8,3                       ## @VNON
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_MNT_MULTILABEL,4,2             ## @MNT_MULTILABEL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_VADMIN,4,2                     ## @VADMIN
	.comm	_curthread,4,2                  ## @curthread
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"vn_setlabel: null v_mount with non-VNON"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vn_setlabel                    ; -- Begin function vn_setlabel
	.p2align	2
_vn_setlabel:                           ; @vn_setlabel
	.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	x21, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _MNT_MULTILABEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MNT_MULTILABEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x0, x2
	mov	x1, x21
	mov	x2, x20
	bl	_mac_vnode_check_relabel
	cbnz	w0, LBB0_10
; %bb.3:
Lloh3:
	adrp	x8, _VADMIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VADMIN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x22, _curthread@GOTPAGE
Lloh7:
	ldr	x22, [x22, _curthread@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x21
	mov	x2, x19
	bl	_VOP_ACCESS
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	w3, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_VOP_SETLABEL
LBB0_5:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _VNON@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VNON@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
Lloh11:
	adrp	x0, l_str@PAGE
Lloh12:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_7:
Lloh13:
	adrp	x8, _EBADF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_VNON,8,3                       ; @VNON
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_MNT_MULTILABEL,4,2             ; @MNT_MULTILABEL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_VADMIN,4,2                     ; @VADMIN
	.comm	_curthread,4,2                  ; @curthread
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"vn_setlabel: null v_mount with non-VNON"

.subsections_via_symbols
