	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipxitf_auto_create
_ipxitf_auto_create:                    ## @ipxitf_auto_create
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_IPX_NODE_LEN@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jg	LBB0_7
## %bb.4:
	movl	%esi, %r14d
	movl	%esi, %edi
	callq	_ntohs
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.5:
	cltq
	leaq	l_switch.table.ipxitf_auto_create(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %r9
	addq	16(%r15), %r9
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	callq	_ipxitf_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r14
	movq	8(%rax), %rdi
	movq	(%r12), %rdx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r12), %rdi
	movq	(%r15), %rdx
	subq	%rdx, %rdi
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	movl	8(%r15), %esi
	callq	_memcpy
	movq	%r14, %rdi
	addq	$4, %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	%r14, %rdi
	callq	_ipxitf_insert
	movq	%r15, %rdi
	callq	_dev_hold
	movq	%r14, %rbx
	jmp	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPX_NODE_LEN,8,3               ## @IPX_NODE_LEN
	.comm	_pEII_datalink,8,3              ## @pEII_datalink
	.comm	_p8022_datalink,8,3             ## @p8022_datalink
	.comm	_pSNAP_datalink,8,3             ## @pSNAP_datalink
	.comm	_p8023_datalink,8,3             ## @p8023_datalink
	.no_dead_strip	_ipxitf_auto_create
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ipxitf_auto_create
l_switch.table.ipxitf_auto_create:
	.quad	_pSNAP_datalink
	.quad	_pEII_datalink
	.quad	_p8023_datalink
	.quad	_p8022_datalink

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipxitf_auto_create
_ipxitf_auto_create:                    ; @ipxitf_auto_create
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _IPX_NODE_LEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IPX_NODE_LEN@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.gt	LBB0_5
; %bb.2:
	mov	x20, x1
	mov	x0, x1
	bl	_ntohs
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.3:
Lloh2:
	adrp	x9, l_switch.table.ipxitf_auto_create@PAGE
Lloh3:
	add	x9, x9, l_switch.table.ipxitf_auto_create@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x3, [x8]
	ldr	x8, [x19, #16]
	ldr	x9, [x3]
	add	x5, x9, x8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w4, #0
	bl	_ipxitf_alloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x0, [x20, #8]
	ldr	x2, [x21]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20, #8]
	ldr	x9, [x21]
	ldr	x2, [x19]
	sub	x9, x9, x2
	add	x0, x8, x9, lsl #2
	ldr	w1, [x19, #8]
	bl	_memcpy
	add	x0, x20, #4
	bl	_spin_lock_init
	mov	x0, x20
	mov	w1, #1
	bl	_atomic_set
	mov	x0, x20
	bl	_ipxitf_insert
	mov	x0, x19
	bl	_dev_hold
	b	LBB0_6
LBB0_5:
	mov	x20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IPX_NODE_LEN,8,3               ; @IPX_NODE_LEN
	.comm	_pEII_datalink,8,3              ; @pEII_datalink
	.comm	_p8022_datalink,8,3             ; @p8022_datalink
	.comm	_pSNAP_datalink,8,3             ; @pSNAP_datalink
	.comm	_p8023_datalink,8,3             ; @p8023_datalink
	.no_dead_strip	_ipxitf_auto_create
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ipxitf_auto_create
l_switch.table.ipxitf_auto_create:
	.quad	_pSNAP_datalink
	.quad	_pEII_datalink
	.quad	_p8023_datalink
	.quad	_p8022_datalink

.subsections_via_symbols
