	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_NAME_ENTRY_set_data       ## -- Begin function X509_NAME_ENTRY_set_data
	.p2align	4, 0x90
_X509_NAME_ENTRY_set_data:              ## @X509_NAME_ENTRY_set_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	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.2:
	testl	%r13d, %r13d
	jne	LBB0_13
LBB0_3:
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.4:
	movq	_MBSTRING_FLAG@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movl	8(%rbx), %edi
	callq	_OBJ_obj2nid
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_ASN1_STRING_set_by_NID
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	jmp	LBB0_13
LBB0_6:
	testl	%r13d, %r13d
	jns	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r13d
LBB0_8:
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_ASN1_STRING_set
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movq	_V_ASN1_UNDEF@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpl	%r15d, (%rax)
	je	LBB0_13
## %bb.10:
	movq	_V_ASN1_APP_CHOOSE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_ASN1_PRINTABLE_type
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_13
LBB0_12:
	movq	(%rbx), %rax
	movl	%r15d, (%rax)
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBSTRING_FLAG,4,2              ## @MBSTRING_FLAG
	.comm	_V_ASN1_UNDEF,4,2               ## @V_ASN1_UNDEF
	.comm	_V_ASN1_APP_CHOOSE,4,2          ## @V_ASN1_APP_CHOOSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_NAME_ENTRY_set_data       ; -- Begin function X509_NAME_ENTRY_set_data
	.p2align	2
_X509_NAME_ENTRY_set_data:              ; @X509_NAME_ENTRY_set_data
	.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
	cbz	x0, LBB0_15
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cbnz	x2, LBB0_4
; %bb.2:
	cbz	w22, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_15
LBB0_4:
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.5:
Lloh0:
	adrp	x8, _MBSTRING_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBSTRING_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x19, #8]
	bl	_OBJ_obj2nid
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_ASN1_STRING_set_by_NID
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_15
LBB0_7:
	tbz	w22, #31, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
LBB0_9:
	ldr	x0, [x19]
	mov	x1, x21
	mov	x2, x22
	bl	_ASN1_STRING_set
	cbz	w0, LBB0_15
; %bb.10:
Lloh3:
	adrp	x8, _V_ASN1_UNDEF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_ASN1_UNDEF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.11:
Lloh6:
	adrp	x8, _V_ASN1_APP_CHOOSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V_ASN1_APP_CHOOSE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x21
	mov	x1, x22
	bl	_ASN1_PRINTABLE_type
	ldr	x8, [x19]
	str	w0, [x8]
	b	LBB0_14
LBB0_13:
	ldr	x8, [x19]
	str	w20, [x8]
LBB0_14:
	mov	w0, #1
LBB0_15:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MBSTRING_FLAG,4,2              ; @MBSTRING_FLAG
	.comm	_V_ASN1_UNDEF,4,2               ; @V_ASN1_UNDEF
	.comm	_V_ASN1_APP_CHOOSE,4,2          ; @V_ASN1_APP_CHOOSE
.subsections_via_symbols
