	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bgx_print_qlm_mode
_bgx_print_qlm_mode:                    ## @bgx_print_qlm_mode
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	16(%rdi), %r14
	movl	4(%rdi), %eax
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	testl	%eax, %eax
	je	LBB0_14
LBB0_2:
	movq	8(%rdi), %r15
	movl	(%rdi), %edx
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdi
	xorl	%eax, %eax
	callq	_sprintf
LBB0_5:
	movl	(%r15,%rbx,8), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_14
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	cmpl	$0, 4(%r15,%rbx,8)
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_13
LBB0_9:
	cmpl	$0, 4(%r15,%rbx,8)
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_13
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.9(%rip), %rsi
LBB0_13:
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	callq	_dev_info
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BGX%d QLM mode"

L_.str.1:                               ## @.str.1
	.asciz	"BGX%d LMAC%d mode"

L_.str.2:                               ## @.str.2
	.asciz	"%s: SGMII\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: XAUI\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s: RXAUI\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s: XFI\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s: 10G_KR\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s: XLAUI\n"

L_.str.8:                               ## @.str.8
	.asciz	"%s: 40G_KR4\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s: QSGMII\n"

L_.str.10:                              ## @.str.10
	.asciz	"%s: RGMII\n"

	.no_dead_strip	_bgx_print_qlm_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bgx_print_qlm_mode
_bgx_print_qlm_mode:                    ; @bgx_print_qlm_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x19, [x0, #16]
	ldr	w8, [x0, #4]
	cbz	x1, LBB0_2
; %bb.1:
	cbz	w8, LBB0_15
LBB0_2:
	ldr	x21, [x0, #8]
	ldr	w2, [x0]
	cbz	w8, LBB0_4
; %bb.3:
	str	x20, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	add	x0, sp, #13
	bl	_sprintf
	lsl	x8, x20, #3
	ldr	w8, [x21, x8]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_15
; %bb.6:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	add	x8, x21, x20, lsl #3
	ldr	w8, [x8, #4]
Lloh11:
	adrp	x9, l_.str.8@PAGE
Lloh12:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh13:
	adrp	x10, l_.str.7@PAGE
Lloh14:
	add	x10, x10, l_.str.7@PAGEOFF
	b	LBB0_9
LBB0_8:
	add	x8, x21, x20, lsl #3
	ldr	w8, [x8, #4]
Lloh15:
	adrp	x9, l_.str.6@PAGE
Lloh16:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh17:
	adrp	x10, l_.str.5@PAGE
Lloh18:
	add	x10, x10, l_.str.5@PAGEOFF
LBB0_9:
	cmp	w8, #0
	csel	x1, x10, x9, eq
	b	LBB0_14
LBB0_10:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_11:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh23:
	adrp	x1, l_.str.10@PAGE
Lloh24:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_14:
	add	x2, sp, #13
	mov	x0, x19
	bl	_dev_info
LBB0_15:
	ldr	x8, [sp, #40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BGX%d QLM mode"

l_.str.1:                               ; @.str.1
	.asciz	"BGX%d LMAC%d mode"

l_.str.2:                               ; @.str.2
	.asciz	"%s: SGMII\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: XAUI\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s: RXAUI\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s: XFI\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s: 10G_KR\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s: XLAUI\n"

l_.str.8:                               ; @.str.8
	.asciz	"%s: 40G_KR4\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s: QSGMII\n"

l_.str.10:                              ; @.str.10
	.asciz	"%s: RGMII\n"

	.no_dead_strip	_bgx_print_qlm_mode
.subsections_via_symbols
