	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qxl_getparam_ioctl
_qxl_getparam_ioctl:                    ## @qxl_getparam_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_QXL_MAX_RES@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 4(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QXL_MAX_RES,4,2                ## @QXL_MAX_RES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qxl_getparam_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qxl_getparam_ioctl
_qxl_getparam_ioctl:                    ; @qxl_getparam_ioctl
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
	cmp	w9, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #128
	b.ne	LBB0_5
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
	ldr	x8, [x8]
	b	LBB0_4
LBB0_3:
	mov	w0, #0
Lloh0:
	adrp	x8, _QXL_MAX_RES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QXL_MAX_RES@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x1, #4]
	ret
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QXL_MAX_RES,4,2                ; @QXL_MAX_RES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qxl_getparam_ioctl
.subsections_via_symbols
