	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_name
_get_name:                              ## @get_name
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	8(%rdi), %edi
	callq	_tipc_sk
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.1:
	movq	(%r12), %rcx
	movq	_SS_CONNECTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.2:
	cmpl	$2, %r15d
	jne	LBB0_4
## %bb.3:
	movq	_SS_DISCONNECTING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
LBB0_5:
	movl	12(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_7
LBB0_6:
	movq	(%rax), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_tipc_ownidentity
LBB0_7:
	movl	$32, (%r14)
	movq	_TIPC_ADDR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_AF_TIPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	$0, (%rbx)
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOTCONN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_CONNECTED,8,3               ## @SS_CONNECTED
	.comm	_SS_DISCONNECTING,8,3           ## @SS_DISCONNECTING
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_TIPC_ADDR_ID,4,2               ## @TIPC_ADDR_ID
	.comm	_AF_TIPC,4,2                    ## @AF_TIPC
	.no_dead_strip	_get_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_name
_get_name:                              ; @get_name
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x0, #8]
	bl	_tipc_sk
	cbz	w21, LBB0_5
; %bb.1:
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _SS_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SS_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.2:
	cmp	w21, #2
	b.ne	LBB0_8
; %bb.3:
Lloh3:
	adrp	x9, _SS_DISCONNECTING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SS_DISCONNECTING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_4:
	ldr	d0, [x0, #8]
	str	d0, [x19, #8]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x0]
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_tipc_ownidentity
LBB0_6:
	mov	w0, #0
	mov	w8, #32
	str	w8, [x20]
Lloh6:
	adrp	x8, _TIPC_ADDR_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIPC_ADDR_ID@GOTPAGEOFF]
Lloh8:
	adrp	x9, _AF_TIPC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AF_TIPC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	str	xzr, [x19, #16]
	str	xzr, [x19]
LBB0_7:
	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_8:
Lloh12:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_CONNECTED,8,3               ; @SS_CONNECTED
	.comm	_SS_DISCONNECTING,8,3           ; @SS_DISCONNECTING
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_TIPC_ADDR_ID,4,2               ; @TIPC_ADDR_ID
	.comm	_AF_TIPC,4,2                    ; @AF_TIPC
	.no_dead_strip	_get_name
.subsections_via_symbols
