	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu3fb_ioctl
_ipu3fb_ioctl:                          ## @ipu3fb_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_3
## %bb.2:
	movq	_FBTYPE_PCIMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdx)
	movl	12(%rdi), %eax
	movl	%eax, 16(%rdx)
	movl	8(%rdi), %eax
	movl	%eax, 12(%rdx)
	movl	(%rdi), %ecx
	leal	-9(%rcx), %r8d
	movl	$1, %esi
	shll	%cl, %esi
	xorl	%eax, %eax
	cmpl	$-7, %r8d
	cmovbl	%eax, %esi
	movl	%ecx, (%rdx)
	movl	%esi, 4(%rdx)
	movl	4(%rdi), %ecx
	movl	%ecx, 8(%rdx)
	popq	%rbp
	retq
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_3:
	popq	%rbp
	jmp	_fb_commonioctl                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FBTYPE_PCIMISC,4,2             ## @FBTYPE_PCIMISC
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_ipu3fb_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu3fb_ioctl
_ipu3fb_ioctl:                          ; @ipu3fb_ioctl
	.cfi_startproc
; %bb.0:
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	mov	x8, x0
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
Lloh0:
	adrp	x9, _FBTYPE_PCIMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FBTYPE_PCIMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x2, #20]
	ldr	d0, [x8, #8]
	stur	d0, [x2, #12]
	ldr	w9, [x8]
	sub	w10, w9, #9
	cmn	w10, #7
	mov	w10, #1
	lsl	w10, w10, w9
	csel	w10, wzr, w10, lo
	stp	w9, w10, [x2]
	ldr	w8, [x8, #4]
	str	w8, [x2, #8]
	ret
LBB0_3:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
	mov	x0, x8
	b	_fb_commonioctl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FBTYPE_PCIMISC,4,2             ; @FBTYPE_PCIMISC
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_ipu3fb_ioctl
.subsections_via_symbols
