	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_zone_create               ## -- Begin function tipc_zone_create
	.p2align	4, 0x90
_tipc_zone_create:                      ## @tipc_zone_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_tipc_addr_domain_valid
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_tipc_zone
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_tipc_addr
	movl	%eax, (%rbx)
	movq	_tipc_net@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, (%rax,%r14,8)
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_err
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Zone creation failed, invalid domain 0x%x\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"Zone creation failed, insufficient memory\n"

	.comm	_tipc_net,8,3                   ## @tipc_net
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_zone_create               ; -- Begin function tipc_zone_create
	.p2align	2
_tipc_zone_create:                      ; @tipc_zone_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_tipc_addr_domain_valid
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_tipc_zone
	mov	x20, x0
	mov	w1, #0
	mov	w2, #0
	bl	_tipc_addr
	str	w0, [x19]
Lloh3:
	adrp	x8, _tipc_net@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tipc_net@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x19, [x8, x20, lsl #3]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_err
	mov	x19, #0
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Zone creation failed, invalid domain 0x%x\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"Zone creation failed, insufficient memory\n"

	.comm	_tipc_net,8,3                   ; @tipc_net
.subsections_via_symbols
