	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function drm_fb_helper_check_var
LCPI0_0:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	8                               ## 0x8
LCPI0_1:
	.long	8                               ## 0x8
	.long	24                              ## 0x18
	.long	8                               ## 0x8
	.long	0                               ## 0x0
LCPI0_2:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	0                               ## 0x0
LCPI0_3:
	.long	6                               ## 0x6
	.long	5                               ## 0x5
	.long	11                              ## 0xb
	.long	5                               ## 0x5
LCPI0_4:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	5                               ## 0x5
	.long	0                               ## 0x0
LCPI0_5:
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	10                              ## 0xa
	.long	5                               ## 0x5
LCPI0_6:
	.long	1                               ## 0x1
	.long	15                              ## 0xf
	.long	5                               ## 0x5
	.long	0                               ## 0x0
LCPI0_7:
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_drm_fb_helper_check_var
	.p2align	4, 0x90
_drm_fb_helper_check_var:               ## @drm_fb_helper_check_var
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	callq	_in_dbg_master
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rsi
	movq	(%r14), %rax
	movq	8(%r14), %r10
	cmpq	%rax, %rcx
	jg	LBB0_7
## %bb.3:
	cmpq	%r10, %rsi
	jg	LBB0_7
## %bb.4:
	movq	16(%r14), %rdx
	cmpq	%rdx, 24(%rbx)
	jg	LBB0_7
## %bb.5:
	cmpq	%r10, 32(%rbx)
	jg	LBB0_7
## %bb.6:
	cmpq	%rdx, 40(%rbx)
	jle	LBB0_10
LBB0_7:
	movq	24(%rbx), %rdx
	movq	32(%rbx), %r8
	movq	40(%rbx), %r9
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	pushq	%rax
	pushq	16(%r14)
	pushq	%r10
	callq	_DRM_DEBUG
	addq	$32, %rsp
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	cmpq	$32, %rcx
	je	LBB0_21
## %bb.11:
	cmpq	$16, %rcx
	jne	LBB0_14
## %bb.12:
	cmpl	$6, 64(%rbx)
	jne	LBB0_13
	jmp	LBB0_19
LBB0_21:
	cmpl	$0, 48(%rbx)
	jle	LBB0_20
LBB0_22:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [8,8,16,8]
	movups	%xmm0, 64(%rbx)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [8,24,8,0]
	jmp	LBB0_18
LBB0_14:
	addl	$-8, %ecx
	cmpl	$24, %ecx
	ja	LBB0_8
## %bb.15:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_16:
	movaps	LCPI0_7(%rip), %xmm0            ## xmm0 = [8,0,0,8]
	jmp	LBB0_17
LBB0_13:
	movaps	LCPI0_5(%rip), %xmm0            ## xmm0 = [5,5,10,5]
	movups	%xmm0, 64(%rbx)
	movaps	LCPI0_6(%rip), %xmm0            ## xmm0 = [1,15,5,0]
	jmp	LBB0_18
LBB0_19:
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [6,5,11,5]
	movups	%xmm0, 64(%rbx)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [0,0,5,0]
	jmp	LBB0_18
LBB0_20:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [8,8,16,8]
LBB0_17:
	movups	%xmm0, 64(%rbx)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [0,0,8,0]
LBB0_18:
	movups	%xmm0, 48(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_19
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_20
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fb userspace requested width/height/bpp is greater than current fb request %dx%d-%d (virtual %dx%d) > %dx%d-%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function drm_fb_helper_check_var
lCPI0_0:
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	8                               ; 0x8
lCPI0_1:
	.long	8                               ; 0x8
	.long	24                              ; 0x18
	.long	8                               ; 0x8
	.long	0                               ; 0x0
lCPI0_2:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	0                               ; 0x0
lCPI0_3:
	.long	6                               ; 0x6
	.long	5                               ; 0x5
	.long	11                              ; 0xb
	.long	5                               ; 0x5
lCPI0_4:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	5                               ; 0x5
	.long	0                               ; 0x0
lCPI0_5:
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	10                              ; 0xa
	.long	5                               ; 0x5
lCPI0_6:
	.long	1                               ; 0x1
	.long	15                              ; 0xf
	.long	5                               ; 0x5
	.long	0                               ; 0x0
lCPI0_7:
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_drm_fb_helper_check_var
	.p2align	2
_drm_fb_helper_check_var:               ; @drm_fb_helper_check_var
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbnz	x8, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x20, [x8]
	bl	_in_dbg_master
	cbnz	x0, LBB0_7
; %bb.2:
	ldp	x3, x1, [x19, #8]
	ldp	x8, x6, [x20]
	cmp	x3, x8
	ccmp	x1, x6, #0, le
	b.gt	LBB0_6
; %bb.3:
	ldr	x10, [x19, #24]
	ldr	x9, [x20, #16]
	cmp	x10, x9
	b.gt	LBB0_6
; %bb.4:
	ldr	x10, [x19, #32]
	cmp	x10, x6
	b.gt	LBB0_6
; %bb.5:
	ldr	x10, [x19, #40]
	cmp	x10, x9
	b.le	LBB0_9
LBB0_6:
	ldp	x2, x4, [x19, #24]
	ldr	x5, [x19, #40]
	ldr	x7, [x20, #16]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
LBB0_7:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	cmp	x3, #32
	b.eq	LBB0_12
; %bb.10:
	cmp	x3, #16
	b.ne	LBB0_14
; %bb.11:
	ldr	w8, [x19, #64]
	cmp	w8, #6
	b.ne	LBB0_17
	b	LBB0_18
LBB0_12:
	ldr	w8, [x19, #48]
	cmp	w8, #0
	b.le	LBB0_19
LBB0_13:
	mov	w0, #0
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
Lloh7:
	adrp	x8, lCPI0_1@PAGE
Lloh8:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_21
LBB0_14:
	sub	w8, w3, #8
	cmp	w8, #24
	b.hi	LBB0_7
; %bb.15:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	mov	w0, #0
Lloh11:
	adrp	x8, lCPI0_7@PAGE
Lloh12:
	ldr	q0, [x8, lCPI0_7@PAGEOFF]
	b	LBB0_20
LBB0_17:
	mov	w0, #0
Lloh13:
	adrp	x8, lCPI0_5@PAGE
Lloh14:
	ldr	q0, [x8, lCPI0_5@PAGEOFF]
Lloh15:
	adrp	x8, lCPI0_6@PAGE
Lloh16:
	ldr	q1, [x8, lCPI0_6@PAGEOFF]
	b	LBB0_21
LBB0_18:
	mov	w0, #0
Lloh17:
	adrp	x8, lCPI0_3@PAGE
Lloh18:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
Lloh19:
	adrp	x8, lCPI0_4@PAGE
Lloh20:
	ldr	q1, [x8, lCPI0_4@PAGEOFF]
	b	LBB0_21
LBB0_19:
	mov	w0, #0
Lloh21:
	adrp	x8, lCPI0_0@PAGE
Lloh22:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
LBB0_20:
Lloh23:
	adrp	x8, lCPI0_2@PAGE
Lloh24:
	ldr	q1, [x8, lCPI0_2@PAGEOFF]
LBB0_21:
	stp	q1, q0, [x19, #48]
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpAdrp	Lloh17, Lloh19
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdr	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fb userspace requested width/height/bpp is greater than current fb request %dx%d-%d (virtual %dx%d) > %dx%d-%d\n"

.subsections_via_symbols
