	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_register_client           ## -- Begin function i40e_register_client
	.p2align	4, 0x90
_i40e_register_client:                  ## @i40e_register_client
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_registered_client@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.3:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_info
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_5:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_10
LBB0_6:
	movq	8(%rbx), %rcx
	movq	_I40E_CLIENT_VERSION_MAJOR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.7:
	movq	16(%rbx), %rcx
	movq	_I40E_CLIENT_VERSION_MINOR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:
	movq	%rbx, (%rax)
	movq	%rbx, %rdi
	callq	_i40e_client_prepare
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_12
LBB0_9:
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_info
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdx
	movl	24(%rbx), %ecx
	movq	_i40e_client_interface_version_str@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
LBB0_10:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_11:
	subl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i40e: Failed to register client with no name\n"

	.comm	_registered_client,8,3          ## @registered_client
L_.str.1:                               ## @.str.1
	.asciz	"i40e: Client %s has already been registered!\n"

	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_I40E_CLIENT_VERSION_MAJOR,8,3  ## @I40E_CLIENT_VERSION_MAJOR
	.comm	_I40E_CLIENT_VERSION_MINOR,8,3  ## @I40E_CLIENT_VERSION_MINOR
L_.str.2:                               ## @.str.2
	.asciz	"i40e: Failed to register client %s due to mismatched client interface version\n"

L_.str.3:                               ## @.str.3
	.asciz	"Client is using version: %02d.%02d.%02d while LAN driver supports %s\n"

	.comm	_i40e_client_interface_version_str,4,2 ## @i40e_client_interface_version_str
L_.str.4:                               ## @.str.4
	.asciz	"i40e: Registered client %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_register_client           ; -- Begin function i40e_register_client
	.p2align	2
_i40e_register_client:                  ; @i40e_register_client
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0]
	bl	_strlen
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _registered_client@GOTPAGE
Lloh1:
	ldr	x8, [x8, _registered_client@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
Lloh4:
	adrp	x8, _EEXIST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_5:
	ldr	x9, [x19, #8]
Lloh8:
	adrp	x10, _I40E_CLIENT_VERSION_MAJOR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _I40E_CLIENT_VERSION_MAJOR@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.6:
	ldr	x9, [x19, #16]
Lloh11:
	adrp	x10, _I40E_CLIENT_VERSION_MINOR@GOTPAGE
Lloh12:
	ldr	x10, [x10, _I40E_CLIENT_VERSION_MINOR@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.7:
	str	x19, [x8]
	mov	x0, x19
	bl	_i40e_client_prepare
	ldr	w8, [x19]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_info
	mov	w0, #0
	b	LBB0_12
LBB0_8:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_info
	ldp	x8, x9, [x19, #8]
Lloh18:
	adrp	x10, _i40e_client_interface_version_str@GOTPAGE
Lloh19:
	ldr	x10, [x10, _i40e_client_interface_version_str@GOTPAGEOFF]
	ldr	w11, [x19, #24]
Lloh20:
	ldr	w10, [x10]
	stp	x11, x10, [sp, #16]
	stp	x8, x9, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_9:
	bl	_pr_info
LBB0_10:
Lloh23:
	adrp	x8, _EIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i40e: Failed to register client with no name\n"

	.comm	_registered_client,8,3          ; @registered_client
l_.str.1:                               ; @.str.1
	.asciz	"i40e: Client %s has already been registered!\n"

	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_I40E_CLIENT_VERSION_MAJOR,8,3  ; @I40E_CLIENT_VERSION_MAJOR
	.comm	_I40E_CLIENT_VERSION_MINOR,8,3  ; @I40E_CLIENT_VERSION_MINOR
l_.str.2:                               ; @.str.2
	.asciz	"i40e: Failed to register client %s due to mismatched client interface version\n"

l_.str.3:                               ; @.str.3
	.asciz	"Client is using version: %02d.%02d.%02d while LAN driver supports %s\n"

	.comm	_i40e_client_interface_version_str,4,2 ; @i40e_client_interface_version_str
l_.str.4:                               ; @.str.4
	.asciz	"i40e: Registered client %s\n"

.subsections_via_symbols
