	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcmfb_ioctl
_bcmfb_ioctl:                           ## @bcmfb_ioctl
	.cfi_startproc
## %bb.0:
	cmpl	$128, %esi
	jne	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	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
	movl	%ecx, (%rdx)
	leal	-9(%rcx), %eax
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %esi
	xorl	%ecx, %ecx
	cmpl	$-7, %eax
	cmovbl	%ecx, %esi
	movl	%esi, 4(%rdx)
	movl	4(%rdi), %eax
	movl	%eax, 8(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	jmp	_fb_commonioctl                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FBTYPE_PCIMISC,4,2             ## @FBTYPE_PCIMISC
	.no_dead_strip	_bcmfb_ioctl
.subsections_via_symbols

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