	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_createport_raw            ## -- Begin function tipc_createport_raw
	.p2align	4, 0x90
_tipc_createport_raw:                   ## @tipc_createport_raw
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$104, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	48(%rax), %rsi
	movq	%rax, %rdi
	callq	_tipc_ref_acquire
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r13
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %r14
	movq	%r12, 40(%rbx)
	movq	_MAX_PKT_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r13, 24(%rbx)
	movq	_TIPC_NAMED_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LONG_H_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	callq	_msg_init
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_msg_set_origport
	movabsq	$4294967337, %rax               ## imm = 0x100000029
	movq	%rax, (%rbx)
	leaq	100(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	96(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	$0, 88(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 80(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	$0, 72(%rbx)
	leaq	64(%rbx), %rdi
	movq	_port_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_k_init_timer
	movq	_tipc_port_list_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	leaq	60(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	addq	$56, %rbx
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	_ports@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movq	%rbx, %rdi
	callq	_kfree
LBB0_5:
	xorl	%r14d, %r14d
LBB0_6:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"Port creation failed, no memory\n"

L_.str.1:                               ## @.str.1
	.asciz	"Port creation failed, reference table exhausted\n"

	.comm	_MAX_PKT_DEFAULT,4,2            ## @MAX_PKT_DEFAULT
	.comm	_TIPC_NAMED_MSG,4,2             ## @TIPC_NAMED_MSG
	.comm	_LONG_H_SIZE,4,2                ## @LONG_H_SIZE
	.comm	_port_timeout,8,3               ## @port_timeout
	.comm	_tipc_port_list_lock,4,2        ## @tipc_port_list_lock
	.comm	_ports,4,2                      ## @ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tipc_createport_raw
lCPI0_0:
	.long	41                              ; 0x29
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_tipc_createport_raw
	.p2align	2
_tipc_createport_raw:                   ; @tipc_createport_raw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #104
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, x0, #48
	bl	_tipc_ref_acquire
	cbz	x0, LBB0_4
; %bb.2:
	mov	x23, x0
	add	x20, x19, #16
	str	x25, [x19, #40]
Lloh3:
	adrp	x8, _MAX_PKT_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PKT_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	x0, [x19, #24]
Lloh6:
	adrp	x8, _TIPC_NAMED_MSG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIPC_NAMED_MSG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _LONG_H_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LONG_H_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x24
	mov	w4, #0
	bl	_msg_init
	mov	x0, x20
	mov	x1, x23
	bl	_msg_set_origport
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	add	x0, x19, #100
	bl	_INIT_LIST_HEAD
	add	x0, x19, #96
	bl	_INIT_LIST_HEAD
	stp	x22, xzr, [x19, #80]
	str	x21, [x19, #8]
	str	xzr, [x19, #72]
	add	x0, x19, #64
Lloh14:
	adrp	x8, _port_timeout@GOTPAGE
Lloh15:
	ldr	x8, [x8, _port_timeout@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, x23
	bl	_k_init_timer
Lloh17:
	adrp	x21, _tipc_port_list_lock@GOTPAGE
Lloh18:
	ldr	x21, [x21, _tipc_port_list_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_bh
	add	x0, x19, #60
	bl	_INIT_LIST_HEAD
	add	x19, x19, #56
	mov	x0, x19
	bl	_INIT_LIST_HEAD
Lloh19:
	adrp	x1, _ports@GOTPAGE
Lloh20:
	ldr	x1, [x1, _ports@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add_tail
	mov	x0, x21
	bl	_spin_unlock_bh
	b	LBB0_6
LBB0_3:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_5
LBB0_4:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	mov	x0, x19
	bl	_kfree
LBB0_5:
	mov	x20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Port creation failed, no memory\n"

l_.str.1:                               ; @.str.1
	.asciz	"Port creation failed, reference table exhausted\n"

	.comm	_MAX_PKT_DEFAULT,4,2            ; @MAX_PKT_DEFAULT
	.comm	_TIPC_NAMED_MSG,4,2             ; @TIPC_NAMED_MSG
	.comm	_LONG_H_SIZE,4,2                ; @LONG_H_SIZE
	.comm	_port_timeout,8,3               ; @port_timeout
	.comm	_tipc_port_list_lock,4,2        ; @tipc_port_list_lock
	.comm	_ports,4,2                      ; @ports
.subsections_via_symbols
