	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qxl_clientcap_ioctl
_qxl_clientcap_ioctl:                   ## @qxl_clientcap_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movl	(%rsi), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	cmpl	$3, (%rdx)
	jle	LBB0_3
## %bb.1:
	cmpl	$464, %eax                      ## imm = 0x1D0
	jge	LBB0_3
## %bb.2:
	movq	8(%rdi), %rdx
	sarl	$3, %ecx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movslq	%ecx, %rcx
	movl	(%rdx,%rcx,4), %ecx
	andb	$7, %al
	movzbl	%al, %edx
	xorl	%eax, %eax
	btl	%edx, %ecx
	jae	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	movq	_ENOSYS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_qxl_clientcap_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qxl_clientcap_ioctl
_qxl_clientcap_ioctl:                   ; @qxl_clientcap_ioctl
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	ldr	x10, [x0]
	ldr	w10, [x10]
	cmp	w10, #3
	b.le	LBB0_4
; %bb.1:
	cmp	w8, #464
	b.ge	LBB0_4
; %bb.2:
	ldr	x10, [x0, #8]
	asr	w9, w9, #3
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	w9, [x10, w9, sxtw #2]
	and	w8, w8, #0x7
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_qxl_clientcap_ioctl
.subsections_via_symbols
