	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_TYPE_set                  ## -- Begin function ASN1_TYPE_set
	.p2align	4, 0x90
_ASN1_TYPE_set:                         ## @ASN1_TYPE_set
	.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
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, -32(%rbp)
	movl	(%rdi), %eax
	movq	_V_ASN1_BOOLEAN@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	je	LBB0_4
## %bb.1:
	movq	_V_ASN1_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.2:
	cmpq	$0, 16(%rdi)
	je	LBB0_4
## %bb.3:
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_asn1_primitive_free
	movq	-32(%rbp), %rdi
LBB0_4:
	movl	%ebx, (%rdi)
	cmpl	%ebx, (%r15)
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	testq	%r14, %r14
	movl	$255, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 8(%rdi)
	jmp	LBB0_7
LBB0_6:
	movq	%r14, 16(%rdi)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_BOOLEAN,4,2             ## @V_ASN1_BOOLEAN
	.comm	_V_ASN1_NULL,4,2                ## @V_ASN1_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_TYPE_set                  ; -- Begin function ASN1_TYPE_set
	.p2align	2
_ASN1_TYPE_set:                         ; @ASN1_TYPE_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	str	x0, [sp, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _V_ASN1_BOOLEAN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _V_ASN1_BOOLEAN@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh2:
	adrp	x10, _V_ASN1_NULL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _V_ASN1_NULL@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, sp, #8
	mov	x1, #0
	mov	w2, #0
	bl	_asn1_primitive_free
	ldr	x0, [sp, #8]
LBB0_3:
	str	w20, [x0]
	ldr	w8, [x21]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.4:
	cmp	x19, #0
	mov	w8, #255
	csel	w8, wzr, w8, eq
	str	w8, [x0, #8]
	b	LBB0_6
LBB0_5:
	str	x19, [x0, #16]
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_BOOLEAN,4,2             ; @V_ASN1_BOOLEAN
	.comm	_V_ASN1_NULL,4,2                ; @V_ASN1_NULL
.subsections_via_symbols
