	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function who_perm_compare
_who_perm_compare:                      ## @who_perm_compare
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	movl	4(%rsi), %r12d
	callq	_who_type2weight
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_who_type2weight
	subl	%eax, %ebx
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_ZFS_MAX_DELEG_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	decq	%rdx
	callq	_strncmp
	movl	%eax, %ebx
LBB0_2:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setg	%al
	leal	-1(%rax,%rax), %eax
	cmovel	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_MAX_DELEG_NAME,8,3         ## @ZFS_MAX_DELEG_NAME
	.no_dead_strip	_who_perm_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function who_perm_compare
_who_perm_compare:                      ; @who_perm_compare
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	ldr	w21, [x1, #4]
	bl	_who_type2weight
	mov	x22, x0
	mov	x0, x21
	bl	_who_type2weight
	subs	w0, w22, w0
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _ZFS_MAX_DELEG_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZFS_MAX_DELEG_NAME@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x2, x8, #1
	bl	_strncmp
LBB0_2:
	cmp	w0, #1
	mov	w8, #-1
	cneg	w8, w8, ge
	cmp	w0, #0
	csel	w0, wzr, w8, eq
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_MAX_DELEG_NAME,8,3         ; @ZFS_MAX_DELEG_NAME
	.no_dead_strip	_who_perm_compare
.subsections_via_symbols
