	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_sfp_vendor
_print_sfp_vendor:                      ## @print_sfp_vendor
	.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	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	leaq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_qsfp_vendor_name
	leaq	-92(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_qsfp_vendor_pn
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_qsfp_vendor_sn
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_qsfp_vendor_date
	jmp	LBB0_3
LBB0_2:
	leaq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_sfp_vendor_name
	leaq	-92(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_sfp_vendor_pn
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_sfp_vendor_sn
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_get_sfp_vendor_date
LBB0_3:
	leaq	-92(%rbp), %r8
	leaq	-72(%rbp), %r9
	leaq	-52(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_snprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vendor: %s PN: %s SN: %s DATE: %s"

	.no_dead_strip	_print_sfp_vendor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_sfp_vendor
_print_sfp_vendor:                      ; @print_sfp_vendor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x22, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #20
	bl	_get_qsfp_vendor_name
	add	x1, x22, #20
	mov	x0, x21
	mov	w2, #20
	bl	_get_qsfp_vendor_pn
	add	x1, x22, #40
	mov	x0, x21
	mov	w2, #20
	bl	_get_qsfp_vendor_sn
	add	x1, x22, #60
	mov	x0, x21
	mov	w2, #20
	bl	_get_qsfp_vendor_date
	b	LBB0_3
LBB0_2:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #20
	bl	_get_sfp_vendor_name
	add	x1, x22, #20
	mov	x0, x21
	mov	w2, #20
	bl	_get_sfp_vendor_pn
	add	x1, x22, #40
	mov	x0, x21
	mov	w2, #20
	bl	_get_sfp_vendor_sn
	add	x1, x22, #60
	mov	x0, x21
	mov	w2, #20
	bl	_get_sfp_vendor_date
LBB0_3:
	add	x8, sp, #8
	add	x4, x8, #20
	add	x5, x8, #40
	add	x6, x8, #60
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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
	add	sp, sp, #144
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vendor: %s PN: %s SN: %s DATE: %s"

	.no_dead_strip	_print_sfp_vendor
.subsections_via_symbols
