	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_ATTRIBUTE_set1_data       ## -- Begin function X509_ATTRIBUTE_set1_data
	.p2align	4, 0x90
_X509_ATTRIBUTE_set1_data:              ## @X509_ATTRIBUTE_set1_data
	.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
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.1:
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_MBSTRING_FLAG@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.2:
	movl	4(%r12), %edi
	callq	_OBJ_obj2nid
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ASN1_STRING_set_by_NID
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %rbx
	movl	(%rax), %r15d
	testl	%r14d, %r14d
	je	LBB0_8
LBB0_11:
	xorl	%eax, %eax
	callq	_ASN1_TYPE_new
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:
	movq	%rax, %rcx
	cmpl	$-1, %r13d
	jne	LBB0_14
## %bb.13:
	movq	_MBSTRING_FLAG@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_19
LBB0_14:
	movq	%rcx, %r13
	movq	%rcx, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_ASN1_TYPE_set
	xorl	%ebx, %ebx
LBB0_15:
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_sk_ASN1_TYPE_push
	movl	$1, %r15d
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_20
LBB0_4:
	cmpl	$-1, %r13d
	je	LBB0_10
## %bb.5:
	movl	%r14d, %edi
	callq	_ASN1_STRING_type_new
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_ASN1_STRING_set
	testl	%eax, %eax
	je	LBB0_18
## %bb.7:
	movl	%r14d, %r15d
	testl	%r14d, %r14d
	jne	LBB0_11
	jmp	LBB0_8
LBB0_9:
	movq	_X509_F_X509_ATTRIBUTE_SET1_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_ASN1_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509err
	jmp	LBB0_21
LBB0_18:
	xorl	%r13d, %r13d
	jmp	LBB0_20
LBB0_10:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	jne	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_ASN1_STRING_free
	movl	$1, %r15d
	jmp	LBB0_21
LBB0_17:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_20:
	movq	_X509_F_X509_ATTRIBUTE_SET1_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509err
	movq	%r13, %rdi
	callq	_ASN1_TYPE_free
	movq	%rbx, %rdi
	callq	_ASN1_STRING_free
	xorl	%r15d, %r15d
LBB0_21:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%rcx, %r13
	movq	%rcx, %rdi
	movl	%r14d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ASN1_TYPE_set1
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_MBSTRING_FLAG,4,2              ## @MBSTRING_FLAG
	.comm	_X509_F_X509_ATTRIBUTE_SET1_DATA,4,2 ## @X509_F_X509_ATTRIBUTE_SET1_DATA
	.comm	_ERR_R_ASN1_LIB,4,2             ## @ERR_R_ASN1_LIB
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_ATTRIBUTE_set1_data       ; -- Begin function X509_ATTRIBUTE_set1_data
	.p2align	2
_X509_ATTRIBUTE_set1_data:              ; @X509_ATTRIBUTE_set1_data
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_21
; %bb.1:
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _MBSTRING_FLAG@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MBSTRING_FLAG@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.2:
	ldr	w0, [x20, #4]
	bl	_OBJ_obj2nid
	mov	x4, x0
	mov	x0, #0
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_ASN1_STRING_set_by_NID
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
	ldr	w25, [x0]
	cbnz	w22, LBB0_12
	b	LBB0_8
LBB0_4:
	cmn	w23, #1
	b.eq	LBB0_11
; %bb.5:
	mov	x0, x22
	bl	_ASN1_STRING_type_new
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_ASN1_STRING_set
	cbz	w0, LBB0_10
; %bb.7:
	mov	x25, x22
	cbnz	w22, LBB0_12
LBB0_8:
	mov	x0, x19
	bl	_ASN1_STRING_free
	mov	w0, #1
	b	LBB0_21
LBB0_9:
Lloh2:
	adrp	x8, _X509_F_X509_ATTRIBUTE_SET1_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _X509_F_X509_ATTRIBUTE_SET1_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ERR_R_ASN1_LIB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_R_ASN1_LIB@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_X509err
	b	LBB0_20
LBB0_10:
	mov	x24, #0
	b	LBB0_19
LBB0_11:
	mov	x19, #0
	mov	w25, #0
	cbz	w22, LBB0_8
LBB0_12:
	bl	_ASN1_TYPE_new
	mov	x24, x0
	cbz	x0, LBB0_19
; %bb.13:
	cmn	w23, #1
	b.ne	LBB0_15
; %bb.14:
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_18
LBB0_15:
	mov	x0, x24
	mov	x1, x25
	mov	x2, x19
	bl	_ASN1_TYPE_set
	mov	x19, #0
LBB0_16:
	ldr	w0, [x20]
	mov	x1, x24
	bl	_sk_ASN1_TYPE_push
	cbz	w0, LBB0_19
; %bb.17:
	mov	w0, #1
	b	LBB0_21
LBB0_18:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	bl	_ASN1_TYPE_set1
	cbnz	w0, LBB0_16
LBB0_19:
Lloh8:
	adrp	x8, _X509_F_X509_ATTRIBUTE_SET1_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _X509_F_X509_ATTRIBUTE_SET1_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_X509err
	mov	x0, x24
	bl	_ASN1_TYPE_free
	mov	x0, x19
	bl	_ASN1_STRING_free
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MBSTRING_FLAG,4,2              ; @MBSTRING_FLAG
	.comm	_X509_F_X509_ATTRIBUTE_SET1_DATA,4,2 ; @X509_F_X509_ATTRIBUTE_SET1_DATA
	.comm	_ERR_R_ASN1_LIB,4,2             ; @ERR_R_ASN1_LIB
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
