	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zones_create              ## -- Begin function auth_zones_create
	.p2align	4, 0x90
_auth_zones_create:                     ## @auth_zones_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %edi
	movl	$12, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	8(%rax), %r14
	movq	_auth_zone_cmp@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_rbtree_init
	movq	_auth_xfer_cmp@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_rbtree_init
	movq	%r15, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_lock_rw_init
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_lock_protect
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_lock_protect
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

	.comm	_auth_zone_cmp,4,2              ## @auth_zone_cmp
	.comm	_auth_xfer_cmp,4,2              ## @auth_xfer_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_zones_create              ; -- Begin function auth_zones_create
	.p2align	2
_auth_zones_create:                     ; @auth_zones_create
	.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	w0, #1
	mov	w1, #12
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x20, x19, #8
Lloh0:
	adrp	x1, _auth_zone_cmp@GOTPAGE
Lloh1:
	ldr	x1, [x1, _auth_zone_cmp@GOTPAGEOFF]
	mov	x0, x20
	bl	_rbtree_init
Lloh2:
	adrp	x1, _auth_xfer_cmp@GOTPAGE
Lloh3:
	ldr	x1, [x1, _auth_xfer_cmp@GOTPAGEOFF]
	mov	x0, x19
	bl	_rbtree_init
	add	x21, x19, #4
	mov	x0, x21
	bl	_lock_rw_init
	mov	x0, x21
	mov	x1, x20
	mov	w2, #4
	bl	_lock_protect
	mov	x0, x21
	mov	x1, x19
	mov	w2, #4
	bl	_lock_protect
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_3:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

	.comm	_auth_zone_cmp,4,2              ; @auth_zone_cmp
	.comm	_auth_xfer_cmp,4,2              ; @auth_xfer_cmp
.subsections_via_symbols
