	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_bus_string
_bnx2_bus_string:                       ## @bnx2_bus_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_BNX2_FLAG_PCIE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movabsq	$8246223156005126992, %rax      ## imm = 0x7270784520494350
	movq	%rax, (%rbx)
	movl	$7566181, 8(%rbx)               ## imm = 0x737365
	jmp	LBB0_5
LBB0_2:
	movl	$4801360, (%rbx)                ## imm = 0x494350
	leaq	3(%rbx), %rax
	movl	(%rdi), %ecx
	movq	_BNX2_FLAG_PCIX@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movb	$0, 2(%rax)
	movw	$22573, (%rax)                  ## imm = 0x582D
	leaq	5(%rbx), %rax
	movl	(%rdi), %ecx
LBB0_4:
	movq	_BNX2_FLAG_PCI_32BIT@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	movabsq	$32766967684412192, %rdx        ## imm = 0x7469622D323320
	leaq	131840(%rdx), %rsi
	testl	%ecx, %ecx
	cmovneq	%rdx, %rsi
	movq	%rsi, (%rax)
	addq	$7, %rax
	movl	4(%rdi), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_sprintf
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2_FLAG_PCIE,4,2             ## @BNX2_FLAG_PCIE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI Express"

	.comm	_BNX2_FLAG_PCIX,4,2             ## @BNX2_FLAG_PCIX
L_.str.2:                               ## @.str.2
	.asciz	"-X"

	.comm	_BNX2_FLAG_PCI_32BIT,4,2        ## @BNX2_FLAG_PCI_32BIT
L_.str.5:                               ## @.str.5
	.asciz	" %dMHz"

	.no_dead_strip	_bnx2_bus_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_bus_string
_bnx2_bus_string:                       ; @bnx2_bus_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _BNX2_FLAG_PCIE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2_FLAG_PCIE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #29541
	movk	w8, #115, lsl #16
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_5
LBB0_2:
	mov	w9, #17232
	movk	w9, #73, lsl #16
	mov	x8, x19
	str	w9, [x8], #3
	ldr	w9, [x0]
Lloh6:
	adrp	x10, _BNX2_FLAG_PCIX@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BNX2_FLAG_PCIX@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	strb	wzr, [x8, #2]
	mov	w9, #22573
	strh	w9, [x8]
	add	x8, x19, #5
	ldr	w9, [x0]
LBB0_4:
Lloh9:
	adrp	x10, _BNX2_FLAG_PCI_32BIT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BNX2_FLAG_PCI_32BIT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	mov	x9, #13088
	movk	x9, #11570, lsl #16
	movk	x9, #26978, lsl #32
	movk	x9, #116, lsl #48
	mov	x10, #13856
	movk	x10, #11572, lsl #16
	movk	x10, #26978, lsl #32
	movk	x10, #116, lsl #48
	csel	x9, x10, x9, eq
	str	x9, [x8], #7
	ldr	w9, [x0, #4]
	str	x9, [sp]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x8
	bl	_sprintf
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2_FLAG_PCIE,4,2             ; @BNX2_FLAG_PCIE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI Express"

	.comm	_BNX2_FLAG_PCIX,4,2             ; @BNX2_FLAG_PCIX
l_.str.2:                               ; @.str.2
	.asciz	"-X"

	.comm	_BNX2_FLAG_PCI_32BIT,4,2        ; @BNX2_FLAG_PCI_32BIT
l_.str.5:                               ; @.str.5
	.asciz	" %dMHz"

	.no_dead_strip	_bnx2_bus_string
.subsections_via_symbols
