	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_qsfp_transceiver_class
_get_qsfp_transceiver_class:            ## @get_qsfp_transceiver_class
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_SFF_8436_BASE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_SFF_8436_CODE_E1040100G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %r8
	movl	$1, %ecx
	callq	_read_i2c
	movl	-36(%rbp), %esi
	movq	_SFF_8636_EXT_COMPLIANCE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	movq	_SFF_8436_OPTIONS_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_read_i2c
	movq	_eth_extended_comp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-36(%rbp), %esi
	callq	_find_value
	jmp	LBB0_3
LBB0_2:
	movq	_eth_1040g@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %edx
	callq	_find_zero_bit
LBB0_3:
	testq	%rax, %rax
	leaq	L_.str(%rip), %rcx
	cmovneq	%rax, %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_snprintf
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SFF_8436_BASE,4,2              ## @SFF_8436_BASE
	.comm	_SFF_8436_CODE_E1040100G,4,2    ## @SFF_8436_CODE_E1040100G
	.comm	_SFF_8636_EXT_COMPLIANCE,4,2    ## @SFF_8636_EXT_COMPLIANCE
	.comm	_SFF_8436_OPTIONS_START,4,2     ## @SFF_8436_OPTIONS_START
	.comm	_eth_extended_comp,4,2          ## @eth_extended_comp
	.comm	_eth_1040g,4,2                  ## @eth_1040g
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown"

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

	.no_dead_strip	_get_qsfp_transceiver_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_qsfp_transceiver_class
_get_qsfp_transceiver_class:            ; @get_qsfp_transceiver_class
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _SFF_8436_BASE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SFF_8436_BASE@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _SFF_8436_CODE_E1040100G@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SFF_8436_CODE_E1040100G@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x4, sp, #12
	mov	w3, #1
	bl	_read_i2c
	ldr	w1, [sp, #12]
Lloh5:
	adrp	x8, _SFF_8636_EXT_COMPLIANCE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SFF_8636_EXT_COMPLIANCE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x22]
Lloh8:
	adrp	x8, _SFF_8436_OPTIONS_START@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SFF_8436_OPTIONS_START@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x4, sp, #12
	mov	x0, x21
	mov	w3, #1
	bl	_read_i2c
Lloh11:
	adrp	x8, _eth_extended_comp@GOTPAGE
Lloh12:
	ldr	x8, [x8, _eth_extended_comp@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w1, [sp, #12]
	bl	_find_value
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _eth_1040g@GOTPAGE
Lloh15:
	ldr	x8, [x8, _eth_1040g@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w2, #1
	bl	_find_zero_bit
LBB0_3:
Lloh17:
	adrp	x8, l_.str@PAGE
Lloh18:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x3, x8, x0, eq
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SFF_8436_BASE,4,2              ; @SFF_8436_BASE
	.comm	_SFF_8436_CODE_E1040100G,4,2    ; @SFF_8436_CODE_E1040100G
	.comm	_SFF_8636_EXT_COMPLIANCE,4,2    ; @SFF_8636_EXT_COMPLIANCE
	.comm	_SFF_8436_OPTIONS_START,4,2     ; @SFF_8436_OPTIONS_START
	.comm	_eth_extended_comp,4,2          ; @eth_extended_comp
	.comm	_eth_1040g,4,2                  ; @eth_1040g
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown"

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

	.no_dead_strip	_get_qsfp_transceiver_class
.subsections_via_symbols
