	.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, %r15
	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	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_qib_dev_err
	leaq	L_.str.3(%rip), %r14
LBB0_5:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	incl	%ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_kmalloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.5(%rip), %rdx
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_qib_dev_err
LBB0_8:
	movl	8(%r15), %edx
	movl	12(%r15), %ecx
	cmpl	$5, %edx
	jne	LBB0_11
## %bb.9:
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:
	cmpl	$3, %ecx
	jl	LBB0_12
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_qib_dev_err
LBB0_12:
	movslq	20(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_QIB_CHIP_VERS_MAJ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_QIB_CHIP_VERS_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %edi
	movq	_Revision_R@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_Arch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SYM_FIELD
	movl	%eax, %r14d
	movl	8(%r15), %r12d
	movl	12(%r15), %r13d
	movl	16(%r15), %edi
	movl	(%rbx), %esi
	movq	_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SYM_FIELD
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r13
	pushq	%r12
	pushq	%r14
	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"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.4:                               ## @.str.4
	.asciz	"Failed allocation for board name: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s"

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

L_.str.7:                               ## @.str.7
	.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, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	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
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
	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:
	str	x0, [sp]
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:
	mov	x0, x20
	bl	_strlen
	add	w21, w0, #1
Lloh14:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kmalloc
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.6:
	str	x20, [sp]
Lloh17:
	adrp	x2, l_.str.5@PAGE
Lloh18:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_snprintf
	b	LBB0_8
LBB0_7:
	str	x20, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
LBB0_8:
	ldp	w8, w9, [x19, #8]
	cmp	w8, #5
	b.ne	LBB0_11
; %bb.9:
	cbz	w9, LBB0_11
; %bb.10:
	cmp	w9, #3
	b.lt	LBB0_12
LBB0_11:
	stp	x8, x9, [sp]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_qib_dev_err
LBB0_12:
Lloh23:
	adrp	x8, _QIB_CHIP_VERS_MAJ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _QIB_CHIP_VERS_MAJ@GOTPAGEOFF]
Lloh25:
	adrp	x9, _QIB_CHIP_VERS_MIN@GOTPAGE
Lloh26:
	ldr	x9, [x9, _QIB_CHIP_VERS_MIN@GOTPAGEOFF]
	ldr	x22, [x19]
	ldp	w0, w20, [x19, #16]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
Lloh27:
	adrp	x23, _Revision_R@GOTPAGE
Lloh28:
	ldr	x23, [x23, _Revision_R@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh29:
	adrp	x10, _Arch@GOTPAGE
Lloh30:
	ldr	x10, [x10, _Arch@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x10]
Lloh32:
	ldr	w24, [x8]
Lloh33:
	ldr	w25, [x9]
	bl	_SYM_FIELD
	mov	x21, x0
	ldr	w1, [x23]
Lloh34:
	adrp	x8, _SW@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SW@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	ldr	w23, [x19, #8]
	ldp	w19, w0, [x19, #12]
	bl	_SYM_FIELD
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #40]
	stp	x21, x23, [sp, #24]
Lloh37:
	adrp	x2, l_.str.7@PAGE
Lloh38:
	add	x2, x2, l_.str.7@PAGEOFF
	stp	x25, x22, [sp, #8]
	str	x24, [sp]
	mov	x0, x20
	mov	w1, #4
	bl	_snprintf
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	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 AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh33
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh32
	.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"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.4:                               ; @.str.4
	.asciz	"Failed allocation for board name: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s"

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

l_.str.7:                               ; @.str.7
	.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
