	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uapi_key_okay
_uapi_key_okay:                         ## @uapi_key_okay
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	callq	_uapi_key_is_object
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	movl	%r14d, %edi
	callq	_uapi_key_is_ioctl_method
	leal	1(%r15), %ebx
	testq	%rax, %rax
	cmovel	%r15d, %ebx
	movl	%r14d, %edi
	callq	_uapi_key_is_write_method
	cmpq	$1, %rax
	sbbl	$-1, %ebx
	movl	%r14d, %edi
	callq	_uapi_key_is_write_ex_method
	cmpq	$1, %rax
	sbbl	$-1, %ebx
	movl	%r14d, %edi
	callq	_uapi_key_is_attr
	cmpq	$1, %rax
	sbbl	$-1, %ebx
	xorl	%edi, %edi
	cmpl	$1, %ebx
	setne	%dil
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad count %d key=%x"

	.no_dead_strip	_uapi_key_okay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uapi_key_okay
_uapi_key_okay:                         ; @uapi_key_okay
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_uapi_key_is_object
	mov	x20, x0
	mov	x0, x19
	bl	_uapi_key_is_ioctl_method
	cmp	x20, #0
	cset	w8, ne
	mov	w9, #1
	cinc	w9, w9, ne
	cmp	x0, #0
	csel	w20, w8, w9, eq
	mov	x0, x19
	bl	_uapi_key_is_write_method
	cmp	x0, #0
	cinc	w20, w20, ne
	mov	x0, x19
	bl	_uapi_key_is_write_ex_method
	cmp	x0, #0
	cinc	w20, w20, ne
	mov	x0, x19
	bl	_uapi_key_is_attr
	cmp	x0, #0
	cinc	w2, w20, ne
	cmp	w2, #1
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad count %d key=%x"

	.no_dead_strip	_uapi_key_okay
.subsections_via_symbols
