	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_lifs_register            ## -- Begin function ionic_lifs_register
	.p2align	4, 0x90
_ionic_lifs_register:                   ## @ionic_lifs_register
	.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
	movq	%rdi, %rbx
	addq	$24, %rdi
	movq	_ionic_lif_notify_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_ionic_lif_notify@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	16(%rbx), %r14
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_register_netdevice_notifier
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	$0, (%r14)
LBB0_2:
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_register_netdev
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_5
LBB0_4:
	movq	(%rbx), %rdi
	callq	_ionic_link_status_check_request
	movq	(%rbx), %rax
	movl	$1, (%rax)
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ionic_lif_notify_work,4,2      ## @ionic_lif_notify_work
	.comm	_ionic_lif_notify,8,3           ## @ionic_lif_notify
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot register net device, aborting\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_lifs_register            ; -- Begin function ionic_lifs_register
	.p2align	2
_ionic_lifs_register:                   ; @ionic_lifs_register
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #24
Lloh0:
	adrp	x8, _ionic_lif_notify_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ionic_lif_notify_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh3:
	adrp	x8, _ionic_lif_notify@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ionic_lif_notify@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	x20, x19
	str	x8, [x20, #16]!
	mov	x0, x20
	bl	_register_netdevice_notifier
	cbz	w0, LBB0_2
; %bb.1:
	str	xzr, [x20]
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	bl	_register_netdev
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_5
LBB0_4:
	ldr	x0, [x19]
	bl	_ionic_link_status_check_request
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ionic_lif_notify_work,4,2      ; @ionic_lif_notify_work
	.comm	_ionic_lif_notify,8,3           ; @ionic_lif_notify
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot register net device, aborting\n"

.subsections_via_symbols
