	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_src_eq
_check_src_eq:                          ## @check_src_eq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	movl	%ecx, %r15d
	movl	%esi, %ecx
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_7
## %bb.2:
	movl	%ecx, %ecx
	cmpq	%rcx, %rax
	jne	LBB0_9
## %bb.3:
	movl	%edx, %eax
	cmpq	%rax, %rsi
	jne	LBB0_9
## %bb.4:
	movl	%r8d, %r14d
	movq	%rbx, %rdi
	callq	_drm_rect_width
	cmpl	%r15d, %eax
	jne	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_drm_rect_height
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	%r14d, %ecx
	jne	LBB0_9
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
LBB0_8:
	callq	_pr_err
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_drm_rect_debug_print
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"src x coordinate %x should never be below 0.\n"

L_.str.1:                               ## @.str.1
	.asciz	"src: "

L_.str.2:                               ## @.str.2
	.asciz	"src y coordinate %x should never be below 0.\n"

	.no_dead_strip	_check_src_eq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_src_eq
_check_src_eq:                          ; @check_src_eq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x9, x1
	mov	x19, x0
	ldr	x1, [x0]
	tbnz	x1, #63, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_7
; %bb.2:
	mov	w10, w2
	cmp	x1, w9, uxtw
	ccmp	x8, x10, #0, eq
	b.ne	LBB0_9
; %bb.3:
	mov	x20, x4
	mov	x21, x3
	mov	x0, x19
	bl	_drm_rect_width
	cmp	w0, w21
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_drm_rect_height
	cmp	w0, w20
	b.ne	LBB0_9
; %bb.5:
	mov	w0, #1
	b	LBB0_10
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x8
LBB0_8:
	bl	_pr_err
LBB0_9:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	w2, #1
	bl	_drm_rect_debug_print
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"src x coordinate %x should never be below 0.\n"

l_.str.1:                               ; @.str.1
	.asciz	"src: "

l_.str.2:                               ; @.str.2
	.asciz	"src y coordinate %x should never be below 0.\n"

	.no_dead_strip	_check_src_eq
.subsections_via_symbols
