	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igt_check_page_sizes
_igt_check_page_sizes:                  ## @igt_check_page_sizes
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_INTEL_INFO
	movl	(%rax), %r15d
	movq	16(%r14), %r13
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_HAS_PAGE_SIZES
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	%r15d, %esi
	notl	%esi
	andl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_2:
	movl	4(%r14), %esi
	movq	%r12, %rdi
	callq	_HAS_PAGE_SIZES
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	%r15d, %esi
	notl	%esi
	andl	4(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_4:
	movl	8(%r14), %esi
	movl	8(%r13), %edx
	cmpl	%edx, %esi
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_6:
	movl	(%r14), %esi
	movl	(%r13), %edx
	cmpl	%edx, %esi
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_8:
	movl	4(%r13), %esi
	testl	%esi, %esi
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported page_sizes.sg=%u, supported=%u\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"unsupported page_sizes.gtt=%u, supported=%u\n"

L_.str.2:                               ## @.str.2
	.asciz	"vma->page_sizes.phys(%u) != obj->mm.page_sizes.phys(%u)\n"

L_.str.3:                               ## @.str.3
	.asciz	"vma->page_sizes.sg(%u) != obj->mm.page_sizes.sg(%u)\n"

L_.str.4:                               ## @.str.4
	.asciz	"obj->page_sizes.gtt(%u) should never be set\n"

	.no_dead_strip	_igt_check_page_sizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igt_check_page_sizes
_igt_check_page_sizes:                  ; @igt_check_page_sizes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x21, [x8]
	mov	x0, x21
	bl	_INTEL_INFO
	ldr	w24, [x0]
	ldr	x23, [x19, #16]
	ldr	w1, [x19]
	mov	x0, x21
	bl	_HAS_PAGE_SIZES
Lloh0:
	adrp	x22, _EINVAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EINVAL@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
	bic	w1, w8, w24
	str	x24, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	w8, [x22]
	neg	w20, w8
LBB0_3:
	ldr	w1, [x19, #4]
	mov	x0, x21
	bl	_HAS_PAGE_SIZES
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x19, #4]
	bic	w1, w8, w24
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	str	x24, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	ldr	w8, [x22]
	neg	w20, w8
LBB0_5:
	ldr	w1, [x19, #8]
	ldr	w8, [x23, #8]
	cmp	w1, w8
	b.eq	LBB0_7
; %bb.6:
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	ldr	w8, [x22]
	neg	w20, w8
LBB0_7:
	ldr	w1, [x19]
	ldr	w8, [x23]
	cmp	w1, w8
	b.eq	LBB0_9
; %bb.8:
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	ldr	w8, [x22]
	neg	w20, w8
LBB0_9:
	ldr	w1, [x23, #4]
	cbz	w1, LBB0_11
; %bb.10:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
	ldr	w8, [x22]
	neg	w20, w8
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported page_sizes.sg=%u, supported=%u\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"unsupported page_sizes.gtt=%u, supported=%u\n"

l_.str.2:                               ; @.str.2
	.asciz	"vma->page_sizes.phys(%u) != obj->mm.page_sizes.phys(%u)\n"

l_.str.3:                               ; @.str.3
	.asciz	"vma->page_sizes.sg(%u) != obj->mm.page_sizes.sg(%u)\n"

l_.str.4:                               ; @.str.4
	.asciz	"obj->page_sizes.gtt(%u) should never be set\n"

	.no_dead_strip	_igt_check_page_sizes
.subsections_via_symbols
