	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_7220_boardname
_qib_7220_boardname:                    ## @qib_7220_boardname
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movq	_Revision@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BoardID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SYM_FIELD
	cmpl	$1, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_qib_dev_err
	leaq	L_.str.3(%rip), %r14
LBB0_5:
	movq	%r14, (%rbx)
	movl	8(%rbx), %edx
	movl	12(%rbx), %ecx
	cmpl	$5, %edx
	jne	LBB0_8
## %bb.6:
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.7:
	cmpl	$3, %ecx
	jl	LBB0_9
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_qib_dev_err
	movq	(%rbx), %r14
LBB0_9:
	movl	16(%rbx), %edi
	movl	20(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_QIB_CHIP_VERS_MAJ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_QIB_CHIP_VERS_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_Revision_R@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_Arch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SYM_FIELD
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %r13d
	movl	12(%rbx), %r15d
	movl	16(%rbx), %edi
	movl	(%r12), %esi
	movq	_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SYM_FIELD
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.5(%rip), %rdx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	$4, %esi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r14, %r9
	pushq	%rax
	pushq	%r15
	pushq	%r13
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_snprintf
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Revision,4,2                   ## @Revision
	.comm	_BoardID,4,2                    ## @BoardID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"InfiniPath_QLE7240"

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

L_.str.2:                               ## @.str.2
	.asciz	"Unknown 7220 board with ID %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unknown_InfiniPath_7220"

L_.str.4:                               ## @.str.4
	.asciz	"Unsupported InfiniPath hardware revision %u.%u!\n"

L_.str.5:                               ## @.str.5
	.asciz	"ChipABI %u.%u, %s, InfiniPath%u %u.%u, SW Compat %u\n"

	.comm	_QIB_CHIP_VERS_MAJ,4,2          ## @QIB_CHIP_VERS_MAJ
	.comm	_QIB_CHIP_VERS_MIN,4,2          ## @QIB_CHIP_VERS_MIN
	.comm	_Revision_R,4,2                 ## @Revision_R
	.comm	_Arch,4,2                       ## @Arch
	.comm	_SW,4,2                         ## @SW
	.no_dead_strip	_qib_7220_boardname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_7220_boardname
_qib_7220_boardname:                    ; @qib_7220_boardname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _Revision@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Revision@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BoardID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BoardID@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_SYM_FIELD
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x2, x0
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x20, l_.str.1@PAGE
Lloh7:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
Lloh12:
	adrp	x20, l_.str.3@PAGE
Lloh13:
	add	x20, x20, l_.str.3@PAGEOFF
LBB0_5:
	str	x20, [x19]
	ldp	w2, w8, [x19, #8]
	cmp	w2, #5
	ccmp	w8, #0, #4, eq
	ccmp	w8, #3, #0, ne
	b.lt	LBB0_7
; %bb.6:
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
	ldr	x20, [x19]
LBB0_7:
Lloh16:
	adrp	x8, _QIB_CHIP_VERS_MAJ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QIB_CHIP_VERS_MAJ@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
Lloh19:
	adrp	x8, _QIB_CHIP_VERS_MIN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _QIB_CHIP_VERS_MIN@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
	ldp	w0, w23, [x19, #16]
Lloh22:
	adrp	x26, _Revision_R@GOTPAGE
Lloh23:
	ldr	x26, [x26, _Revision_R@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh24:
	adrp	x8, _Arch@GOTPAGE
Lloh25:
	ldr	x8, [x8, _Arch@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	bl	_SYM_FIELD
	mov	x24, x0
	ldp	w25, w27, [x19, #8]
	ldr	w0, [x19, #16]
	ldr	w1, [x26]
Lloh27:
	adrp	x8, _SW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SW@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	bl	_SYM_FIELD
	stp	w27, w0, [sp]
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x23
	mov	w1, #4
	mov	x3, x21
	mov	x4, x22
	mov	x5, x20
	mov	x6, x24
	mov	x7, x25
	bl	_snprintf
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_Revision,4,2                   ; @Revision
	.comm	_BoardID,4,2                    ; @BoardID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"InfiniPath_QLE7240"

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

l_.str.2:                               ; @.str.2
	.asciz	"Unknown 7220 board with ID %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unknown_InfiniPath_7220"

l_.str.4:                               ; @.str.4
	.asciz	"Unsupported InfiniPath hardware revision %u.%u!\n"

l_.str.5:                               ; @.str.5
	.asciz	"ChipABI %u.%u, %s, InfiniPath%u %u.%u, SW Compat %u\n"

	.comm	_QIB_CHIP_VERS_MAJ,4,2          ; @QIB_CHIP_VERS_MAJ
	.comm	_QIB_CHIP_VERS_MIN,4,2          ; @QIB_CHIP_VERS_MIN
	.comm	_Revision_R,4,2                 ; @Revision_R
	.comm	_Arch,4,2                       ; @Arch
	.comm	_SW,4,2                         ; @SW
	.no_dead_strip	_qib_7220_boardname
.subsections_via_symbols
