	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_item_flags_i2d
_asn1_item_flags_i2d:                   ## @asn1_item_flags_i2d
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_2
LBB0_6:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	$-1, %ecx
	movl	%r14d, %r8d
	callq	_ASN1_item_ex_i2d
	movl	%eax, %r12d
LBB0_7:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movl	$-1, %ecx
	movl	%r14d, %r8d
	callq	_ASN1_item_ex_i2d
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	movl	%r12d, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movq	%rax, -56(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdx
	movl	$-1, %ecx
	movl	%r14d, %r8d
	callq	_ASN1_item_ex_i2d
	movq	%r13, (%rbx)
	jmp	LBB0_7
LBB0_4:
	movq	_ASN1_F_ASN1_ITEM_FLAGS_I2D@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	movl	$-1, %r12d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_F_ASN1_ITEM_FLAGS_I2D,4,2 ## @ASN1_F_ASN1_ITEM_FLAGS_I2D
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_asn1_item_flags_i2d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_item_flags_i2d
_asn1_item_flags_i2d:                   ; @asn1_item_flags_i2d
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	str	x0, [sp, #8]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
LBB0_2:
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x21
	mov	w3, #-1
	mov	x4, x19
	bl	_ASN1_item_ex_i2d
	mov	x22, x0
LBB0_3:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
LBB0_4:
	add	x0, sp, #8
	mov	x1, #0
	mov	x2, x21
	mov	w3, #-1
	mov	x4, x19
	bl	_ASN1_item_ex_i2d
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.5:
	mov	x0, x22
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_7
; %bb.6:
	mov	x23, x0
	str	x0, [sp]
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x21
	mov	w3, #-1
	mov	x4, x19
	bl	_ASN1_item_ex_i2d
	str	x23, [x20]
	b	LBB0_3
LBB0_7:
Lloh0:
	adrp	x8, _ASN1_F_ASN1_ITEM_FLAGS_I2D@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_F_ASN1_ITEM_FLAGS_I2D@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	_ASN1err
	mov	w22, #-1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_F_ASN1_ITEM_FLAGS_I2D,4,2 ; @ASN1_F_ASN1_ITEM_FLAGS_I2D
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_asn1_item_flags_i2d
.subsections_via_symbols
