	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipx_getname
_ipx_getname:                           ## @ipx_getname
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_ipx_sk
	movq	%rax, %r15
	movl	$40, (%r13)
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	40(%r15), %rax
	movq	%rax, -48(%rbp)
	movl	32(%r15), %eax
	movl	%eax, -64(%rbp)
	movq	24(%r15), %rsi
	movq	_IPX_NODE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_8
LBB0_4:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rsi
	movq	8(%rax), %rbx
	movq	_IPX_NODE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_7
LBB0_2:
	movq	_ENOTCONN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_6:
	movq	_IPX_NODE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_memset
LBB0_7:
	movq	%rbx, -48(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -64(%rbp)
LBB0_8:
	movq	_AF_IPX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	(%r15), %eax
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movl	$40, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_TCP_ESTABLISHED,8,3            ## @TCP_ESTABLISHED
	.comm	_IPX_NODE_LEN,4,2               ## @IPX_NODE_LEN
	.comm	_AF_IPX,4,2                     ## @AF_IPX
	.no_dead_strip	_ipx_getname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipx_getname
_ipx_getname:                           ; @ipx_getname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	ldr	x21, [x0]
	mov	x0, x21
	bl	_ipx_sk
	mov	x20, x0
	mov	w8, #40
	str	w8, [x23]
	cbz	w22, LBB0_3
; %bb.1:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _TCP_ESTABLISHED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x20, #40]
	str	x8, [sp, #40]
	ldr	w8, [x20, #32]
	str	w8, [sp, #24]
	ldr	x1, [x20, #24]
Lloh3:
	adrp	x8, _IPX_NODE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPX_NODE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_memcpy
	b	LBB0_8
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldp	x1, x21, [x8]
Lloh6:
	adrp	x8, _IPX_NODE_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPX_NODE_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcpy
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x8, _IPX_NODE_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPX_NODE_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	mov	x21, #0
LBB0_7:
	str	x21, [sp, #40]
	ldr	w8, [x20, #4]
	str	w8, [sp, #24]
LBB0_8:
Lloh15:
	adrp	x8, _AF_IPX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AF_IPX@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	ldr	w8, [x20]
	str	w8, [sp, #16]
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #40
	bl	_memcpy
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_TCP_ESTABLISHED,8,3            ; @TCP_ESTABLISHED
	.comm	_IPX_NODE_LEN,4,2               ; @IPX_NODE_LEN
	.comm	_AF_IPX,4,2                     ; @AF_IPX
	.no_dead_strip	_ipx_getname
.subsections_via_symbols
