	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tipc_nameseq_create
_tipc_nameseq_create:                   ## @tipc_nameseq_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
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	movl	$1, %edi
	callq	_tipc_subseq_alloc
	movq	%rax, %r12
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	leaq	28(%rbx), %rdi
	callq	_spin_lock_init
	movl	%r15d, 24(%rbx)
	movq	%r12, 16(%rbx)
	movl	12(%rbx), %r8d
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	callq	_dbg
	movl	$1, (%rbx)
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_INIT_HLIST_NODE
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_hlist_add_head
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movq	%rbx, %rdi
	callq	_kfree
	movq	%r12, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Name sequence creation failed, no memory\n"

L_.str.1:                               ## @.str.1
	.asciz	"tipc_nameseq_create(): nseq = %p, type %u, ssseqs %p, ff: %u\n"

	.no_dead_strip	_tipc_nameseq_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tipc_nameseq_create
_tipc_nameseq_create:                   ; @tipc_nameseq_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	mov	w23, #1
	mov	w0, #1
	bl	_tipc_subseq_alloc
	mov	x22, x0
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	mov	x0, x19
	bl	_kfree
	mov	x0, x22
	bl	_kfree
	mov	x19, #0
	b	LBB0_3
LBB0_2:
	add	x0, x19, #28
	bl	_spin_lock_init
	str	w21, [x19, #24]
	str	x22, [x19, #16]
	ldr	w4, [x19, #12]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_dbg
	str	w23, [x19]
	add	x21, x19, #4
	mov	x0, x21
	bl	_INIT_HLIST_NODE
	add	x0, x19, #8
	bl	_INIT_LIST_HEAD
	mov	x0, x21
	mov	x1, x20
	bl	_hlist_add_head
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Name sequence creation failed, no memory\n"

l_.str.1:                               ; @.str.1
	.asciz	"tipc_nameseq_create(): nseq = %p, type %u, ssseqs %p, ff: %u\n"

	.no_dead_strip	_tipc_nameseq_create
.subsections_via_symbols
