	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addBag
_addBag:                                ## @addBag
	.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
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	8(%rsi), %rdi
	movl	(%rsi), %esi
	shll	$4, %esi
	addl	$16, %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, 8(%r13)
	movslq	(%r13), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	callq	_der_copy_oid
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_hx509_set_error_string
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	movq	8(%r13), %rdx
	movslq	(%r13), %rcx
	movq	%rcx, %rsi
	shlq	$4, %rsi
	movq	%rax, (%rdx,%rsi)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r12, 8(%rax)
	movq	%r15, (%rax)
	incl	%ecx
	movl	%ecx, (%r13)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	leaq	(%rdx,%rsi), %rdi
	addq	$8, %rdi
	callq	_der_free_oid
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
LBB0_2:
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movl	(%rbx), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"malloc out of memory"

	.no_dead_strip	_addBag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addBag
_addBag:                                ; @addBag
	.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	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x1, #8]
	ldr	w8, [x1]
	lsl	w8, w8, #4
	add	w1, w8, #16
	bl	_realloc
	cbz	x0, LBB0_3
; %bb.1:
	str	x0, [x21, #8]
	ldrsw	x8, [x21]
	add	x8, x0, x8, lsl #4
	add	x1, x8, #8
	mov	x0, x23
	bl	_der_copy_oid
	cbz	w0, LBB0_4
; %bb.2:
	mov	x23, x0
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	x2, x23
	bl	_hx509_set_error_string
	b	LBB0_8
LBB0_3:
Lloh2:
	adrp	x20, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ENOMEM@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	ldr	x9, [x21, #8]
	ldrsw	x8, [x21]
	lsl	x10, x8, #4
	str	x0, [x9, x10]
	cbz	x0, LBB0_6
; %bb.5:
	mov	w23, #0
	stp	x20, x22, [x0]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_8
LBB0_6:
	add	x8, x9, x8, lsl #4
	add	x0, x8, #8
	bl	_der_free_oid
Lloh6:
	adrp	x20, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ENOMEM@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	mov	w1, #0
	bl	_hx509_set_error_string
	ldr	w23, [x20]
LBB0_8:
	mov	x0, x23
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"malloc out of memory"

	.no_dead_strip	_addBag
.subsections_via_symbols
