	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_ALGOR_set0                ## -- Begin function X509_ALGOR_set0
	.p2align	4, 0x90
_X509_ALGOR_set0:                       ## @X509_ALGOR_set0
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_V_ASN1_UNDEF@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_5
## %bb.3:
	cmpq	$0, (%rbx)
	jne	LBB0_5
## %bb.4:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_ASN1_TYPE_new
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:
	movq	8(%rbx), %rdi
	callq	_ASN1_OBJECT_free
	movq	%r13, 8(%rbx)
	movl	$1, %r12d
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.6:
	movq	(%rbx), %rdi
	movq	_V_ASN1_UNDEF@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_8
## %bb.7:
	callq	_ASN1_TYPE_free
	movq	$0, (%rbx)
	jmp	LBB0_9
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_8:
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_ASN1_TYPE_set
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_UNDEF,4,2               ## @V_ASN1_UNDEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_ALGOR_set0                ; -- Begin function X509_ALGOR_set0
	.p2align	2
_X509_ALGOR_set0:                       ; @X509_ALGOR_set0
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _V_ASN1_UNDEF@GOTPAGE
Lloh1:
	ldr	x23, [x23, _V_ASN1_UNDEF@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w2
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.3:
	bl	_ASN1_TYPE_new
	str	x0, [x20]
	cbz	x0, LBB0_9
LBB0_4:
	ldr	x0, [x20, #8]
	bl	_ASN1_OBJECT_free
	str	x22, [x20, #8]
	cbz	w21, LBB0_8
; %bb.5:
	ldr	w8, [x23]
	ldr	x0, [x20]
	cmp	w8, w21
	b.ne	LBB0_7
; %bb.6:
	bl	_ASN1_TYPE_free
	str	xzr, [x20]
	b	LBB0_8
LBB0_7:
	mov	x1, x21
	mov	x2, x19
	bl	_ASN1_TYPE_set
LBB0_8:
	mov	w0, #1
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_UNDEF,4,2               ; @V_ASN1_UNDEF
.subsections_via_symbols
