	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_ATTRIBUTE_create_by_OBJ   ## -- Begin function X509_ATTRIBUTE_create_by_OBJ
	.p2align	4, 0x90
_X509_ATTRIBUTE_create_by_OBJ:          ## @X509_ATTRIBUTE_create_by_OBJ
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_2:
	xorl	%eax, %eax
	callq	_X509_ATTRIBUTE_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_X509_ATTRIBUTE_set1_object
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_X509_ATTRIBUTE_set1_data
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	testq	%r14, %r14
	je	LBB0_13
## %bb.7:
	cmpq	$0, (%r14)
	jne	LBB0_13
## %bb.8:
	movq	%rbx, (%r14)
	jmp	LBB0_13
LBB0_9:
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	cmpq	(%r14), %rbx
	je	LBB0_12
LBB0_11:
	movq	%rbx, %rdi
	callq	_X509_ATTRIBUTE_free
	jmp	LBB0_12
LBB0_3:
	movq	_X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509err
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ,4,2 ## @X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ
	.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_create_by_OBJ   ; -- Begin function X509_ATTRIBUTE_create_by_OBJ
	.p2align	2
_X509_ATTRIBUTE_create_by_OBJ:          ; @X509_ATTRIBUTE_create_by_OBJ
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x19, [x20]
	cbnz	x19, LBB0_3
LBB0_2:
	bl	_X509_ATTRIBUTE_new
	mov	x19, x0
	cbz	x0, LBB0_12
LBB0_3:
	mov	x0, x19
	mov	x1, x24
	bl	_X509_ATTRIBUTE_set1_object
	cbz	w0, LBB0_8
; %bb.4:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_X509_ATTRIBUTE_set1_data
	cbz	w0, LBB0_8
; %bb.5:
	cbz	x20, LBB0_13
; %bb.6:
	ldr	x8, [x20]
	cbnz	x8, LBB0_13
; %bb.7:
	str	x19, [x20]
	b	LBB0_13
LBB0_8:
	cbz	x20, LBB0_10
; %bb.9:
	ldr	x8, [x20]
	cmp	x19, x8
	b.eq	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_X509_ATTRIBUTE_free
LBB0_11:
	mov	x19, #0
	b	LBB0_13
LBB0_12:
Lloh0:
	adrp	x8, _X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_X509err
LBB0_13:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ,4,2 ; @X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
