	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipxitf_create_internal
_ipxitf_create_internal:                ## @ipxitf_create_internal
	.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
	xorl	%ebx, %ebx
	movq	_ipx_primary_net@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_2
## %bb.1:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_2:
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.4:
	callq	_ipxitf_find_using_net
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r14
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_6:
	movl	4(%r15), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_ipxitf_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r14
	movl	(%r15), %esi
	movq	_IPX_NODE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_memcpy
	movq	%r14, (%r12)
	movq	_ipx_internal_net@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	movq	%r14, %rdi
	callq	_ipxitf_hold
	movq	%r14, %rdi
	callq	_ipxitf_insert
	movq	%r14, %rdi
	callq	_ipxitf_add_local_route
	movl	%eax, %ebx
LBB0_9:
	movq	%r14, %rdi
	callq	_ipxitf_put
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ipx_primary_net,8,3            ## @ipx_primary_net
	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_IPX_NODE_LEN,4,2               ## @IPX_NODE_LEN
	.comm	_ipx_internal_net,8,3           ## @ipx_internal_net
	.no_dead_strip	_ipxitf_create_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipxitf_create_internal
_ipxitf_create_internal:                ; @ipxitf_create_internal
	.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
Lloh0:
	adrp	x21, _ipx_primary_net@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ipx_primary_net@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _EEXIST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_3:
	mov	x20, x0
	ldr	w0, [x0, #4]
	cbz	w0, LBB0_6
; %bb.4:
	bl	_ipxitf_find_using_net
	cbz	x0, LBB0_7
; %bb.5:
	mov	x19, x0
Lloh4:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_9
LBB0_6:
Lloh7:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
	ldr	w1, [x20, #4]
	mov	w2, #0
	mov	x3, #0
	mov	w4, #1
	mov	w5, #0
	bl	_ipxitf_alloc
	cbz	x0, LBB0_11
; %bb.8:
	mov	x19, x0
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _IPX_NODE_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPX_NODE_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memcpy
	str	x19, [x21]
Lloh12:
	adrp	x8, _ipx_internal_net@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ipx_internal_net@GOTPAGEOFF]
Lloh14:
	str	x19, [x8]
	mov	x0, x19
	bl	_ipxitf_hold
	mov	x0, x19
	bl	_ipxitf_insert
	mov	x0, x19
	bl	_ipxitf_add_local_route
	mov	x20, x0
LBB0_9:
	mov	x0, x19
	bl	_ipxitf_put
LBB0_10:
	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
LBB0_11:
Lloh15:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ipx_primary_net,8,3            ; @ipx_primary_net
	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_IPX_NODE_LEN,4,2               ; @IPX_NODE_LEN
	.comm	_ipx_internal_net,8,3           ; @ipx_internal_net
	.no_dead_strip	_ipxitf_create_internal
.subsections_via_symbols
