	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_is_sandy_bridge
_mlx5_is_sandy_bridge:                  ## @mlx5_is_sandy_bridge
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	$0, (%rbx)
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, -192(%rbp)                ## 8-byte Spill
	movl	$0, -180(%rbp)                  ## 4-byte Folded Spill
	movl	$-1, %r15d
	leaq	L_.str.2(%rip), %r12
	leaq	-176(%rbp), %rbx
	movl	$-1, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-192(%rbp), %rax                ## 8-byte Reload
	incl	(%rax)
	movl	$-1, %r15d
	movl	$-1, %r14d
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$128, %esi
	movq	%r13, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_20
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$9, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	jns	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	-184(%rbp), %rsi
	callq	_read_number_from_line
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-184(%rbp), %r15d
	cmpl	$6, %r14d
	jne	LBB0_19
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testl	%r14d, %r14d
	js	LBB0_9
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$6, %r14d
	jne	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$6, %r14d
	cmpl	$45, %r15d
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$42, %r15d
	jne	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, -180(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_19
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	-184(%rbp), %rsi
	callq	_read_number_from_line
	testl	%eax, %eax
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-184(%rbp), %r14d
	cmpl	$6, %r14d
	jne	LBB0_19
	jmp	LBB0_16
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_3:
	movl	$0, -180(%rbp)                  ## 4-byte Folded Spill
LBB0_20:
	movq	%r13, %rdi
	callq	_fclose
	movl	-180(%rbp), %eax                ## 4-byte Reload
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/cpuinfo"

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

L_.str.2:                               ## @.str.2
	.asciz	"processor"

L_.str.3:                               ## @.str.3
	.asciz	"cpu family"

L_.str.4:                               ## @.str.4
	.asciz	"model"

	.no_dead_strip	_mlx5_is_sandy_bridge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_is_sandy_bridge
_mlx5_is_sandy_bridge:                  ; @mlx5_is_sandy_bridge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_19
; %bb.1:
	mov	x20, x0
	str	wzr, [x19]
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x20
	bl	_fgets
	mov	w21, #0
	cbz	x0, LBB0_18
; %bb.2:
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	w25, #-1
Lloh9:
	adrp	x23, l_.str.3@PAGE
Lloh10:
	add	x23, x23, l_.str.3@PAGEOFF
	mov	w26, #-1
Lloh11:
	adrp	x24, l_.str.4@PAGE
Lloh12:
	add	x24, x24, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	w25, #-1
	mov	w26, #-1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_18
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #9
	bl	_strncmp
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x23
	mov	w2, #10
	bl	_strncmp
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x24
	mov	w2, #5
	bl	_strncmp
	cbnz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	tbz	w25, #31, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_read_number_from_line
	ldr	w8, [sp, #4]
	cmp	w0, #0
	csel	w25, w8, w25, eq
	cmp	w26, #6
	b.ne	LBB0_4
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w26, #31, LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w26, #6
	b.ne	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #45
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #42
	b.ne	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w21, #1
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #6
	b	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_read_number_from_line
	cbnz	w0, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w26, [sp, #4]
	cmp	w26, #6
	b.ne	LBB0_4
	b	LBB0_12
LBB0_18:
	mov	x0, x20
	bl	_fclose
	b	LBB0_20
LBB0_19:
	mov	w21, #0
LBB0_20:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	mov	x0, x21
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/cpuinfo"

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

l_.str.2:                               ; @.str.2
	.asciz	"processor"

l_.str.3:                               ; @.str.3
	.asciz	"cpu family"

l_.str.4:                               ; @.str.4
	.asciz	"model"

	.no_dead_strip	_mlx5_is_sandy_bridge
.subsections_via_symbols
