	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acl_find_or_create
_acl_find_or_create:                    ## @acl_find_or_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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_UNBOUND_DNS_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %r8
	movq	%r15, %rdi
	callq	_netblockstrtoaddr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %ecx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_addr_tree_find
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %ecx
	movq	_acl_allow@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %r9d
	callq	_acl_list_insert
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_log_err
LBB0_5:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNBOUND_DNS_PORT,4,2           ## @UNBOUND_DNS_PORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse netblock: %s"

	.comm	_acl_allow,4,2                  ## @acl_allow
L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

	.no_dead_strip	_acl_find_or_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acl_find_or_create
_acl_find_or_create:                    ; @acl_find_or_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _UNBOUND_DNS_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNBOUND_DNS_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #20
	mov	x0, x20
	bl	_netblockstrtoaddr
	cbz	w0, LBB0_4
; %bb.1:
	ldp	w2, w3, [sp, #16]
	add	x1, sp, #24
	mov	x0, x19
	bl	_addr_tree_find
	cbnz	x0, LBB0_6
; %bb.2:
	ldp	w2, w3, [sp, #16]
Lloh3:
	adrp	x8, _acl_allow@GOTPAGE
Lloh4:
	ldr	x8, [x8, _acl_allow@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x1, sp, #24
	mov	x0, x19
	mov	w5, #1
	bl	_acl_list_insert
	cbnz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	_log_err
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_UNBOUND_DNS_PORT,4,2           ; @UNBOUND_DNS_PORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse netblock: %s"

	.comm	_acl_allow,4,2                  ; @acl_allow
l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

	.no_dead_strip	_acl_find_or_create
.subsections_via_symbols
