	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efinet_probe
_efinet_probe:                          ## @efinet_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edi
	movq	_BS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_IH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_EFI_OPEN_PROTOCOL_EXCLUSIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_sn_guid@GOTPCREL(%rip), %rsi
	xorl	%r15d, %r15d
	leaq	-32(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	*(%rax)
	movq	%rax, %rbx
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_2
## %bb.1:
	movq	(%r14), %r14
	movq	%rbx, %rdi
	callq	_EFI_ERROR_CODE
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_printf
	movq	%rbx, %rdi
	callq	_efi_status_to_errno
	movl	%eax, %r15d
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BS,8,3                         ## @BS
	.comm	_sn_guid,4,2                    ## @sn_guid
	.comm	_IH,4,2                         ## @IH
	.comm	_EFI_OPEN_PROTOCOL_EXCLUSIVE,4,2 ## @EFI_OPEN_PROTOCOL_EXCLUSIVE
	.comm	_EFI_SUCCESS,8,3                ## @EFI_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to open network interface %d for exclusive access: %lu\n"

	.no_dead_strip	_efinet_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efinet_probe
_efinet_probe:                          ; @efinet_probe
	.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, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	w0, [x8, x9, lsl #2]
Lloh0:
	adrp	x8, _BS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IH@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
Lloh6:
	adrp	x9, _EFI_OPEN_PROTOCOL_EXCLUSIVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EFI_OPEN_PROTOCOL_EXCLUSIVE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x9]
Lloh9:
	adrp	x1, _sn_guid@GOTPAGE
Lloh10:
	ldr	x1, [x1, _sn_guid@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x4, #0
	blr	x8
Lloh11:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x0
	ldr	x19, [x19]
	bl	_EFI_ERROR_CODE
	mov	x2, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
	mov	x0, x20
	bl	_efi_status_to_errno
LBB0_3:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BS,8,3                         ; @BS
	.comm	_sn_guid,4,2                    ; @sn_guid
	.comm	_IH,4,2                         ; @IH
	.comm	_EFI_OPEN_PROTOCOL_EXCLUSIVE,4,2 ; @EFI_OPEN_PROTOCOL_EXCLUSIVE
	.comm	_EFI_SUCCESS,8,3                ; @EFI_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to open network interface %d for exclusive access: %lu\n"

	.no_dead_strip	_efinet_probe
.subsections_via_symbols
