	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_policy_data_new                ## -- Begin function policy_data_new
	.p2align	4, 0x90
_policy_data_new:                       ## @policy_data_new
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rdi, %r14
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_17
LBB0_3:
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.4:
	movq	%rsi, %rdi
	callq	_OBJ_dup
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_17
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movl	$32, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_sk_ASN1_OBJECT_new_null
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:
	movq	_POLICY_DATA_FLAG_CRITICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_11:
	testq	%r15, %r15
	jne	LBB0_13
## %bb.12:
	movq	8(%r14), %r15
	movq	$0, 8(%r14)
LBB0_13:
	movq	%r15, 8(%rbx)
	testq	%r14, %r14
	je	LBB0_18
## %bb.14:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	$0, (%r14)
	jmp	LBB0_18
LBB0_15:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	movq	%r15, %rdi
	callq	_ASN1_OBJECT_free
LBB0_16:
	movq	_X509V3_F_POLICY_DATA_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509V3err
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509V3_F_POLICY_DATA_NEW,4,2   ## @X509V3_F_POLICY_DATA_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_POLICY_DATA_FLAG_CRITICAL,4,2  ## @POLICY_DATA_FLAG_CRITICAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_policy_data_new                ; -- Begin function policy_data_new
	.p2align	2
_policy_data_new:                       ; @policy_data_new
	.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	x22, x2
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.1:
	cbnz	x1, LBB0_4
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x0, x20
	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
LBB0_4:
	cbz	x1, LBB0_6
; %bb.5:
	mov	x0, x1
	bl	_OBJ_dup
	mov	x21, x0
	cbnz	x0, LBB0_7
	b	LBB0_2
LBB0_6:
	mov	x21, #0
LBB0_7:
	mov	w0, #32
	bl	_OPENSSL_zalloc
	mov	x20, x0
	cbz	x0, LBB0_15
; %bb.8:
	bl	_sk_ASN1_OBJECT_new_null
	str	x0, [x20, #24]
	cbz	x0, LBB0_16
; %bb.9:
	cbz	w22, LBB0_11
; %bb.10:
Lloh0:
	adrp	x8, _POLICY_DATA_FLAG_CRITICAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POLICY_DATA_FLAG_CRITICAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #16]
LBB0_11:
	cbnz	x21, LBB0_13
; %bb.12:
	ldr	x21, [x19, #8]
	str	xzr, [x19, #8]
LBB0_13:
	str	x21, [x20, #8]
	cbz	x19, LBB0_3
; %bb.14:
	ldr	x8, [x19]
	str	x8, [x20]
	str	xzr, [x19]
	b	LBB0_3
LBB0_15:
Lloh3:
	adrp	x8, _X509V3_F_POLICY_DATA_NEW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509V3_F_POLICY_DATA_NEW@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_3
LBB0_16:
	mov	x0, x20
	bl	_OPENSSL_free
	mov	x0, x21
	bl	_ASN1_OBJECT_free
Lloh9:
	adrp	x8, _X509V3_F_POLICY_DATA_NEW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X509V3_F_POLICY_DATA_NEW@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
	b	LBB0_2
	.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_POLICY_DATA_NEW,4,2   ; @X509V3_F_POLICY_DATA_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_POLICY_DATA_FLAG_CRITICAL,4,2  ; @POLICY_DATA_FLAG_CRITICAL
.subsections_via_symbols
