	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_level_add_node                 ## -- Begin function level_add_node
	.p2align	4, 0x90
_level_add_node:                        ## @level_add_node
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	$24, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, 16(%rax)
	movq	%r14, 8(%rax)
	testq	%r13, %r13
	je	LBB0_9
## %bb.3:
	movl	(%r15), %edi
	callq	_OBJ_obj2nid
	movq	_NID_any_policy@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	cmpq	$0, 8(%r13)
	jne	LBB0_16
## %bb.5:
	movq	%rbx, 8(%r13)
	jmp	LBB0_9
LBB0_1:
	movq	_X509V3_F_LEVEL_ADD_NODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509V3err
	jmp	LBB0_17
LBB0_6:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_policy_node_cmp_new
	movq	%rax, %rdi
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_15
LBB0_8:
	movq	%rbx, %rsi
	callq	_sk_X509_POLICY_NODE_push
	testl	%eax, %eax
	je	LBB0_15
LBB0_9:
	testq	%r12, %r12
	je	LBB0_13
## %bb.10:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_sk_X509_POLICY_DATA_new_null
	movq	%rax, %rdi
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:
	movq	%r15, %rsi
	callq	_sk_X509_POLICY_DATA_push
	testl	%eax, %eax
	je	LBB0_15
LBB0_13:
	testq	%r14, %r14
	je	LBB0_18
## %bb.14:
	incl	(%r14)
	jmp	LBB0_18
LBB0_15:
	movq	_X509V3_F_LEVEL_ADD_NODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509V3err
LBB0_16:
	movq	%rbx, %rdi
	callq	_policy_node_free
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509V3_F_LEVEL_ADD_NODE,4,2    ## @X509V3_F_LEVEL_ADD_NODE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_NID_any_policy,8,3             ## @NID_any_policy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_level_add_node                 ; -- Begin function level_add_node
	.p2align	2
_level_add_node:                        ; @level_add_node
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	mov	w0, #24
	bl	_OPENSSL_zalloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	stp	x20, x21, [x19, #8]
	cbz	x23, LBB0_9
; %bb.2:
	ldr	w0, [x21]
	bl	_OBJ_obj2nid
Lloh0:
	adrp	x8, _NID_any_policy@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_any_policy@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_16
; %bb.4:
	str	x19, [x23, #8]
	b	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _X509V3_F_LEVEL_ADD_NODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509V3_F_LEVEL_ADD_NODE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_X509V3err
	b	LBB0_17
LBB0_6:
	ldr	x0, [x23]
	cbnz	x0, LBB0_8
; %bb.7:
	bl	_policy_node_cmp_new
	str	x0, [x23]
	cbz	x0, LBB0_15
LBB0_8:
	mov	x1, x19
	bl	_sk_X509_POLICY_NODE_push
	cbz	w0, LBB0_15
LBB0_9:
	cbz	x22, LBB0_13
; %bb.10:
	ldr	x0, [x22]
	cbnz	x0, LBB0_12
; %bb.11:
	bl	_sk_X509_POLICY_DATA_new_null
	str	x0, [x22]
	cbz	x0, LBB0_15
LBB0_12:
	mov	x1, x21
	bl	_sk_X509_POLICY_DATA_push
	cbz	w0, LBB0_15
LBB0_13:
	cbz	x20, LBB0_17
; %bb.14:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_17
LBB0_15:
Lloh9:
	adrp	x8, _X509V3_F_LEVEL_ADD_NODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X509V3_F_LEVEL_ADD_NODE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_X509V3err
LBB0_16:
	mov	x0, x19
	bl	_policy_node_free
	mov	x19, #0
LBB0_17:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_X509V3_F_LEVEL_ADD_NODE,4,2    ; @X509V3_F_LEVEL_ADD_NODE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_NID_any_policy,8,3             ; @NID_any_policy
.subsections_via_symbols
