	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mga_driver_device_is_agp
_mga_driver_device_is_agp:              ## @mga_driver_device_is_agp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	cmpl	$1317, (%rax)                   ## imm = 0x525
	jne	LBB0_4
## %bb.1:
	movq	8(%rax), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	cmpl	$13192, (%rcx)                  ## imm = 0x3388
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpl	$33, 4(%rcx)
	je	LBB0_5
LBB0_4:
	movl	$2, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mga_driver_device_is_agp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mga_driver_device_is_agp
_mga_driver_device_is_agp:              ; @mga_driver_device_is_agp
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #1317
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w9, [x8]
	mov	w10, #13192
	cmp	w9, w10
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x8, #4]
	cmp	w8, #33
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ret
LBB0_5:
	mov	w0, #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mga_driver_device_is_agp
.subsections_via_symbols
