	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibv_get_device_guid          ## -- Begin function __ibv_get_device_guid
	.p2align	4, 0x90
___ibv_get_device_guid:                 ## @__ibv_get_device_guid
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movl	$24, %ecx
	callq	_ibv_read_sysfs_file
	xorl	%ebx, %ebx
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	leaq	-60(%rbp), %rcx
	leaq	-56(%rbp), %r8
	leaq	-52(%rbp), %r9
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	callq	_sscanf
	cmpl	$4, %eax
	jne	LBB0_3
## %bb.2:
	movl	-56(%rbp), %edi
	shll	$16, %edi
	orl	-52(%rbp), %edi
	callq	_htobe64
	movl	%eax, %ebx
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"node_guid"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibv_get_device_guid          ; -- Begin function __ibv_get_device_guid
	.p2align	2
___ibv_get_device_guid:                 ; @__ibv_get_device_guid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	ldr	w0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #16
	mov	w3, #24
	bl	_ibv_read_sysfs_file
	tbnz	x0, #63, LBB0_3
; %bb.1:
	mov	x8, sp
	add	x3, x8, #4
	add	x4, x8, #8
	add	x5, x8, #12
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	mov	x2, sp
	bl	_sscanf
	cmp	w0, #4
	b.ne	LBB0_3
; %bb.2:
	ldp	w8, w9, [sp, #8]
	orr	w0, w9, w8, lsl #16
	bl	_htobe64
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldur	x8, [x29, #-8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"node_guid"

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

.subsections_via_symbols
